mirror of
https://github.com/imjasonh/gcloud-help
synced 2026-07-13 08:27:05 +00:00
gcloud: Wed May 7 10:56:18 UTC 2025
This commit is contained in:
parent
b03a332ad8
commit
dfebca5b6c
222 changed files with 6775 additions and 1046 deletions
|
|
@ -5,7 +5,8 @@ SYNOPSIS
|
|||
gcloud beta datastream streams create (STREAM : --location=LOCATION)
|
||||
--display-name=DISPLAY_NAME
|
||||
(--backfill-none
|
||||
| --backfill-all --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --backfill-all --mongodb-excluded-objects=MONGODB_EXCLUDED_OBJECTS
|
||||
| --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS
|
||||
| --salesforce-excluded-objects=SALESFORCE_EXCLUDED_OBJECTS
|
||||
|
|
@ -13,7 +14,9 @@ SYNOPSIS
|
|||
(--destination-name=DESTINATION_NAME
|
||||
(--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
| --gcs-destination-config=GCS_DESTINATION_CONFIG))
|
||||
(--source-name=SOURCE_NAME (--mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
(--source-name=SOURCE_NAME
|
||||
(--mongodb-source-config=MONGODB_SOURCE_CONFIG
|
||||
| --mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
| --oracle-source-config=ORACLE_SOURCE_CONFIG
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG
|
||||
| --salesforce-source-config=SALESFORCE_SOURCE_CONFIG
|
||||
|
|
@ -97,6 +100,30 @@ REQUIRED FLAGS
|
|||
|
||||
At most one of these can be specified:
|
||||
|
||||
--mongodb-excluded-objects=MONGODB_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the MongoDB data sources
|
||||
to avoid backfilling.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"database":"sample_database",
|
||||
"collections": [
|
||||
{
|
||||
"collection": "sample_collection",
|
||||
"fields": [
|
||||
{
|
||||
"field": "sample_field",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
--mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the MySQL data sources to
|
||||
avoid backfilling.
|
||||
|
|
@ -336,6 +363,34 @@ REQUIRED FLAGS
|
|||
|
||||
Exactly one of these must be specified:
|
||||
|
||||
--mongodb-source-config=MONGODB_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
MongoDB Source Config.
|
||||
|
||||
The JSON file is formatted as follows, with snake_case field
|
||||
naming:
|
||||
|
||||
{
|
||||
"includeObjects": {},
|
||||
"excludeObjects": {
|
||||
"databases": [
|
||||
{
|
||||
"database": "sampleDb",
|
||||
"collections": [
|
||||
{
|
||||
"collection": "sampleCollection",
|
||||
"fields": [
|
||||
{
|
||||
"field": "SAMPLE_FIELD",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
--mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
MySQL Source Config.
|
||||
|
|
|
|||
|
|
@ -6,7 +6,8 @@ SYNOPSIS
|
|||
[--display-name=DISPLAY_NAME] [--state=STATE]
|
||||
[--update-labels=[KEY=VALUE,...]] [--update-mask=UPDATE_MASK]
|
||||
[--backfill-none
|
||||
| --backfill-all --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --backfill-all --mongodb-excluded-objects=MONGODB_EXCLUDED_OBJECTS
|
||||
| --mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
| --oracle-excluded-objects=ORACLE_EXCLUDED_OBJECTS
|
||||
| --postgresql-excluded-objects=POSTGRESQL_EXCLUDED_OBJECTS
|
||||
| --salesforce-excluded-objects=SALESFORCE_EXCLUDED_OBJECTS
|
||||
|
|
@ -16,7 +17,9 @@ SYNOPSIS
|
|||
--bigquery-destination-config=BIGQUERY_DESTINATION_CONFIG
|
||||
| --gcs-destination-config=GCS_DESTINATION_CONFIG]
|
||||
[--force | --validate-only]
|
||||
[--source-name=SOURCE_NAME --mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
[--source-name=SOURCE_NAME
|
||||
--mongodb-source-config=MONGODB_SOURCE_CONFIG
|
||||
| --mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
| --oracle-source-config=ORACLE_SOURCE_CONFIG
|
||||
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG
|
||||
| --salesforce-source-config=SALESFORCE_SOURCE_CONFIG
|
||||
|
|
@ -118,6 +121,30 @@ FLAGS
|
|||
|
||||
At most one of these can be specified:
|
||||
|
||||
--mongodb-excluded-objects=MONGODB_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the MongoDB data sources
|
||||
to avoid backfilling.
|
||||
|
||||
The JSON file is formatted as follows, with camelCase field naming:
|
||||
|
||||
{
|
||||
"databases": [
|
||||
{
|
||||
"database":"sample_database",
|
||||
"collections": [
|
||||
{
|
||||
"collection": "sample_collection",
|
||||
"fields": [
|
||||
{
|
||||
"field": "sample_field",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
--mysql-excluded-objects=MYSQL_EXCLUDED_OBJECTS
|
||||
Path to a YAML (or JSON) file containing the MySQL data sources to
|
||||
avoid backfilling.
|
||||
|
|
@ -378,6 +405,33 @@ FLAGS
|
|||
|
||||
At most one of these can be specified:
|
||||
|
||||
--mongodb-source-config=MONGODB_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for
|
||||
MongoDB Source Config.
|
||||
|
||||
The JSON file is formatted as follows, with snake_case field naming:
|
||||
|
||||
{
|
||||
"includeObjects": {},
|
||||
"excludeObjects": {
|
||||
"databases": [
|
||||
{
|
||||
"database": "sampleDb",
|
||||
"collections": [
|
||||
{
|
||||
"collection": "sampleCollection",
|
||||
"fields": [
|
||||
{
|
||||
"field": "SAMPLE_FIELD",
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
}
|
||||
|
||||
--mysql-source-config=MYSQL_SOURCE_CONFIG
|
||||
Path to a YAML (or JSON) file containing the configuration for MySQL
|
||||
Source Config.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue