diff --git a/gcloud/_version b/gcloud/_version index d3a8737d4..72e3a7790 100644 --- a/gcloud/_version +++ b/gcloud/_version @@ -1,7 +1,7 @@ -Google Cloud SDK 401.0.0 -alpha 2022.09.03 -beta 2022.09.03 +Google Cloud SDK 402.0.0 +alpha 2022.09.12 +beta 2022.09.12 bq 2.0.75 -core 2022.09.03 +core 2022.09.12 gcloud-crc32c 1.0.0 -gsutil 5.12 +gsutil 5.13 diff --git a/gcloud/alpha/asset/query b/gcloud/alpha/asset/query index 6b1cbb954..166f309d2 100644 --- a/gcloud/alpha/asset/query +++ b/gcloud/alpha/asset/query @@ -110,7 +110,7 @@ OPTIONAL FLAGS partition already exists. WRITE_DISPOSITION must be one of: write-append - AIf the table or partition already exists, BigQuery appends the + If the table or partition already exists, BigQuery appends the data to the table or the latest partition. write-empty If the table already exists and contains data, an error is diff --git a/gcloud/alpha/batch/jobs/submit b/gcloud/alpha/batch/jobs/submit index 6360b1250..fa9f38cfe 100644 --- a/gcloud/alpha/batch/jobs/submit +++ b/gcloud/alpha/batch/jobs/submit @@ -22,6 +22,28 @@ EXAMPLES $ gcloud alpha batch jobs submit \ projects/foo/locations/us-central1/jobs/bar --config=config.json + To submit the job through stdin with json job config and name + projects/foo/locations/us-central1/jobs/bar, run: + + $ gcloud alpha batch jobs submit \ + projects/foo/locations/us-central1/jobs/bar --config=- + + then input json job config via stdin + { + json job config + } + + To submit the job through HereDoc with json job config and name + projects/foo/locations/us-central1/jobs/bar, run: + + $ gcloud alpha batch jobs submit \ + projects/foo/locations/us-central1/jobs/bar --config=- << EOF + + { + json job config + } + EOF + POSITIONAL ARGUMENTS Job resource - The Batch job resource. The arguments in this group can be used to specify the attributes of this resource. (NOTE) Some attributes @@ -52,7 +74,9 @@ REQUIRED FLAGS At least one of these must be specified: --config=CONFIG - The JSON file of the job config. + The file path of the JSON job config JSON. It also supports direct + input from stdin with '-' or HereDoc (in shells with HereDoc support + like Bash) with '- <