mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-16 12:22:03 +00:00
gcloud: Wed Jun 12 09:25:04 UTC 2024
This commit is contained in:
parent
40ba53d37f
commit
04a1e3ce77
205 changed files with 8281 additions and 231 deletions
|
|
@ -20,7 +20,13 @@ SYNOPSIS
|
|||
--postgresql-port=POSTGRESQL_PORT
|
||||
--postgresql-username=POSTGRESQL_USERNAME
|
||||
(--postgresql-password=POSTGRESQL_PASSWORD
|
||||
| --postgresql-prompt-for-password)]
|
||||
| --postgresql-prompt-for-password)
|
||||
| --sqlserver-database=SQLSERVER_DATABASE
|
||||
--sqlserver-hostname=SQLSERVER_HOSTNAME
|
||||
--sqlserver-port=SQLSERVER_PORT
|
||||
--sqlserver-username=SQLSERVER_USERNAME
|
||||
(--sqlserver-password=SQLSERVER_PASSWORD
|
||||
| --sqlserver-prompt-for-password)]
|
||||
[--private-connection=PRIVATE_CONNECTION | --static-ip-connectivity
|
||||
| [--forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
--forward-ssh-username=FORWARD_SSH_USERNAME
|
||||
|
|
@ -252,6 +258,40 @@ OPTIONAL FLAGS
|
|||
--postgresql-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
--sqlserver-database=SQLSERVER_DATABASE
|
||||
Database service for the SQL Server connection.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--sqlserver-hostname=SQLSERVER_HOSTNAME
|
||||
IP or hostname of the SQL Server source database.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--sqlserver-port=SQLSERVER_PORT
|
||||
Network port of the SQL Server source database.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--sqlserver-username=SQLSERVER_USERNAME
|
||||
Username Datastream will use to connect to the database.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--sqlserver-password=SQLSERVER_PASSWORD
|
||||
Password for the user that Datastream will be using to connect to
|
||||
the database. This field is not returned on request, and the value
|
||||
is encrypted when stored in Datastream.
|
||||
|
||||
--sqlserver-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
Private connection resource - Resource ID of the private connection.
|
||||
|
|
|
|||
|
|
@ -9,7 +9,8 @@ SYNOPSIS
|
|||
[--full-hierarchy | --hierarchy-depth=HIERARCHY_DEPTH]
|
||||
[--mysql-rdbms-file=MYSQL_RDBMS_FILE
|
||||
| --oracle-rdbms-file=ORACLE_RDBMS_FILE
|
||||
| --postgresql-rdbms-file=POSTGRESQL_RDBMS_FILE]
|
||||
| --postgresql-rdbms-file=POSTGRESQL_RDBMS_FILE
|
||||
| --sqlserver-rdbms-file=SQLSERVER_RDBMS_FILE]
|
||||
[--recursive | --recursive-depth=RECURSIVE_DEPTH]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -106,6 +107,11 @@ OPTIONAL FLAGS
|
|||
enrich with child data objects and metadata. If you pass - as the
|
||||
value of the flag the file content will be read from stdin.
|
||||
|
||||
--sqlserver-rdbms-file=SQLSERVER_RDBMS_FILE
|
||||
Path to a YAML (or JSON) file containing the SQL Server RDBMS to
|
||||
enrich with child data objects and metadata. If you pass - as the
|
||||
value of the flag the file content will be read from stdin.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--recursive
|
||||
|
|
|
|||
|
|
@ -22,7 +22,13 @@ SYNOPSIS
|
|||
--postgresql-port=POSTGRESQL_PORT
|
||||
--postgresql-username=POSTGRESQL_USERNAME
|
||||
--postgresql-password=POSTGRESQL_PASSWORD
|
||||
| --postgresql-prompt-for-password]
|
||||
| --postgresql-prompt-for-password
|
||||
| --sqlserver-database=SQLSERVER_DATABASE
|
||||
--sqlserver-hostname=SQLSERVER_HOSTNAME
|
||||
--sqlserver-port=SQLSERVER_PORT
|
||||
--sqlserver-username=SQLSERVER_USERNAME
|
||||
--sqlserver-password=SQLSERVER_PASSWORD
|
||||
| --sqlserver-prompt-for-password]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--private-connection=PRIVATE_CONNECTION | --static-ip-connectivity
|
||||
| --forward-ssh-hostname=FORWARD_SSH_HOSTNAME
|
||||
|
|
@ -211,6 +217,28 @@ OPTIONAL FLAGS
|
|||
--postgresql-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
--sqlserver-database=SQLSERVER_DATABASE
|
||||
Database service for the SQL Server connection.
|
||||
|
||||
--sqlserver-hostname=SQLSERVER_HOSTNAME
|
||||
IP or hostname of the SQL Server source database.
|
||||
|
||||
--sqlserver-port=SQLSERVER_PORT
|
||||
Network port of the SQL Server source database.
|
||||
|
||||
--sqlserver-username=SQLSERVER_USERNAME
|
||||
Username Datastream will use to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--sqlserver-password=SQLSERVER_PASSWORD
|
||||
Password for the user that Datastream will be using to connect to
|
||||
the database. This field is not returned on request, and the value
|
||||
is encrypted when stored in Datastream.
|
||||
|
||||
--sqlserver-prompt-for-password
|
||||
Prompt for the password used to connect to the database.
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
|
|
|
|||
|
|
@ -6,7 +6,9 @@ SYNOPSIS
|
|||
(--mysql-database=MYSQL_DATABASE --mysql-table=MYSQL_TABLE
|
||||
| --oracle-schema=ORACLE_SCHEMA --oracle-table=ORACLE_TABLE
|
||||
| --postgresql-schema=POSTGRESQL_SCHEMA
|
||||
--postgresql-table=POSTGRESQL_TABLE)
|
||||
--postgresql-table=POSTGRESQL_TABLE
|
||||
| --sqlserver-schema=SQLSERVER_SCHEMA
|
||||
--sqlserver-table=SQLSERVER_TABLE)
|
||||
(--stream=STREAM : --location=LOCATION) [GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -70,6 +72,18 @@ REQUIRED FLAGS
|
|||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--sqlserver-schema=SQLSERVER_SCHEMA
|
||||
SQL Server schema for the object.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
--sqlserver-table=SQLSERVER_TABLE
|
||||
SQL Server table for the object.
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
|
||||
Stream resource - The stream to list objects for. 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
|
||||
|
|
|
|||
|
|
@ -7,13 +7,15 @@ SYNOPSIS
|
|||
(--backfill-none
|
||||
| --backfill-all --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS)
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS
|
||||
| --sqlserver-excluded-objects=SQLSERVER_EXCLUDED_OBJECTS)
|
||||
(--destination=DESTINATION
|
||||
(--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
| --gcs-destination-config=GCS_DESTINATION_CONFIG))
|
||||
(--source=SOURCE (--mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
| --oracle-source-config=ORACLE_SOURCE_CONFIG
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG))
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG
|
||||
| --sqlserver-source-config=SQLSERVER_SOURCE_CONFIG))
|
||||
[--labels=[KEY=VALUE,...]] [--force | --validate-only]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
|
|
@ -183,6 +185,31 @@ REQUIRED FLAGS
|
|||
}
|
||||
}
|
||||
|
||||
--sqlserver-excluded-objects=SQLSERVER_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the SQL Server data
|
||||
sources to avoid backfilling.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"schemas": [
|
||||
{
|
||||
"schema": "SAMPLE",
|
||||
"tables": [
|
||||
{
|
||||
"table": "SAMPLE_TABLE",
|
||||
"columns": [
|
||||
{
|
||||
"column": "COL",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
This must be specified.
|
||||
|
||||
Connection profile resource - Resource ID of the destination connection
|
||||
|
|
@ -352,6 +379,36 @@ REQUIRED FLAGS
|
|||
"publication": "SAMPLE_PUBLICATION"
|
||||
}
|
||||
|
||||
--sqlserver-source-config=SQLSERVER_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for SQL
|
||||
Server Source Config.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"includeObjects": {},
|
||||
"excludeObjects": {
|
||||
"schemas": [
|
||||
{
|
||||
"schema": "SAMPLE",
|
||||
"tables": [
|
||||
{
|
||||
"table": "SAMPLE_TABLE",
|
||||
"columns": [
|
||||
{
|
||||
"column": "COL",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"maxConcurrentCdcTasks": 2,
|
||||
"maxConcurrentBackfillTasks": 10,
|
||||
"transactionLogs": {} # Or changeTables
|
||||
}
|
||||
|
||||
OPTIONAL FLAGS
|
||||
--labels=[KEY=VALUE,...]
|
||||
List of label KEY=VALUE pairs to add.
|
||||
|
|
|
|||
|
|
@ -8,7 +8,8 @@ SYNOPSIS
|
|||
[--backfill-none
|
||||
| --backfill-all --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS]
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS
|
||||
| --sqlserver-excluded-objects=SQLSERVER_EXCLUDED_OBJECTS]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--destination=DESTINATION
|
||||
--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
|
|
@ -16,7 +17,8 @@ SYNOPSIS
|
|||
[--force | --validate-only]
|
||||
[--source=SOURCE --mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
| --oracle-source-config=ORACLE_SOURCE_CONFIG
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG]
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG
|
||||
| --sqlserver-source-config=SQLSERVER_SOURCE_CONFIG]
|
||||
[GCLOUD_WIDE_FLAG ...]
|
||||
|
||||
DESCRIPTION
|
||||
|
|
@ -185,6 +187,31 @@ FLAGS
|
|||
}
|
||||
}
|
||||
|
||||
--sqlserver-excluded-objects=SQLSERVER_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the SQL Server data
|
||||
sources to avoid backfilling.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"schemas": [
|
||||
{
|
||||
"schema": "SAMPLE",
|
||||
"tables": [
|
||||
{
|
||||
"table": "SAMPLE_TABLE",
|
||||
"columns": [
|
||||
{
|
||||
"column": "COL",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
--clear-labels
|
||||
|
|
@ -375,6 +402,36 @@ FLAGS
|
|||
"publication": "SAMPLE_PUBLICATION"
|
||||
}
|
||||
|
||||
--sqlserver-source-config=SQLSERVER_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
PostgreSQL Source Config.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"includeObjects": {},
|
||||
"excludeObjects": {
|
||||
"schemas": [
|
||||
{
|
||||
"schema": "SAMPLE",
|
||||
"tables": [
|
||||
{
|
||||
"table": "SAMPLE_TABLE",
|
||||
"columns": [
|
||||
{
|
||||
"column": "COL",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
},
|
||||
"maxConcurrentCdcTasks": 2,
|
||||
"maxConcurrentBackfillTasks": 10,
|
||||
"transactionLogs": {} # Or changeTables
|
||||
}
|
||||
|
||||
GCLOUD WIDE FLAGS
|
||||
These flags are available to all commands: --access-token-file, --account,
|
||||
--billing-project, --configuration, --flags-file, --flatten, --format,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue