예제 #1
0
    def Args(parser):
        """Register flags for this command."""
        flags.AddEntityFilterFlags(parser)
        flags.AddLabelsFlag(parser)
        parser.add_argument('input_url',
                            help="""
        Location of the import metadata. Must be a valid Google Cloud Storage
        object. The file extension is 'overall_export_metadata'.

        This location is the 'output_url' field of a previous export, and can
        be found via the 'operations describe' command.
        """)
        base.ASYNC_FLAG.AddToParser(parser)
예제 #2
0
    def Args(parser):
        """Register flags for this command."""
        flags.AddEntityFilterFlags(parser)
        flags.AddLabelsFlag(parser)
        parser.add_argument('output_url_prefix',
                            help="""
        Location for the export metadata and data files. Must be a valid
        Google Cloud Storage bucket with an optional path prefix. For example:

          $ {command} gs://mybucket/my/path

        Will place the export in the `mybucket` bucket in objects prefixed with
        `my/path`.
        """)
        base.ASYNC_FLAG.AddToParser(parser)