Beispiel #1
0
 def Args(parser):
   resource_args.AddNamespaceResourceArg(
       parser,
       """to create. The namespace id must be 1-63 characters long and match
       the regular expression `[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?` which means
       the first character must be a lowercase letter, and all following
       characters must be a dash, lowercase letter, or digit, except the last
       character, which cannot be a dash.""")
   flags.AddLabelsFlag(parser, _RESOURCE_TYPE)
Beispiel #2
0
 def Args(parser):
     resource_args.AddNamespaceResourceArg(parser,
                                           'to list.',
                                           positional=False)
     base.LIMIT_FLAG.RemoveFromParser(parser)
     base.URI_FLAG.RemoveFromParser(parser)
 def Args(parser):
     resource_args.AddNamespaceResourceArg(
         parser, """for which to get IAM policy.""")
     base.URI_FLAG.RemoveFromParser(parser)
Beispiel #4
0
 def Args(parser):
     resource_args.AddNamespaceResourceArg(parser, 'to describe.')
    def Args(parser):
        resource_args.AddNamespaceResourceArg(
            parser, """to remove IAM policy binding from.""")

        iam_util.AddArgsForRemoveIamPolicyBinding(parser)
    def Args(parser):
        resource_args.AddNamespaceResourceArg(
            parser, """to add IAM policy binding to.""")

        iam_util.AddArgForPolicyFile(parser)
    def Args(parser):
        resource_args.AddNamespaceResourceArg(parser,
                                              'to add IAM policy binding to.')

        iam_util.AddArgsForAddIamPolicyBinding(parser)
Beispiel #8
0
 def Args(parser):
     resource_args.AddNamespaceResourceArg(parser, 'to update.')
     flags.AddLabelsFlag(parser, _RESOURCE_TYPE)