def Args(parser): messages = apis.GetMessagesModule('dns', 'v1beta2') _AddArgsCommon(parser, messages) resource_args.AddResponsePolicyRuleArg(parser, verb='to create', api_version='v1beta2') parser.display_info.AddFormat('json')
def Args(cls, parser): api_version = util.GetApiFromTrack(cls.ReleaseTrack()) resource_args.AddResponsePolicyRuleArg( parser, verb='to describe', api_version=api_version) if cls._BetaOrAlpha(): flags.GetLocationArg().AddToParser(parser) parser.display_info.AddFormat('json')
def Args(cls, parser): _AddArgsCommon(parser) resource_args.AddResponsePolicyRuleArg(parser, verb='to update', api_version='v1') if cls._BetaOrAlpha(): flags.GetLocationArg().AddToParser(parser) parser.display_info.AddFormat('json')