code: func (g *Cloud) AddRuletoBetaSecurityPolicy(name string, spr *computebeta.SecurityPolicyRule) error {
  	ctx, cancel := cloud.ContextWithCallTimeout()
  	defer cancel()
  
  	mc := newSecurityPolicyMetricContextWithVersion("add_rule", computeBetaVersion)
  	return mc.Observe(g.c.BetaSecurityPolicies().AddRule(ctx, meta.GlobalKey(name), spr))
  }
docs: // AddRuletoBetaSecurityPolicy adds the given security policy rule to
  // a security policy.