1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-18 06:47:12 +00:00

gcloud: Wed Dec 10 10:54:29 UTC 2025

This commit is contained in:
Automated 2025-12-10 10:54:29 +00:00
parent 7b14250313
commit 6d07e70b12
313 changed files with 11521 additions and 1088 deletions

View file

@ -20,8 +20,8 @@ SYNOPSIS
| --postgresql-source-config=POSTGRESQL_SOURCE_CONFIG
| --salesforce-source-config=SALESFORCE_SOURCE_CONFIG
| --sqlserver-source-config=SQLSERVER_SOURCE_CONFIG))
[--labels=[KEY=VALUE,...]] [--force | --validate-only]
[GCLOUD_WIDE_FLAG ...]
[--labels=[KEY=VALUE,...]] [--rule-sets=RULE_SETS]
[--force | --validate-only] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Create a Datastream stream. If successful, the response body contains a
@ -560,6 +560,52 @@ OPTIONAL FLAGS
contain only hyphens (-), underscores (_), lowercase characters, and
numbers.
--rule-sets=RULE_SETS
Path to a JSON file containing a list of rule sets to be applied to the
stream.
The JSON file is formatted as follows, with camelCase field naming:
[
{
"objectFilter": {
"sourceObjectIdentifier": {
"oracleIdentifier": {
"schema": "schema1",
"table": "table1"
}
}
},
"customizationRules": [
{
"bigqueryClustering": {
"columns": ["COL_A"]
}
}
]
},
{
"objectFilter": {
"sourceObjectIdentifier": {
"oracleIdentifier": {
"schema": "schema2",
"table": "table2"
}
}
},
"customizationRules": [
{
"bigqueryPartitioning": {
"timeUnitPartition": {
"column": "TIME_COL",
"partitioningTimeGranularity": "PARTITIONING_TIME_GRANULARITY_DAY"
}
}
}
]
}
]
At most one of these can be specified:
--force

View file

@ -3,7 +3,7 @@ NAME
SYNOPSIS
gcloud datastream streams update (STREAM : --location=LOCATION)
[--display-name=DISPLAY_NAME] [--state=STATE]
[--display-name=DISPLAY_NAME] [--rule-sets=RULE_SETS] [--state=STATE]
[--update-labels=[KEY=VALUE,...]] [--update-mask=UPDATE_MASK]
[--backfill-none
| --backfill-all --mongodb-excluded-objects=MONGODB_EXCLUDED_OBJECTS
@ -82,6 +82,52 @@ FLAGS
--display-name=DISPLAY_NAME
Friendly name for the stream.
--rule-sets=RULE_SETS
Path to a JSON file containing a list of rule sets to be applied to the
stream.
The JSON file is formatted as follows, with camelCase field naming:
[
{
"objectFilter": {
"sourceObjectIdentifier": {
"oracleIdentifier": {
"schema": "schema1",
"table": "table1"
}
}
},
"customizationRules": [
{
"bigqueryClustering": {
"columns": ["COL_A"]
}
}
]
},
{
"objectFilter": {
"sourceObjectIdentifier": {
"oracleIdentifier": {
"schema": "schema2",
"table": "table2"
}
}
},
"customizationRules": [
{
"bigqueryPartitioning": {
"timeUnitPartition": {
"column": "TIME_COL",
"partitioningTimeGranularity": "PARTITIONING_TIME_GRANULARITY_DAY"
}
}
}
]
}
]
--state=STATE
Stream state, can be set to: "RUNNING" or "PAUSED".