예제 #1
0
 def Args(parser):
     secrets_args.AddSecret(parser,
                            purpose='to update',
                            positional=True,
                            required=True)
     secrets_args.AddDataFile(parser)
     secrets_args.AddCreateIfMissing(parser, resource='secret')
     secrets_args.AddLocations(parser, resource='secret')
     labels_util.AddUpdateLabelsFlags(parser)
예제 #2
0
 def Args(parser):
     secrets_args.AddBetaSecret(parser,
                                purpose='to create',
                                positional=True,
                                required=True)
     secrets_args.AddLocations(parser, resource='secret')
     secrets_args.AddDataFile(parser)
     secrets_args.AddPolicy(parser)
     labels_util.AddCreateLabelsFlags(parser)