コード例 #1
0
ファイル: export.py プロジェクト: PrateekKhatri/gcloud_cli
 def Args(cls, parser):
     flags.AddParentArgs(
         parser, 'The project which is the root asset.',
         'The ID of the organization which is the root asset.',
         'The ID of the folder which is the root asset.')
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddDestinationArgs(parser)
コード例 #2
0
 def Args(parser):
     parent_group = parser.add_mutually_exclusive_group(required=True)
     flags.AddOrganizationArgs(
         parent_group,
         'The ID of the organization which is the root asset.')
     common_args.ProjectArgument(
         help_text_to_prepend='The project which is the root asset.'
     ).AddToParser(parent_group)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddListContentTypeArgs(parser)
     base.URI_FLAG.RemoveFromParser(parser)
コード例 #3
0
def AddCommonExportFlags(parser):
  flags.AddParentArgs(parser)
  flags.AddSnapshotTimeArgs(parser)
  flags.AddAssetTypesArgs(parser)
  flags.AddContentTypeArgs(parser, required=False)
コード例 #4
0
 def Args(parser):
     flags.AddParentArgs(parser)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddOutputPathArgs(parser)
コード例 #5
0
ファイル: export.py プロジェクト: camidagreat/music_game_poc
 def Args(parser):
     flags.AddParentArgs(parser)
     flags.AddSnapshotTimeArgs(parser)
     flags.AddAssetTypesArgs(parser)
     flags.AddContentTypeArgs(parser, required=False)
     flags.AddDestinationArgs(parser)