code: func (g *Cloud) GetRuleForBetaSecurityPolicy(name string) (*computebeta.SecurityPolicyRule, error) {
  	ctx, cancel := cloud.ContextWithCallTimeout()
  	defer cancel()
  
  	mc := newSecurityPolicyMetricContextWithVersion("get_rule", computeBetaVersion)
  	v, err := g.c.BetaSecurityPolicies().GetRule(ctx, meta.GlobalKey(name))
  	return v, mc.Observe(err)
  }
docs: // GetRuleForBetaSecurityPolicy gets rule from a security policy.