def Args(parser): parent_group = parser.add_mutually_exclusive_group(required=True) flags.AddOrganizationArgs(parent_group) common_args.ProjectArgument( help_text_to_prepend='The project which is the root asset.' ).AddToParser(parent_group) flags.AddAssetNamesArgs(parser) flags.AddContentTypeArgs(parser, required=True) flags.AddStartTimeArgs(parser) flags.AddEndTimeArgs(parser)
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)
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.AddFolderArgs(parent_group, 'The ID of the folder which is the root asset.') flags.AddStatementArgs(parser) flags.AddJobReferenceArgs(parser) flags.AddPageSize(parser) flags.AddPageToken(parser) flags.AddTimeout(parser) parser.display_info.AddFormat( asset_query_printer.ASSET_QUERY_PRINTER_FORMAT) asset_query_printer.AssetQueryPrinter.Register(parser)
def Args(parser): flags.AddOrganizationArgs(parser) flags.AddAssetNamesArgs(parser) flags.AddContentTypeArgs(parser, required=True) flags.AddStartTimeArgs(parser) flags.AddEndTimeArgs(parser)
def Args(parser): flags.AddOrganizationArgs(parser) flags.AddSnapshotTimeArgs(parser) flags.AddAssetTypesArgs(parser) flags.AddContentTypeArgs(parser, required=False) flags.AddOutputPathArgs(parser)