コード例 #1
0
 def Args(parser):
   resource_args.AddGatewayResourceArg(parser,
                                       'IAM policy binding will be added to',
                                       positional=True)
   iam_util.AddArgsForRemoveIamPolicyBinding(
       parser,
       common_flags.GatewayIamRolesCompleter)
コード例 #2
0
    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.AddGatewayResourceArg(parser, 'deleted', positional=True)
コード例 #3
0
 def Args(parser):
     resource_args.AddGatewayResourceArg(parser, 'created', positional=True)
コード例 #4
0
 def Args(parser):
     resource_args.AddGatewayResourceArg(parser,
                                         'for which to get IAM policy',
                                         positional=True)
     base.URI_FLAG.RemoveFromParser(parser)