mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-08 10:35:03 +00:00
gcloud: Tue Oct 18 11:38:19 UTC 2022
This commit is contained in:
parent
389ff42bae
commit
5c08d21169
159 changed files with 4170 additions and 656 deletions
|
|
@ -8,7 +8,8 @@ SYNOPSIS
|
|||
| --backfill-all --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS)
|
||||
(--destination=DESTINATION
|
||||
--gcs-destination-config=GCS_DESTINATION_CONFIG)
|
||||
(--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))
|
||||
[--labels=[KEY=VALUE,...]] [--force | --validate-only]
|
||||
|
|
@ -114,21 +115,37 @@ REQUIRED FLAGS
|
|||
connection_profile. To set the connection_profile attribute:
|
||||
▫ provide the argument --destination on the command line.
|
||||
|
||||
--gcs-destination-config=GCS_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for Google
|
||||
Cloud Storage Destination Config.
|
||||
Exactly one of these must be specified:
|
||||
|
||||
The JSON file is formatted as follows:
|
||||
--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
Google BigQuery Destination Config.
|
||||
|
||||
{
|
||||
"path": "some/path",
|
||||
"file_rotation_mb":5,
|
||||
"file_rotation_interval":"15s",
|
||||
"avro_file_format": {}
|
||||
}
|
||||
The JSON file is formatted as follows:
|
||||
|
||||
This flag argument must be specified if any of the other arguments in
|
||||
this group are specified.
|
||||
{
|
||||
"source_hierarchy_datasets": {
|
||||
"dataset_template": {
|
||||
"location": "us-central1",
|
||||
"dataset_id_prefix": "my_prefix",
|
||||
"kms_key_name": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
|
||||
}
|
||||
},
|
||||
"data_freshness": 3600
|
||||
}
|
||||
|
||||
--gcs-destination-config=GCS_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
Google Cloud Storage Destination Config.
|
||||
|
||||
The JSON file is formatted as follows:
|
||||
|
||||
{
|
||||
"path": "some/path",
|
||||
"file_rotation_mb":5,
|
||||
"file_rotation_interval":"15s",
|
||||
"avro_file_format": {}
|
||||
}
|
||||
|
||||
This must be specified.
|
||||
|
||||
|
|
|
|||
|
|
@ -10,7 +10,8 @@ SYNOPSIS
|
|||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS]
|
||||
[--clear-labels | --remove-labels=[KEY,...]]
|
||||
[--destination=DESTINATION
|
||||
: --gcs-destination-config=GCS_DESTINATION_CONFIG]
|
||||
: --bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
| --gcs-destination-config=GCS_DESTINATION_CONFIG]
|
||||
[--force | --validate-only]
|
||||
[--source=SOURCE : --mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
| --oracle-source-config=ORACLE_SOURCE_CONFIG] [GCLOUD_WIDE_FLAG ...]
|
||||
|
|
@ -140,18 +141,37 @@ FLAGS
|
|||
connection_profile. To set the connection_profile attribute:
|
||||
▸ provide the argument --destination on the command line.
|
||||
|
||||
--gcs-destination-config=GCS_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for Google
|
||||
Cloud Storage Destination Config.
|
||||
At most one of these can be specified:
|
||||
|
||||
The JSON file is formatted as follows:
|
||||
--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for Google
|
||||
BigQuery Destination Config.
|
||||
|
||||
{
|
||||
"path": "some/path",
|
||||
"file_rotation_mb":5,
|
||||
"file_rotation_interval":"15s",
|
||||
"avro_file_format": {}
|
||||
}
|
||||
The JSON file is formatted as follows:
|
||||
|
||||
{
|
||||
"source_hierarchy_datasets": {
|
||||
"dataset_template": {
|
||||
"location": "us-central1",
|
||||
"dataset_id_prefix": "my_prefix",
|
||||
"kms_key_name": "projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{cryptoKey}"
|
||||
}
|
||||
},
|
||||
"data_freshness": 3600
|
||||
}
|
||||
|
||||
--gcs-destination-config=GCS_DESTINATION_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for Google
|
||||
Cloud Storage Destination Config.
|
||||
|
||||
The JSON file is formatted as follows:
|
||||
|
||||
{
|
||||
"path": "some/path",
|
||||
"file_rotation_mb":5,
|
||||
"file_rotation_interval":"15s",
|
||||
"avro_file_format": {}
|
||||
}
|
||||
|
||||
At most one of these can be specified:
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue