NAME
    gcloud database-migration conversion-workspaces import-rules - import
        mapping rules in a Database Migration Service conversion workspace

SYNOPSIS
    gcloud database-migration conversion-workspaces import-rules
        (CONVERSION_WORKSPACE : --region=REGION)
        --config-files=CONFIG_FILE,[CONFIG_FILE,...] [--auto-commit]
        [--file-format=FILE_FORMAT; default="ORA2PG"] [GCLOUD_WIDE_FLAG ...]

DESCRIPTION
    Import mapping rules in a Database Migration Service conversion workspace
    from a configuration file. For example, for Oracle to PostgreSQL migrations
    that could be an Ora2Pg config file.

EXAMPLES
    To import rules in a conversion workspace:

        $ gcloud database-migration conversion-workspaces import-rules \
          my-conversion-workspace --region=us-central1 \
          --file-format=ORA2PG \
          --config-files=PATH1/config1.conf,PATH2/config2.conf

POSITIONAL ARGUMENTS
     Conversion workspace resource - The conversion workspace to import rules.
     The arguments in this group can be used to specify the attributes of this
     resource. (NOTE) Some attributes are not given arguments in this group but
     can be set in other ways.

     To set the project attribute:
      ◆ provide the argument conversion_workspace on the command line with a
        fully specified name;
      ◆ provide the argument --project on the command line;
      ◆ set the property core/project.

     This must be specified.

       CONVERSION_WORKSPACE
          ID of the conversion_workspace or fully qualified identifier for the
          conversion_workspace.

          To set the conversion_workspace attribute:
          ▸ provide the argument conversion_workspace on the command line.

          This positional argument must be specified if any of the other
          arguments in this group are specified.

       --region=REGION
          The Cloud region for the conversion_workspace.

          To set the region attribute:
          ▸ provide the argument conversion_workspace on the command line
            with a fully specified name;
          ▸ provide the argument --region on the command line.

REQUIRED FLAGS
     --config-files=CONFIG_FILE,[CONFIG_FILE,...]
        A list of files to import rules from. Either provide a single file path
        or if multiple files are to be provided, each file should correspond to
        one schema. Provide file paths as a comma separated list.

OPTIONAL FLAGS
     --auto-commit
        Auto commits the conversion workspace.

     --file-format=FILE_FORMAT; default="ORA2PG"
        File format type to import rules from. FILE_FORMAT must be (only one
        value is supported): ORA2PG.

GCLOUD WIDE FLAGS
    These flags are available to all commands: --access-token-file, --account,
    --billing-project, --configuration, --flags-file, --flatten, --format,
    --help, --impersonate-service-account, --log-http, --project, --quiet,
    --trace-token, --user-output-enabled, --verbosity.

    Run $ gcloud help for details.
