code: func (cat *catalog) validateTriggeringPolicy(ctx *validation.Context, p *messages.TriggeringPolicy) {
  	if p != nil {
  		ctx.Enter("triggering_policy")
  		policy.ValidateDefinition(ctx, p)
  		ctx.Exit()
  	}
  }
docs: // validateTriggeringPolicy validates TriggeringPolicy proto.
  //
  // Errors are returned via validation.Context.