def Args(parser): resource_args.AddApiResourceArg(parser, 'IAM policy binding will be added to', positional=True) iam_util.AddArgsForRemoveIamPolicyBinding( parser, common_flags.GatewayIamRolesCompleter)
def Args(parser): resource_args.AddApiResourceArg(parser, 'api configs will be listed from', wildcard=True, required=False) # Remove unneeded list-related flags from parser base.URI_FLAG.RemoveFromParser(parser) parser.display_info.AddFormat(List.LIST_FORMAT)
def Args(parser): """Args is called by calliope to gather arguments for this command. Args: parser: An argparse parser that you can use to add arguments that go on the command line after this command. Positional arguments are allowed. """ base.ASYNC_FLAG.AddToParser(parser) resource_args.AddApiResourceArg(parser, 'will be deleted', positional=True)
def Args(parser): resource_args.AddApiResourceArg(parser, 'for which to get IAM policy', positional=True) base.URI_FLAG.RemoveFromParser(parser)
def Args(parser): resource_args.AddApiResourceArg(parser, 'will be described', positional=True)
def Args(parser): base.ASYNC_FLAG.AddToParser(parser) common_flags.AddDisplayNameArg(parser) labels_util.AddUpdateLabelsFlags(parser) resource_args.AddApiResourceArg(parser, 'updated', positional=True)
def Args(parser): base.ASYNC_FLAG.AddToParser(parser) common_flags.AddDisplayNameArg(parser) common_flags.AddManagedServiceFlag(parser) labels_util.AddCreateLabelsFlags(parser) resource_args.AddApiResourceArg(parser, 'created', positional=True)