From 861d4011dc783a6e86eb0316ad51daa7bf9bd1fa Mon Sep 17 00:00:00 2001 From: Automated Date: Thu, 23 Jan 2025 10:02:29 +0000 Subject: [PATCH] gcloud: Thu Jan 23 10:02:29 UTC 2025 --- gcloud/_version | 10 +- gcloud/ai/indexes/create | 16 +- gcloud/alloydb/users/create | 6 +- gcloud/alpha/ai/indexes/create | 16 +- gcloud/alpha/alloydb/users/create | 6 +- gcloud/alpha/anthos/config/controller/create | 2 +- .../attachments/groups/get-operational-status | 32 +++ .../interconnects/attachments/groups/help | 4 + .../compute/interconnects/wire-groups/create | 4 +- .../compute/interconnects/wire-groups/delete | 34 +++ .../interconnects/wire-groups}/describe | 28 +- .../compute/interconnects/wire-groups/help | 9 + .../compute/interconnects/wire-groups/list | 2 +- .../compute/interconnects/wire-groups/update | 92 +++++++ .../container/attached/clusters/register | 21 +- .../alpha/container/attached/clusters/update | 11 + gcloud/alpha/container/aws/clusters/create | 4 +- gcloud/alpha/container/azure/clusters/create | 4 +- gcloud/alpha/container/clusters/create | 22 ++ gcloud/alpha/container/node-pools/create | 30 ++ gcloud/alpha/container/node-pools/update | 33 +++ .../developer-connect/connections/create | 256 +----------------- .../developer-connect/connections/update | 178 +----------- gcloud/alpha/filestore/instances/update | 4 +- .../alpha/firestore/indexes/composite/create | 2 +- gcloud/alpha/iam/oauth-clients/create | 5 +- gcloud/alpha/iam/oauth-clients/update | 5 +- .../resources => kms/autokey-config}/describe | 24 +- gcloud/alpha/kms/autokey-config/help | 34 +++ .../kms/autokey-config/show-effective-config | 35 +++ .../describe => kms/autokey-config/update} | 23 +- gcloud/alpha/kms/help | 6 + gcloud/alpha/kms/key-handles/create | 69 +++++ gcloud/alpha/kms/key-handles/describe | 67 +++++ gcloud/alpha/kms/key-handles/help | 33 +++ .../resources => kms/key-handles}/list | 48 ++-- gcloud/alpha/memorystore/instances/create | 4 +- .../internal-ranges/create | 7 +- .../redis/clusters/add-cluster-endpoints | 2 +- .../redis/clusters/remove-cluster-endpoints | 2 +- gcloud/alpha/run/help | 3 - gcloud/alpha/run/integrations/create | 64 ----- gcloud/alpha/run/integrations/delete | 44 --- gcloud/alpha/run/integrations/help | 59 ---- gcloud/alpha/run/integrations/list | 84 ------ gcloud/alpha/run/integrations/types/describe | 41 --- gcloud/alpha/run/integrations/types/help | 44 --- gcloud/alpha/run/integrations/types/list | 70 ----- gcloud/alpha/run/integrations/update | 60 ---- gcloud/alpha/spanner/instances/create | 10 +- gcloud/alpha/spanner/instances/update | 35 ++- gcloud/alpha/stacks/deploy | 43 --- gcloud/alpha/stacks/help | 47 ---- gcloud/alpha/stacks/resources/delete | 42 --- gcloud/alpha/stacks/resources/export-graph | 63 ----- gcloud/alpha/stacks/resources/help | 46 ---- gcloud/alpha/stacks/types/help | 39 --- gcloud/alpha/stacks/types/list | 67 ----- gcloud/anthos/config/controller/create | 2 +- gcloud/beta/ai/indexes/create | 16 +- gcloud/beta/alloydb/users/create | 6 +- gcloud/beta/container/clusters/create | 22 ++ gcloud/beta/container/node-pools/create | 30 ++ gcloud/beta/container/node-pools/update | 33 +++ .../beta/developer-connect/connections/create | 256 +----------------- .../beta/developer-connect/connections/update | 178 +----------- gcloud/beta/filestore/instances/update | 4 +- .../beta/firestore/indexes/composite/create | 2 +- .../principal-access-boundary-policies/create | 2 +- .../principal-access-boundary-policies/update | 6 +- gcloud/beta/memorystore/instances/create | 4 +- gcloud/beta/netapp/storage-pools/help | 3 + .../storage-pools/validate-directory-service | 75 +++++ .../beta/redis/clusters/add-cluster-endpoints | 2 +- .../redis/clusters/remove-cluster-endpoints | 2 +- gcloud/beta/run/help | 3 - gcloud/beta/run/integrations/create | 62 ----- gcloud/beta/run/integrations/delete | 42 --- gcloud/beta/run/integrations/describe | 38 --- gcloud/beta/run/integrations/help | 57 ---- gcloud/beta/run/integrations/list | 82 ------ gcloud/beta/run/integrations/types/describe | 39 --- gcloud/beta/run/integrations/types/help | 42 --- gcloud/beta/run/integrations/types/list | 67 ----- gcloud/beta/run/integrations/update | 58 ---- gcloud/beta/spanner/instances/create | 10 +- gcloud/beta/spanner/instances/update | 35 ++- gcloud/container/attached/clusters/register | 21 +- gcloud/container/attached/clusters/update | 11 + gcloud/container/aws/clusters/create | 4 +- gcloud/container/azure/clusters/create | 4 +- gcloud/container/clusters/create | 22 ++ gcloud/container/node-pools/create | 30 ++ gcloud/container/node-pools/update | 33 +++ .../connection-profiles/create/sqlserver | 103 ++++--- .../connection-profiles/update | 3 +- gcloud/developer-connect/connections/create | 256 +----------------- gcloud/developer-connect/connections/update | 178 +----------- gcloud/eventarc/triggers/create | 21 +- gcloud/eventarc/triggers/update | 16 +- gcloud/filestore/instances/create | 4 +- gcloud/filestore/instances/update | 4 +- gcloud/firestore/indexes/composite/create | 2 +- gcloud/iam/oauth-clients/create | 5 +- gcloud/iam/oauth-clients/update | 5 +- .../principal-access-boundary-policies/create | 2 +- .../principal-access-boundary-policies/update | 6 +- gcloud/memorystore/instances/create | 4 +- gcloud/netapp/storage-pools/help | 3 + .../storage-pools/validate-directory-service | 74 +++++ .../internal-ranges/create | 7 +- gcloud/redis/clusters/add-cluster-endpoints | 2 +- .../redis/clusters/remove-cluster-endpoints | 2 +- gcloud/spanner/instances/create | 10 +- gcloud/spanner/instances/update | 35 ++- gcloud/workstations/create | 9 +- 116 files changed, 1271 insertions(+), 2834 deletions(-) create mode 100644 gcloud/alpha/compute/interconnects/attachments/groups/get-operational-status create mode 100644 gcloud/alpha/compute/interconnects/wire-groups/delete rename gcloud/alpha/{run/integrations => compute/interconnects/wire-groups}/describe (51%) create mode 100644 gcloud/alpha/compute/interconnects/wire-groups/update rename gcloud/alpha/{stacks/resources => kms/autokey-config}/describe (56%) create mode 100644 gcloud/alpha/kms/autokey-config/help create mode 100644 gcloud/alpha/kms/autokey-config/show-effective-config rename gcloud/alpha/{stacks/types/describe => kms/autokey-config/update} (56%) create mode 100644 gcloud/alpha/kms/key-handles/create create mode 100644 gcloud/alpha/kms/key-handles/describe create mode 100644 gcloud/alpha/kms/key-handles/help rename gcloud/alpha/{stacks/resources => kms/key-handles}/list (60%) delete mode 100644 gcloud/alpha/run/integrations/create delete mode 100644 gcloud/alpha/run/integrations/delete delete mode 100644 gcloud/alpha/run/integrations/help delete mode 100644 gcloud/alpha/run/integrations/list delete mode 100644 gcloud/alpha/run/integrations/types/describe delete mode 100644 gcloud/alpha/run/integrations/types/help delete mode 100644 gcloud/alpha/run/integrations/types/list delete mode 100644 gcloud/alpha/run/integrations/update delete mode 100644 gcloud/alpha/stacks/deploy delete mode 100644 gcloud/alpha/stacks/help delete mode 100644 gcloud/alpha/stacks/resources/delete delete mode 100644 gcloud/alpha/stacks/resources/export-graph delete mode 100644 gcloud/alpha/stacks/resources/help delete mode 100644 gcloud/alpha/stacks/types/help delete mode 100644 gcloud/alpha/stacks/types/list create mode 100644 gcloud/beta/netapp/storage-pools/validate-directory-service delete mode 100644 gcloud/beta/run/integrations/create delete mode 100644 gcloud/beta/run/integrations/delete delete mode 100644 gcloud/beta/run/integrations/describe delete mode 100644 gcloud/beta/run/integrations/help delete mode 100644 gcloud/beta/run/integrations/list delete mode 100644 gcloud/beta/run/integrations/types/describe delete mode 100644 gcloud/beta/run/integrations/types/help delete mode 100644 gcloud/beta/run/integrations/types/list delete mode 100644 gcloud/beta/run/integrations/update create mode 100644 gcloud/netapp/storage-pools/validate-directory-service diff --git a/gcloud/_version b/gcloud/_version index b49c71b46..473ef8c47 100644 --- a/gcloud/_version +++ b/gcloud/_version @@ -1,8 +1,8 @@ -Google Cloud SDK 506.0.0 -alpha 2025.01.10 -beta 2025.01.10 -bq 2.1.11 +Google Cloud SDK 507.0.0 +alpha 2025.01.17 +beta 2025.01.17 +bq 2.1.12 bundled-python3-unix 3.11.9 -core 2025.01.10 +core 2025.01.17 gcloud-crc32c 1.0.0 gsutil 5.33 diff --git a/gcloud/ai/indexes/create b/gcloud/ai/indexes/create index 05f185b83..739f6c457 100644 --- a/gcloud/ai/indexes/create +++ b/gcloud/ai/indexes/create @@ -38,14 +38,16 @@ OPTIONAL FLAGS created. --index-update-method=INDEX_UPDATE_METHOD - The update method to use with this index. Choose stream_update or - batch_update. If not set, batch update will be used by default. + The update method to use with this index. Choose stream-update or + batch-update (case insensitive). If not set, batch update will be used + by default. INDEX_UPDATE_METHOD must be one of: - batch_update: can update index with gcloud ai indexes update using - datapoints files on Cloud Storage. - - stream update: can update datapoints with upsert-datapoints and - delete-datapoints and will be applied nearly real-time. + batch-update + can update index with gcloud ai indexes update usingdatapoints + files on Cloud Storage. + stream-update + can update datapoints with upsert-datapoints and`delete-datapoints + and will be applied nearly real-time. --labels=[KEY=VALUE,...] List of label KEY=VALUE pairs to add. diff --git a/gcloud/alloydb/users/create b/gcloud/alloydb/users/create index d8aa29e3e..ffc927a07 100644 --- a/gcloud/alloydb/users/create +++ b/gcloud/alloydb/users/create @@ -3,7 +3,8 @@ NAME SYNOPSIS gcloud alloydb users create USERNAME --cluster=CLUSTER --region=REGION - [--db-roles=[ROLE,...]] [--password=PASSWORD] [--superuser=SUPERUSER] + [--db-roles=[ROLE,...]] [--keep-extra-roles=KEEP_EXTRA_ROLES] + [--password=PASSWORD] [--superuser=SUPERUSER] [--type=TYPE; default="BUILT_IN"] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -33,6 +34,9 @@ OPTIONAL FLAGS Comma separated list of database roles this new user will be granted upon creation. + --keep-extra-roles=KEEP_EXTRA_ROLES + If the user already exists and has extra roles, keep them. + --password=PASSWORD Password for this database user. diff --git a/gcloud/alpha/ai/indexes/create b/gcloud/alpha/ai/indexes/create index 40983d0f6..a35924d90 100644 --- a/gcloud/alpha/ai/indexes/create +++ b/gcloud/alpha/ai/indexes/create @@ -39,14 +39,16 @@ OPTIONAL FLAGS created. --index-update-method=INDEX_UPDATE_METHOD - The update method to use with this index. Choose stream_update or - batch_update. If not set, batch update will be used by default. + The update method to use with this index. Choose stream-update or + batch-update (case insensitive). If not set, batch update will be used + by default. INDEX_UPDATE_METHOD must be one of: - batch_update: can update index with gcloud ai indexes update using - datapoints files on Cloud Storage. - - stream update: can update datapoints with upsert-datapoints and - delete-datapoints and will be applied nearly real-time. + batch-update + can update index with gcloud ai indexes update usingdatapoints + files on Cloud Storage. + stream-update + can update datapoints with upsert-datapoints and`delete-datapoints + and will be applied nearly real-time. --labels=[KEY=VALUE,...] List of label KEY=VALUE pairs to add. diff --git a/gcloud/alpha/alloydb/users/create b/gcloud/alpha/alloydb/users/create index 19f3ac1ce..34748fce4 100644 --- a/gcloud/alpha/alloydb/users/create +++ b/gcloud/alpha/alloydb/users/create @@ -3,7 +3,8 @@ NAME SYNOPSIS gcloud alpha alloydb users create USERNAME --cluster=CLUSTER - --region=REGION [--db-roles=[ROLE,...]] [--password=PASSWORD] + --region=REGION [--db-roles=[ROLE,...]] + [--keep-extra-roles=KEEP_EXTRA_ROLES] [--password=PASSWORD] [--superuser=SUPERUSER] [--type=TYPE; default="BUILT_IN"] [GCLOUD_WIDE_FLAG ...] @@ -34,6 +35,9 @@ OPTIONAL FLAGS Comma separated list of database roles this new user will be granted upon creation. + --keep-extra-roles=KEEP_EXTRA_ROLES + If the user already exists and has extra roles, keep them. + --password=PASSWORD Password for this database user. diff --git a/gcloud/alpha/anthos/config/controller/create b/gcloud/alpha/anthos/config/controller/create index f25f34a60..0272e9c59 100644 --- a/gcloud/alpha/anthos/config/controller/create +++ b/gcloud/alpha/anthos/config/controller/create @@ -78,7 +78,7 @@ FLAGS Enable experimental features. It can only be enabled in ALPHA version. --full-management - Enable full cluster management type. This is a preview feature. + Enable full cluster management type. --man-block=MAN_BLOCK (DEPRECATED) Master Authorized Network. Allows access to the Kubernetes diff --git a/gcloud/alpha/compute/interconnects/attachments/groups/get-operational-status b/gcloud/alpha/compute/interconnects/attachments/groups/get-operational-status new file mode 100644 index 000000000..88e9316c7 --- /dev/null +++ b/gcloud/alpha/compute/interconnects/attachments/groups/get-operational-status @@ -0,0 +1,32 @@ +NAME + gcloud alpha compute interconnects attachments groups + get-operational-status - get the operational status of a Compute Engine + interconnect attachment group + +SYNOPSIS + gcloud alpha compute interconnects attachments groups + get-operational-status NAME [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) gcloud alpha compute interconnects attachments groups + get-operational-status gets the operational status of a Compute Engine + interconnect attachment group in a project. + +POSITIONAL ARGUMENTS + NAME + Name of the interconnect attachment group to get operational status. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/compute/interconnects/attachments/groups/help b/gcloud/alpha/compute/interconnects/attachments/groups/help index c67da256a..0d6483890 100644 --- a/gcloud/alpha/compute/interconnects/attachments/groups/help +++ b/gcloud/alpha/compute/interconnects/attachments/groups/help @@ -30,6 +30,10 @@ COMMANDS describe (ALPHA) Describe a Compute Engine interconnect attachment group. + get-operational-status + (ALPHA) Get the operational status of a Compute Engine interconnect + attachment group. + list (ALPHA) List Google Compute Engine interconnect attachment groups. diff --git a/gcloud/alpha/compute/interconnects/wire-groups/create b/gcloud/alpha/compute/interconnects/wire-groups/create index c11c4dbc5..c05fdd4bf 100644 --- a/gcloud/alpha/compute/interconnects/wire-groups/create +++ b/gcloud/alpha/compute/interconnects/wire-groups/create @@ -73,8 +73,8 @@ OPTIONAL FLAGS --fault-response=FAULT_RESPONSE The fault response for the wire group. FAULT_RESPONSE must be one of: - DISABLED_PORT - Disabled port + DISABLE_PORT + Disable port NONE None diff --git a/gcloud/alpha/compute/interconnects/wire-groups/delete b/gcloud/alpha/compute/interconnects/wire-groups/delete new file mode 100644 index 000000000..d39e02d15 --- /dev/null +++ b/gcloud/alpha/compute/interconnects/wire-groups/delete @@ -0,0 +1,34 @@ +NAME + gcloud alpha compute interconnects wire-groups delete - delete Compute + Engine wire groups + +SYNOPSIS + gcloud alpha compute interconnects wire-groups delete NAME [NAME ...] + --cross-site-network=CROSS_SITE_NETWORK [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) gcloud alpha compute interconnects wire-groups delete deletes + Compute Engine wire groups. + +POSITIONAL ARGUMENTS + NAME [NAME ...] + Names of the wire groups to delete. + +REQUIRED FLAGS + --cross-site-network=CROSS_SITE_NETWORK + Name of the crossSiteNetwork to operate on. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/run/integrations/describe b/gcloud/alpha/compute/interconnects/wire-groups/describe similarity index 51% rename from gcloud/alpha/run/integrations/describe rename to gcloud/alpha/compute/interconnects/wire-groups/describe index e50d9e06b..bbf699692 100644 --- a/gcloud/alpha/run/integrations/describe +++ b/gcloud/alpha/compute/interconnects/wire-groups/describe @@ -1,26 +1,22 @@ NAME - gcloud alpha run integrations describe - describe a Cloud Run Integration + gcloud alpha compute interconnects wire-groups describe - describe a + Compute Engine wire group SYNOPSIS - gcloud alpha run integrations describe NAME [--region=REGION] - [GCLOUD_WIDE_FLAG ...] + gcloud alpha compute interconnects wire-groups describe NAME + --cross-site-network=CROSS_SITE_NETWORK [GCLOUD_WIDE_FLAG ...] DESCRIPTION - (ALPHA) Describe a Cloud Run Integration. - -EXAMPLES - To describe an integration - - $ gcloud alpha run integrations describe my-redis-integration + (ALPHA) gcloud alpha compute interconnects wire-groups describe displays + all data associated with Compute Engine wire group in a project. POSITIONAL ARGUMENTS NAME - Name of the integration. + Name of the wire group to describe. -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. +REQUIRED FLAGS + --cross-site-network=CROSS_SITE_NETWORK + Name of the crossSiteNetwork to operate on. GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, @@ -34,7 +30,5 @@ NOTES This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations describe + access allowlist. diff --git a/gcloud/alpha/compute/interconnects/wire-groups/help b/gcloud/alpha/compute/interconnects/wire-groups/help index 98582c902..54572e826 100644 --- a/gcloud/alpha/compute/interconnects/wire-groups/help +++ b/gcloud/alpha/compute/interconnects/wire-groups/help @@ -20,9 +20,18 @@ COMMANDS create (ALPHA) Create a Compute Engine wire group. + delete + (ALPHA) Delete Compute Engine wire groups. + + describe + (ALPHA) Describe a Compute Engine wire group. + list (ALPHA) List Google Compute Engine wire groups. + update + (ALPHA) Update a Compute Engine wire group. + NOTES This command is currently in alpha and might change without notice. If this command fails with API permission errors despite specifying the correct diff --git a/gcloud/alpha/compute/interconnects/wire-groups/list b/gcloud/alpha/compute/interconnects/wire-groups/list index 1d8b44143..0d65a3b79 100644 --- a/gcloud/alpha/compute/interconnects/wire-groups/list +++ b/gcloud/alpha/compute/interconnects/wire-groups/list @@ -23,7 +23,7 @@ EXAMPLES REQUIRED FLAGS --cross-site-network=CROSS_SITE_NETWORK - A cross site network for the wire group. + Name of the crossSiteNetwork to operate on. LIST COMMAND FLAGS --filter=EXPRESSION diff --git a/gcloud/alpha/compute/interconnects/wire-groups/update b/gcloud/alpha/compute/interconnects/wire-groups/update new file mode 100644 index 000000000..dc6e4e155 --- /dev/null +++ b/gcloud/alpha/compute/interconnects/wire-groups/update @@ -0,0 +1,92 @@ +NAME + gcloud alpha compute interconnects wire-groups update - update a Compute + Engine wire group + +SYNOPSIS + gcloud alpha compute interconnects wire-groups update NAME + --cross-site-network=CROSS_SITE_NETWORK [--admin-enabled=ADMIN_ENABLED] + [--bandwidth-allocation=BANDWIDTH_ALLOCATION] + [--bandwidth-metered=BANDWIDTH_METERED] + [--bandwidth-unmetered=BANDWIDTH_UNMETERED] [--description=DESCRIPTION] + [--fault-response=FAULT_RESPONSE] + [--network-service-class=NETWORK_SERVICE_CLASS] [--type=TYPE] + [--validate-only=VALIDATE_ONLY] [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) gcloud alpha compute interconnects wire-groups update is used to + update wire groups. A wire group represents a group of redundant wires. + +POSITIONAL ARGUMENTS + NAME + Name of the wire group to update. + +REQUIRED FLAGS + --cross-site-network=CROSS_SITE_NETWORK + Name of the crossSiteNetwork to operate on. + +OPTIONAL FLAGS + --admin-enabled=ADMIN_ENABLED + Set admin-enabled on the wire group. + + --bandwidth-allocation=BANDWIDTH_ALLOCATION + The bandwidth allocation for the wire group. BANDWIDTH_ALLOCATION must + be one of: + + ALLOCATE_PER_WIRE + Allocate per wire. + SHARED_WITH_WIRE_GROUP + Shared with wire group. + + --bandwidth-metered=BANDWIDTH_METERED + The amount of metered bandwidth to assign to the wire group. + + --bandwidth-unmetered=BANDWIDTH_UNMETERED + The amount of unmetered bandwidth to assign to the wire group. + + --description=DESCRIPTION + An optional, textual description for the wire group. + + --fault-response=FAULT_RESPONSE + The fault response for the wire group. FAULT_RESPONSE must be one of: + + DISABLE_PORT + Disable port + NONE + None + + --network-service-class=NETWORK_SERVICE_CLASS + The network service class for the wire group. NETWORK_SERVICE_CLASS + must be one of: + + BRONZE + Bronze. + GOLD + Gold. + + --type=TYPE + The type for the wire group. TYPE must be one of: + + BOX_AND_CROSS + Box and cross + REDUNDANT + Redundant + WIRE + Wire + + --validate-only=VALIDATE_ONLY + Only validates the configuration, but does not create it. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/container/attached/clusters/register b/gcloud/alpha/container/attached/clusters/register index 6f066540b..feca9a040 100644 --- a/gcloud/alpha/container/attached/clusters/register +++ b/gcloud/alpha/container/attached/clusters/register @@ -13,6 +13,7 @@ SYNOPSIS [--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE] [--description=DESCRIPTION] [--enable-managed-prometheus] [--logging=COMPONENT,[COMPONENT,...]] [--validate-only] + [--disable-cloud-monitoring | --enable-cloud-monitoring] [--proxy-secret-name=PROXY_SECRET_NAME --proxy-secret-namespace=PROXY_SECRET_NAMESPACE] [GCLOUD_WIDE_FLAG ...] @@ -165,8 +166,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --logging=COMPONENT,[COMPONENT,...] Set the components that have logging enabled. @@ -183,6 +184,22 @@ OPTIONAL FLAGS --validate-only Validate the cluster to create, but don't actually perform it. + Cloud Monitoring Config + + At most one of these can be specified: + + --disable-cloud-monitoring + Disables managed collection for Cloud Monitoring in the cluster. + + Cloud Monitoring is enabled by default for all clusters. Beginning + with cluster version 1.31, use --disable-cloud-monitoring to disable. + + --enable-cloud-monitoring + Enables managed collection for Cloud Monitoring in the cluster. + + Cloud Monitoring is enabled by default for all clusters. Beginning + with cluster version 1.31, use --disable-cloud-monitoring to disable. + Proxy config --proxy-secret-name=PROXY_SECRET_NAME diff --git a/gcloud/alpha/container/attached/clusters/update b/gcloud/alpha/container/attached/clusters/update index c9d3205e6..e48845ebf 100644 --- a/gcloud/alpha/container/attached/clusters/update +++ b/gcloud/alpha/container/attached/clusters/update @@ -12,6 +12,7 @@ SYNOPSIS [--platform-version=PLATFORM_VERSION] [--validate-only] [--admin-groups=[GROUP,...] | --clear-admin-groups] [--admin-users=[USER,...] | --clear-admin-users] + [--disable-cloud-monitoring | --enable-cloud-monitoring] [--disable-managed-prometheus | --enable-managed-prometheus] [--proxy-secret-name=PROXY_SECRET_NAME --proxy-secret-namespace=PROXY_SECRET_NAMESPACE] @@ -122,6 +123,16 @@ FLAGS --clear-admin-users Clear the admin users associated with the cluster + Cloud Monitoring Config + + At most one of these can be specified: + + --disable-cloud-monitoring + Disable managed collection for Cloud Monitoring. + + --enable-cloud-monitoring + Enable managed collection for Cloud Monitoring. + Monitoring Config At most one of these can be specified: diff --git a/gcloud/alpha/container/aws/clusters/create b/gcloud/alpha/container/aws/clusters/create index 30384ccd5..26df922f7 100644 --- a/gcloud/alpha/container/aws/clusters/create +++ b/gcloud/alpha/container/aws/clusters/create @@ -158,8 +158,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --instance-placement=INSTANCE_PLACEMENT Type of the tenancy. INSTANCE_PLACEMENT must be one of: dedicated, diff --git a/gcloud/alpha/container/azure/clusters/create b/gcloud/alpha/container/azure/clusters/create index 47654ac20..233003517 100644 --- a/gcloud/alpha/container/azure/clusters/create +++ b/gcloud/alpha/container/azure/clusters/create @@ -181,8 +181,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --endpoint-subnet-id=ENDPOINT_SUBNET_ID ARM ID of the subnet where the control plane load balancer is deployed. diff --git a/gcloud/alpha/container/clusters/create b/gcloud/alpha/container/clusters/create index d78827d7d..fed334968 100644 --- a/gcloud/alpha/container/clusters/create +++ b/gcloud/alpha/container/clusters/create @@ -1341,6 +1341,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/alpha/container/node-pools/create b/gcloud/alpha/container/node-pools/create index b5fd86435..39ed38c17 100644 --- a/gcloud/alpha/container/node-pools/create +++ b/gcloud/alpha/container/node-pools/create @@ -30,6 +30,7 @@ SYNOPSIS [--logging-variant=LOGGING_VARIANT] [--machine-type=MACHINE_TYPE, -m MACHINE_TYPE] [--max-pods-per-node=MAX_PODS_PER_NODE] + [--max-run-duration=MAX_RUN_DURATION] [--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1] [--max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE] [--metadata=KEY=VALUE,[KEY=VALUE,...]] @@ -377,6 +378,13 @@ FLAGS Must be used in conjunction with '--enable-ip-alias'. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud alpha container node-pools create node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --max-surge-upgrade=MAX_SURGE_UPGRADE; default=1 Number of extra (surge) nodes to be created on each upgrade of the node pool. @@ -715,6 +723,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/alpha/container/node-pools/update b/gcloud/alpha/container/node-pools/update index cc3751a19..f4d56bcce 100644 --- a/gcloud/alpha/container/node-pools/update +++ b/gcloud/alpha/container/node-pools/update @@ -14,6 +14,7 @@ SYNOPSIS | --enable-image-streaming | --enable-insecure-kubelet-readonly-port | --enable-private-nodes | --enable-queued-provisioning | --labels=[KEY=VALUE,...] | --logging-variant=LOGGING_VARIANT + | --max-run-duration=MAX_RUN_DURATION | --network-performance-configs=[PROPERTY=VALUE,...] | --node-labels=[NODE_LABEL,...] | --node-locations=ZONE,[ZONE,...] | --node-taints=[NODE_TAINT,...] @@ -169,6 +170,13 @@ REQUIRED FLAGS 'MAX_THROUGHPUT' variant requests more node resources and is able to achieve logging throughput up to 10MB per sec. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud alpha container node-pools update node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --network-performance-configs=[PROPERTY=VALUE,...] Configures network performance settings for the node pool. If this flag is not specified, the pool will be created with its default @@ -286,6 +294,31 @@ REQUIRED FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit + suffix (e.g., '100Mi', '0.2Gi'. + The value must be between 10Mi + and 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower + than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than + imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. + The value must be less than + '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. + The value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/alpha/developer-connect/connections/create b/gcloud/alpha/developer-connect/connections/create index 94a11b20c..7480cb7ee 100644 --- a/gcloud/alpha/developer-connect/connections/create +++ b/gcloud/alpha/developer-connect/connections/create @@ -7,7 +7,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...]] [--async] [--disabled] [--etag=ETAG] [--labels=[LABELS,...]] [--location=LOCATION] [--namespace=NAMESPACE] [--request-id=REQUEST_ID] [--secret=SECRET] [--validate-only] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | [--bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION : --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE] | [--github-config-app=GITHUB_CONFIG_APP : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] + [[--github-config-app=GITHUB_CONFIG_APP + : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] [(--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING)] [GCLOUD_WIDE_FLAG ...] @@ -146,259 +147,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate and create - webhooks. This represents a Cloud resource. (NOTE) Some attributes are - not given arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command - line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate webhooks. - This represents a Cloud resource. (NOTE) Some attributes are not given - arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - This must be specified. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app=GITHUB_CONFIG_APP diff --git a/gcloud/alpha/developer-connect/connections/update b/gcloud/alpha/developer-connect/connections/update index 4bdd9da77..79714f6b3 100644 --- a/gcloud/alpha/developer-connect/connections/update +++ b/gcloud/alpha/developer-connect/connections/update @@ -10,7 +10,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...] | --update-annotations=[UPDATE_ANNOTATIONS,...] --clear-annotations | --remove-annotations=[__REMOVE_ANNOTATIONS,...]] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE | --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] + [--github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID + --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] [--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING] [--labels=[LABELS,...] @@ -172,181 +173,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID diff --git a/gcloud/alpha/filestore/instances/update b/gcloud/alpha/filestore/instances/update index 2ea1ec483..c7645d678 100644 --- a/gcloud/alpha/filestore/instances/update +++ b/gcloud/alpha/filestore/instances/update @@ -46,8 +46,8 @@ EXAMPLES "squash-mode": "ROOT_SQUASH", "anon_uid": 1003, "anon_gid": 1003 - }, - ], + } + ] } } diff --git a/gcloud/alpha/firestore/indexes/composite/create b/gcloud/alpha/firestore/indexes/composite/create index 8c88000db..25c661e2a 100644 --- a/gcloud/alpha/firestore/indexes/composite/create +++ b/gcloud/alpha/firestore/indexes/composite/create @@ -58,7 +58,7 @@ REQUIRED FLAGS Shorthand Example: - --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' + --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} JSON Example: diff --git a/gcloud/alpha/iam/oauth-clients/create b/gcloud/alpha/iam/oauth-clients/create index ad514300a..8d2270c86 100644 --- a/gcloud/alpha/iam/oauth-clients/create +++ b/gcloud/alpha/iam/oauth-clients/create @@ -83,7 +83,10 @@ REQUIRED FLAGS ◆ openid: Associate you with your personal info on Google Cloud. - ◆ email: View your Google Cloud Account email address. + ◆ email: The OAuth client can read a federated identity's email + address. + + ◆ groups: The OAuth client can read a federated identity's groups. --client-type=CLIENT_TYPE The type of OAuth client. CLIENT_TYPE must be one of: diff --git a/gcloud/alpha/iam/oauth-clients/update b/gcloud/alpha/iam/oauth-clients/update index 64c1e01f7..1510bc978 100644 --- a/gcloud/alpha/iam/oauth-clients/update +++ b/gcloud/alpha/iam/oauth-clients/update @@ -81,7 +81,10 @@ FLAGS ◆ openid: Associate you with your personal info on Google Cloud. - ◆ email: View your Google Cloud Account email address. + ◆ email: The OAuth client can read a federated identity's email + address. + + ◆ groups: The OAuth client can read a federated identity's groups. --description=DESCRIPTION A description of the OAuth client. Cannot exceed 256 characters. diff --git a/gcloud/alpha/stacks/resources/describe b/gcloud/alpha/kms/autokey-config/describe similarity index 56% rename from gcloud/alpha/stacks/resources/describe rename to gcloud/alpha/kms/autokey-config/describe index 6ff0344e6..e4d437003 100644 --- a/gcloud/alpha/stacks/resources/describe +++ b/gcloud/alpha/kms/autokey-config/describe @@ -1,26 +1,24 @@ NAME - gcloud alpha stacks resources describe - describe a Stacks resource + gcloud alpha kms autokey-config describe - describe the AutokeyConfig of a + folder SYNOPSIS - gcloud alpha stacks resources describe NAME [--region=REGION] + gcloud alpha kms autokey-config describe --folder=FOLDER [GCLOUD_WIDE_FLAG ...] DESCRIPTION - (ALPHA) Describe a Stacks resource. + (ALPHA) gcloud alpha kms autokey-config describe can be used to retrieve + the AutokeyConfig of a folder. EXAMPLES - To describe an resource + The following command retrieves the AutokeyConfig of a folder having + folder-id 123: - $ gcloud alpha stacks resources describe my-resource + $ gcloud alpha kms autokey-config describe --folder=123 -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. +REQUIRED FLAGS + --folder=FOLDER + The folder id in which the autokey config resource exists. GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, diff --git a/gcloud/alpha/kms/autokey-config/help b/gcloud/alpha/kms/autokey-config/help new file mode 100644 index 000000000..b395cec1b --- /dev/null +++ b/gcloud/alpha/kms/autokey-config/help @@ -0,0 +1,34 @@ +NAME + gcloud alpha kms autokey-config - update and retrieve the Autokey Config + +SYNOPSIS + gcloud alpha kms autokey-config COMMAND [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) Autokey config is a folder level resource which configures the key + project for the folder and the resources inside it. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --help. + + Run $ gcloud help for details. + +COMMANDS + COMMAND is one of the following: + + describe + (ALPHA) Describe the AutokeyConfig of a folder. + + show-effective-config + (ALPHA) Gets the effective Cloud KMS Autokey configuration for a given + project. + + update + (ALPHA) Updates the AutokeyConfig for a folder. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/kms/autokey-config/show-effective-config b/gcloud/alpha/kms/autokey-config/show-effective-config new file mode 100644 index 000000000..e2f3e8990 --- /dev/null +++ b/gcloud/alpha/kms/autokey-config/show-effective-config @@ -0,0 +1,35 @@ +NAME + gcloud alpha kms autokey-config show-effective-config - gets the effective + Cloud KMS Autokey configuration for a given project + +SYNOPSIS + gcloud alpha kms autokey-config show-effective-config + [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) gcloud alpha kms autokey-config show-effective-config can be used + to get the effective Cloud KMS Autokey configuration for a given project. + +EXAMPLES + The following command retrieves the effective Cloud KMS Autokey + configuration for a given project my-project: + + $ gcloud alpha kms autokey-config show-effective-config \ + --project=my-project + + If --project flag is not provided, then the current project will be used. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/stacks/types/describe b/gcloud/alpha/kms/autokey-config/update similarity index 56% rename from gcloud/alpha/stacks/types/describe rename to gcloud/alpha/kms/autokey-config/update index e8c277063..c7c6cc018 100644 --- a/gcloud/alpha/stacks/types/describe +++ b/gcloud/alpha/kms/autokey-config/update @@ -1,26 +1,23 @@ NAME - gcloud alpha stacks types describe - describes a Stacks type + gcloud alpha kms autokey-config update - updates the AutokeyConfig for a + folder SYNOPSIS - gcloud alpha stacks types describe TYPE [--region=REGION] - [GCLOUD_WIDE_FLAG ...] + gcloud alpha kms autokey-config update CONFIG_FILE [GCLOUD_WIDE_FLAG ...] DESCRIPTION - (ALPHA) Describes a Stacks type. + (ALPHA) gcloud alpha kms autokey-config update can be used to update the + AutokeyConfig of a folder. EXAMPLES - To describe a Stacks type + The following command updates the AutokeyConfig for the folder mentioned in + the config.yaml file: - $ gcloud alpha stacks types describe [TYPE] + $ gcloud alpha kms autokey-config update config.yaml POSITIONAL ARGUMENTS - TYPE - Type of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. + CONFIG_FILE + The file containing the autokey config resource. GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, diff --git a/gcloud/alpha/kms/help b/gcloud/alpha/kms/help index 47db6d5fb..7229f59c0 100644 --- a/gcloud/alpha/kms/help +++ b/gcloud/alpha/kms/help @@ -28,6 +28,9 @@ GCLOUD WIDE FLAGS GROUPS GROUP is one of the following: + autokey-config + (ALPHA) Update and retrieve the Autokey Config. + ekm-config (ALPHA) Update and retrieve the EkmConfig. @@ -40,6 +43,9 @@ GROUPS inventory (ALPHA) Manages the KMS Inventory and Key Tracking commands. + key-handles + (ALPHA) Create and manage key-handles. + keyrings (ALPHA) Create and manage keyrings. diff --git a/gcloud/alpha/kms/key-handles/create b/gcloud/alpha/kms/key-handles/create new file mode 100644 index 000000000..7aedfab2d --- /dev/null +++ b/gcloud/alpha/kms/key-handles/create @@ -0,0 +1,69 @@ +NAME + gcloud alpha kms key-handles create - create a new key handle + +SYNOPSIS + gcloud alpha kms key-handles create --location=LOCATION + --resource-type=RESOURCE_TYPE + (--generate-key-handle-id | --key-handle-id=KEY_HANDLE_ID) + [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) Creates a new KeyHandle, triggering the provisioning of a new + CryptoKey for CMEK use with the given resource type in the configured key + project and the same location + +EXAMPLES + The following command creates a key handle named my-key-handle within the + location global for the resource type compute.googleapis.com/Disk: + + $ gcloud alpha kms key-handles create \ + --key-handle-id=my-key-handle --my-key-handle \ + --location=global --resource-type=compute.googleapis.com/Disk + + In case we want to generate a random key handle id, we can use the + --generate-key-handle-id flag instead of the --key-handle-id flag. + +REQUIRED FLAGS + Location resource - The KMS location resource. This represents a Cloud + resource. (NOTE) Some attributes are not given arguments in this group but + can be set in other ways. + + To set the project attribute: + ◆ provide the argument --location on the command line with a fully + specified name; + ◆ set the property core/project. + + This must be specified. + + --location=LOCATION + ID of the location or fully qualified identifier for the location. + + To set the location attribute: + ▸ provide the argument --location on the command line. + + --resource-type=RESOURCE_TYPE + The resource type selector for key handles of the form + {SERVICE}.googleapis.com/{TYPE}. + + Exactly one of these must be specified: + + --generate-key-handle-id + Generate a key handle id for the new key handle. + + --key-handle-id=KEY_HANDLE_ID + The key handle id for the new key handle. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/kms/key-handles/describe b/gcloud/alpha/kms/key-handles/describe new file mode 100644 index 000000000..67e1d421a --- /dev/null +++ b/gcloud/alpha/kms/key-handles/describe @@ -0,0 +1,67 @@ +NAME + gcloud alpha kms key-handles describe - get metadata for a key handle + +SYNOPSIS + gcloud alpha kms key-handles describe (KEY_HANDLE : --location=LOCATION) + [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) Get metadata for a key handle. + +EXAMPLES + The following command gets metadata for a key handle named my-key-handle in + the locations us-central1. + + $ gcloud alpha kms key-handles describe my-key-handle \ + --location=us-central1 + +POSITIONAL ARGUMENTS + Key handle resource - The key handle to get metadata 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 ways. + + To set the project attribute: + ◆ provide the argument key_handle on the command line with a fully + specified name; + ◆ provide the argument --project on the command line; + ◆ set the property core/project. + + This must be specified. + + KEY_HANDLE + ID of the key handle or fully qualified identifier for the key + handle. + + To set the key_handle attribute: + ▸ provide the argument key_handle on the command line. + + This positional argument must be specified if any of the other + arguments in this group are specified. + + --location=LOCATION + The location of the resource. + + To set the location attribute: + ▸ provide the argument key_handle on the command line with a fully + specified name; + ▸ provide the argument --location on the command line. + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +API REFERENCE + This command uses the cloudkms/v1 API. The full documentation for this API + can be found at: https://cloud.google.com/kms/ + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/kms/key-handles/help b/gcloud/alpha/kms/key-handles/help new file mode 100644 index 000000000..e9a16d13b --- /dev/null +++ b/gcloud/alpha/kms/key-handles/help @@ -0,0 +1,33 @@ +NAME + gcloud alpha kms key-handles - create and manage key-handles + +SYNOPSIS + gcloud alpha kms key-handles COMMAND [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (ALPHA) A key-handle is a resource which contains a reference to a KMS + CryptoKey resource that can be used through existing CMEK channels + +GCLOUD WIDE FLAGS + These flags are available to all commands: --help. + + Run $ gcloud help for details. + +COMMANDS + COMMAND is one of the following: + + create + (ALPHA) Create a new key handle. + + describe + (ALPHA) Get metadata for a key handle. + + list + (ALPHA) List keyhandles within a project and location. + +NOTES + This command is currently in alpha and might change without notice. If this + command fails with API permission errors despite specifying the correct + project, you might be trying to access an API with an invitation-only early + access allowlist. + diff --git a/gcloud/alpha/stacks/resources/list b/gcloud/alpha/kms/key-handles/list similarity index 60% rename from gcloud/alpha/stacks/resources/list rename to gcloud/alpha/kms/key-handles/list index c56f4db2d..3094febff 100644 --- a/gcloud/alpha/stacks/resources/list +++ b/gcloud/alpha/kms/key-handles/list @@ -1,38 +1,50 @@ NAME - gcloud alpha stacks resources list - list Stacks resources + gcloud alpha kms key-handles list - list keyhandles within a project and + location SYNOPSIS - gcloud alpha stacks resources list [--region=REGION] [--service=SERVICE] - [--type=TYPE] [--filter=EXPRESSION] [--limit=LIMIT] + gcloud alpha kms key-handles list --location=LOCATION + --resource-type=RESOURCE_TYPE [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...] DESCRIPTION - (ALPHA) List Stacks resources. + (ALPHA) Lists all keyhandles within a given project and location. + Addtionally, can filter the list. EXAMPLES - List all resources within the current project + The following command lists a maximum of five key handles in the location + global: - $ gcloud alpha stacks resources list + $ gcloud alpha kms key-handles list --location=global --limit=5 - List all resources of a particular type + The following command lists all key handles in the location global that + have a resource type selector of compute.googleapis.com/Instance: - $ gcloud alpha stacks resources list --type=redis + $ gcloud alpha kms key-handles list --location=global \ + --resource-type=compute.googleapis.com/Instance - List all resources attached to a particular service +REQUIRED FLAGS + Location resource - The KMS location resource. This represents a Cloud + resource. (NOTE) Some attributes are not given arguments in this group but + can be set in other ways. - $ gcloud alpha stacks resources list --service=my-service + To set the project attribute: + ◆ provide the argument --location on the command line with a fully + specified name; + ◆ set the property core/project. -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. + This must be specified. - --service=SERVICE - Filter Integrations by Name of Cloud Run service. + --location=LOCATION + ID of the location or fully qualified identifier for the location. - --type=TYPE - Filter Integrations by Type of Integration. + To set the location attribute: + ▸ provide the argument --location on the command line. + + --resource-type=RESOURCE_TYPE + The resource type selector for key handles of the form + {SERVICE}.googleapis.com/{TYPE}. LIST COMMAND FLAGS --filter=EXPRESSION diff --git a/gcloud/alpha/memorystore/instances/create b/gcloud/alpha/memorystore/instances/create index 418dd930a..a043c12c7 100644 --- a/gcloud/alpha/memorystore/instances/create +++ b/gcloud/alpha/memorystore/instances/create @@ -170,8 +170,8 @@ OPTIONAL FLAGS cluster Instance is in cluster mode. - standalone - Instance is in standalone mode. + cluster-disabled + Cluster mode is disabled for the instance. --node-type=NODE_TYPE Machine type for individual nodes of the instance. NODE_TYPE must be diff --git a/gcloud/alpha/network-connectivity/internal-ranges/create b/gcloud/alpha/network-connectivity/internal-ranges/create index 5ffdbc7e7..a751b5a78 100644 --- a/gcloud/alpha/network-connectivity/internal-ranges/create +++ b/gcloud/alpha/network-connectivity/internal-ranges/create @@ -160,8 +160,7 @@ OPTIONAL FLAGS for-migration Ranges created with FOR_MIGRATION are used as locks for migrating - subnetworks between peered VPC networks. This value is for internal - use. + subnetworks between peered VPC networks. for-vpc A cloud resource can use the reserved CIDR block by associating it @@ -178,14 +177,14 @@ OPTIONAL FLAGS --migration-source=MIGRATION_SOURCE The migration source subnetwork (of a for-migration internal range) - resource URI or resource ID. This value is for internal use. + resource URI or resource ID. This flag argument must be specified if any of the other arguments in this group are specified. --migration-target=MIGRATION_TARGET The migration target subnetwork (of a for-migration internal range) - resource URI or resource ID. This value is for internal use. + resource URI or resource ID. This flag argument must be specified if any of the other arguments in this group are specified. diff --git a/gcloud/alpha/redis/clusters/add-cluster-endpoints b/gcloud/alpha/redis/clusters/add-cluster-endpoints index 6eb728b1c..1a9a3615c 100644 --- a/gcloud/alpha/redis/clusters/add-cluster-endpoints +++ b/gcloud/alpha/redis/clusters/add-cluster-endpoints @@ -94,7 +94,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' + --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] JSON Example: diff --git a/gcloud/alpha/redis/clusters/remove-cluster-endpoints b/gcloud/alpha/redis/clusters/remove-cluster-endpoints index fb8b346bf..1086fe53f 100644 --- a/gcloud/alpha/redis/clusters/remove-cluster-endpoints +++ b/gcloud/alpha/redis/clusters/remove-cluster-endpoints @@ -76,7 +76,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' + --cluster-endpoint=psc-connection=[{psc-connection-id=string}] --cluster-endpoint=psc-connection=[{psc-connection-id=string}] JSON Example: diff --git a/gcloud/alpha/run/help b/gcloud/alpha/run/help index 5941472d9..2f3e2a8e7 100644 --- a/gcloud/alpha/run/help +++ b/gcloud/alpha/run/help @@ -26,9 +26,6 @@ GROUPS domain-mappings (ALPHA) View and manage your Cloud Run domain mappings. - integrations - (ALPHA) View and manage your Cloud Run (fully managed) integrations. - jobs (ALPHA) View and manage your Cloud Run jobs. diff --git a/gcloud/alpha/run/integrations/create b/gcloud/alpha/run/integrations/create deleted file mode 100644 index d38cf9fac..000000000 --- a/gcloud/alpha/run/integrations/create +++ /dev/null @@ -1,64 +0,0 @@ -NAME - gcloud alpha run integrations create - create a Cloud Run Integration - -SYNOPSIS - gcloud alpha run integrations create --type=TYPE [--name=NAME] - [--parameters=[PARAMETER=VALUE,...]] [--region=REGION] - [--service=SERVICE] [--service-account=SERVICE_ACCOUNT] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Create a Cloud Run Integration. - -EXAMPLES - To create and attach a redis instance to a Cloud Run service - - $ gcloud alpha run integrations create --type=redis \ - --service=myservice - - To attach a custom domain to a Cloud Run service - - $ gcloud alpha run integrations create --type=custom-domains \ - --parameters='set-mapping=example.com/*:myservice' - -REQUIRED FLAGS - --type=TYPE - Type of the integration. To see available types and usage, use "gcloud - run integrations types list" command. - -OPTIONAL FLAGS - --name=NAME - Name of the integration. - - --parameters=[PARAMETER=VALUE,...] - Comma-separated list of parameter names and values. Names must be one - of the parameters shown when describing the integration type. Only - simple values can be specified with this flag. - - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service=SERVICE - Name of the Cloud Run service to attach to the integration. It is - required for some integrations. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations create - diff --git a/gcloud/alpha/run/integrations/delete b/gcloud/alpha/run/integrations/delete deleted file mode 100644 index 517d3a6e6..000000000 --- a/gcloud/alpha/run/integrations/delete +++ /dev/null @@ -1,44 +0,0 @@ -NAME - gcloud alpha run integrations delete - delete a Cloud Run Integration and - its associated resources - -SYNOPSIS - gcloud alpha run integrations delete NAME [--region=REGION] - [--service-account=SERVICE_ACCOUNT] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Delete a Cloud Run Integration and its associated resources. - -EXAMPLES - To delete a redis integration and the associated resources - - $ gcloud alpha run integrations delete my-redis-integration - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations delete - diff --git a/gcloud/alpha/run/integrations/help b/gcloud/alpha/run/integrations/help deleted file mode 100644 index 845fc11e2..000000000 --- a/gcloud/alpha/run/integrations/help +++ /dev/null @@ -1,59 +0,0 @@ -NAME - gcloud alpha run integrations - view and manage your Cloud Run - (fully managed) integrations - -SYNOPSIS - gcloud alpha run integrations GROUP | COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) This set of commands can be used to view and manage your Cloud Run - integrations. - -EXAMPLES - To list your existing integrations, run: - - $ gcloud alpha run integrations list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -GROUPS - GROUP is one of the following: - - types - (ALPHA) View available Cloud Run (fully managed) integrations types. - -COMMANDS - COMMAND is one of the following: - - create - (ALPHA) Create a Cloud Run Integration. - - delete - (ALPHA) Delete a Cloud Run Integration and its associated resources. - - describe - (ALPHA) Describe a Cloud Run Integration. - - list - (ALPHA) List Cloud Run Integrations. - - update - (ALPHA) Update a Cloud Run Integration. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations - diff --git a/gcloud/alpha/run/integrations/list b/gcloud/alpha/run/integrations/list deleted file mode 100644 index 62ef3980f..000000000 --- a/gcloud/alpha/run/integrations/list +++ /dev/null @@ -1,84 +0,0 @@ -NAME - gcloud alpha run integrations list - list Cloud Run Integrations - -SYNOPSIS - gcloud alpha run integrations list [--region=REGION] [--service=SERVICE] - [--type=TYPE] [--filter=EXPRESSION] [--limit=LIMIT] - [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) List Cloud Run Integrations. - -EXAMPLES - List all Cloud Run Integrations within the current project - - $ gcloud alpha run integrations list - - List all Cloud Run Integrations of a particular type - - $ gcloud alpha run integrations list --type=redis - - List all Cloud Run Integrations attached to a particular Service - - $ gcloud alpha run integrations list --service=my-service - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service=SERVICE - Filter Integrations by Name of Cloud Run service. - - --type=TYPE - Filter Integrations by Type of Integration. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations list - diff --git a/gcloud/alpha/run/integrations/types/describe b/gcloud/alpha/run/integrations/types/describe deleted file mode 100644 index 6d16478c8..000000000 --- a/gcloud/alpha/run/integrations/types/describe +++ /dev/null @@ -1,41 +0,0 @@ -NAME - gcloud alpha run integrations types describe - describes a Cloud Run - Integration type - -SYNOPSIS - gcloud alpha run integrations types describe TYPE [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Describes a Cloud Run Integration type. - -EXAMPLES - To describe an integration type - - $ gcloud alpha run integrations types describe [TYPE] - -POSITIONAL ARGUMENTS - TYPE - Type of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations types describe - diff --git a/gcloud/alpha/run/integrations/types/help b/gcloud/alpha/run/integrations/types/help deleted file mode 100644 index 163acb92d..000000000 --- a/gcloud/alpha/run/integrations/types/help +++ /dev/null @@ -1,44 +0,0 @@ -NAME - gcloud alpha run integrations types - view available Cloud Run - (fully managed) integrations types - -SYNOPSIS - gcloud alpha run integrations types COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) This set of commands can be used to view Cloud Run integrations - types. - -EXAMPLES - To list available integrations types, run: - - $ gcloud alpha run integrations types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -COMMANDS - COMMAND is one of the following: - - describe - (ALPHA) Describes a Cloud Run Integration type. - - list - (ALPHA) Lists Cloud Run Integration Types. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations types - diff --git a/gcloud/alpha/run/integrations/types/list b/gcloud/alpha/run/integrations/types/list deleted file mode 100644 index 9f8cd411f..000000000 --- a/gcloud/alpha/run/integrations/types/list +++ /dev/null @@ -1,70 +0,0 @@ -NAME - gcloud alpha run integrations types list - lists Cloud Run Integration - Types - -SYNOPSIS - gcloud alpha run integrations types list [--region=REGION] - [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] - [--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Lists Cloud Run Integration Types. - -EXAMPLES - To list all integration types - - $ gcloud alpha run integrations types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations types list - diff --git a/gcloud/alpha/run/integrations/update b/gcloud/alpha/run/integrations/update deleted file mode 100644 index 354506f2a..000000000 --- a/gcloud/alpha/run/integrations/update +++ /dev/null @@ -1,60 +0,0 @@ -NAME - gcloud alpha run integrations update - update a Cloud Run Integration - -SYNOPSIS - gcloud alpha run integrations update NAME - [--parameters=[PARAMETER=VALUE,...]] [--region=REGION] - [--service-account=SERVICE_ACCOUNT] - [--add-service=ADD_SERVICE | --remove-service=REMOVE_SERVICE] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Update a Cloud Run Integration. - -EXAMPLES - To update a redis integration to change the cache size - - $ gcloud alpha run integrations update redis-integration \ - --parameters=memory-size-gb=5 - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --parameters=[PARAMETER=VALUE,...] - Comma-separated list of parameter names and values. Names must be one - of the parameters shown when describing the integration type. Only - simple values can be specified with this flag. - - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - - At most one of these can be specified: - - --add-service=ADD_SERVICE - Name of the Cloud Run service to attach to the integration. - - --remove-service=REMOVE_SERVICE - Name of the Cloud Run service to remove from the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. This variant is also available: - - $ gcloud beta run integrations update - diff --git a/gcloud/alpha/spanner/instances/create b/gcloud/alpha/spanner/instances/create index ce6f347ac..c4cd12b37 100644 --- a/gcloud/alpha/spanner/instances/create +++ b/gcloud/alpha/spanner/instances/create @@ -8,7 +8,10 @@ SYNOPSIS [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS)] + | [--autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS) : --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS]]] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -56,7 +59,7 @@ OPTIONAL FLAGS database is created in an instance. --edition=EDITION - Cloud Spanner edition. EDITION must be one of: + Spanner edition. EDITION must be one of: EDITION_UNSPECIFIED Spanner's legacy pricing model. For more information, see the @@ -116,6 +119,9 @@ OPTIONAL FLAGS This flag argument must be specified if any of the other arguments in this group are specified. + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + Autoscaling limits can be defined in either nodes or processing units. Exactly one of these must be specified: diff --git a/gcloud/alpha/spanner/instances/update b/gcloud/alpha/spanner/instances/update index 93434cc58..773f6922e 100644 --- a/gcloud/alpha/spanner/instances/update +++ b/gcloud/alpha/spanner/instances/update @@ -7,7 +7,15 @@ SYNOPSIS [--description=DESCRIPTION] [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] + | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + | --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + --autoscaling-max-nodes=AUTOSCALING_MAX_NODES + --autoscaling-min-nodes=AUTOSCALING_MIN_NODES + | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS + --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -52,13 +60,15 @@ FLAGS Description of the instance. --edition=EDITION - Cloud Spanner edition. You can upgrade your Standard edition instance - to the ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also - upgrade your Enterprise edition instance to the ENTERPRISE_PLUS - edition. Self-service downgrade isn't available. To downgrade the - edition of your instance, file a support ticket. For more information, - see the Spanner editions overview - (https://cloud.google.com/spanner/docs/editions-overview) + Spanner edition. You can upgrade your Standard edition instance to the + ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also upgrade + your Enterprise edition instance to the ENTERPRISE_PLUS edition. You + can downgrade your ENTERPRISE_PLUS edition instance to the ENTERPRISE + or STANDARD edition. You can also downgrade your ENTERPRISE edition + instance to the STANDARD edition. You must stop using the higher-tier + edition features in order to downgrade. Otherwise, downgrade fails. For + more information, see Spanner editions overview + (https://cloud.google.com/spanner/docs/editions-overview). --expire-behavior=EXPIRE_BEHAVIOR The expire behavior of a free trial instance. EXPIRE_BEHAVIOR must be @@ -101,6 +111,15 @@ FLAGS Specifies the target percentage of storage the autoscaled instance can utilize. + At most one of these can be specified: + + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + + --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + Specify a comma separated list of locations from which to remove + asymmetric autoscaling options + Autoscaling limits can be defined in either nodes or processing units. At most one of these can be specified: diff --git a/gcloud/alpha/stacks/deploy b/gcloud/alpha/stacks/deploy deleted file mode 100644 index 493cc8d1f..000000000 --- a/gcloud/alpha/stacks/deploy +++ /dev/null @@ -1,43 +0,0 @@ -NAME - gcloud alpha stacks deploy - create or replace an application from a YAML - specification - -SYNOPSIS - gcloud alpha stacks deploy FILE [--region=REGION] - [--service-account=SERVICE_ACCOUNT] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Create or replace an application from a YAML specification. - -EXAMPLES - To create an application from specification - - $ gcloud alpha stacks deploy stack.yaml - -POSITIONAL ARGUMENTS - FILE - The absolute path to the YAML file with an application definition to - update or deploy. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/help b/gcloud/alpha/stacks/help deleted file mode 100644 index 8fafdc1c7..000000000 --- a/gcloud/alpha/stacks/help +++ /dev/null @@ -1,47 +0,0 @@ -NAME - gcloud alpha stacks - view and manage your Stacks resources - -SYNOPSIS - gcloud alpha stacks GROUP | COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) This set of commands can be used to view and manage your Stacks - resources. - -EXAMPLES - To deploy your existing Stacks resources, run: - - $ gcloud alpha stacks deploy stacks.yaml - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -GROUPS - GROUP is one of the following: - - resources - (ALPHA) Stacks resources command group. - - types - (ALPHA) View available Stacks Types. - -COMMANDS - COMMAND is one of the following: - - deploy - (ALPHA) Create or replace an application from a YAML specification. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/resources/delete b/gcloud/alpha/stacks/resources/delete deleted file mode 100644 index f61e56c30..000000000 --- a/gcloud/alpha/stacks/resources/delete +++ /dev/null @@ -1,42 +0,0 @@ -NAME - gcloud alpha stacks resources delete - delete a Stacks resource and its - associated bindings - -SYNOPSIS - gcloud alpha stacks resources delete NAME [--region=REGION] - [--service-account=SERVICE_ACCOUNT] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Delete a Stacks resource and its associated bindings. - -EXAMPLES - To delete a resources and the associated bindings - - $ gcloud alpha stacks resources delete my-resource - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/resources/export-graph b/gcloud/alpha/stacks/resources/export-graph deleted file mode 100644 index 349977da1..000000000 --- a/gcloud/alpha/stacks/resources/export-graph +++ /dev/null @@ -1,63 +0,0 @@ -NAME - gcloud alpha stacks resources export-graph - export a graph for Stacks - resources - -SYNOPSIS - gcloud alpha stacks resources export-graph [--region=REGION] - [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] - [--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Export a graph for Stacks resources. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/resources/help b/gcloud/alpha/stacks/resources/help deleted file mode 100644 index 73fd9940a..000000000 --- a/gcloud/alpha/stacks/resources/help +++ /dev/null @@ -1,46 +0,0 @@ -NAME - gcloud alpha stacks resources - stacks resources command group - -SYNOPSIS - gcloud alpha stacks resources COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) This set of commands can be used to view Cloud Run resources. - -EXAMPLES - To list Stacks resources, run: - - $ gcloud alpha stacks resources list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -COMMANDS - COMMAND is one of the following: - - delete - (ALPHA) Delete a Stacks resource and its associated bindings. - - describe - (ALPHA) Describe a Stacks resource. - - export-graph - (ALPHA) Export a graph for Stacks resources. - - list - (ALPHA) List Stacks resources. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/types/help b/gcloud/alpha/stacks/types/help deleted file mode 100644 index 26d5adb71..000000000 --- a/gcloud/alpha/stacks/types/help +++ /dev/null @@ -1,39 +0,0 @@ -NAME - gcloud alpha stacks types - view available Stacks Types - -SYNOPSIS - gcloud alpha stacks types COMMAND [--region=REGION] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) This set of commands can be used to view Stacks Types. - -EXAMPLES - To list available Stacks types, run: - - $ gcloud alpha stacks types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -COMMANDS - COMMAND is one of the following: - - describe - (ALPHA) Describes a Stacks type. - - list - (ALPHA) Lists Stacks Types. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/alpha/stacks/types/list b/gcloud/alpha/stacks/types/list deleted file mode 100644 index 21cb68c3d..000000000 --- a/gcloud/alpha/stacks/types/list +++ /dev/null @@ -1,67 +0,0 @@ -NAME - gcloud alpha stacks types list - lists Stacks Types - -SYNOPSIS - gcloud alpha stacks types list [--region=REGION] [--filter=EXPRESSION] - [--limit=LIMIT] [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (ALPHA) Lists Stacks Types. - -EXAMPLES - To list all types - - $ gcloud alpha stacks types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in alpha and might change without notice. If this - command fails with API permission errors despite specifying the correct - project, you might be trying to access an API with an invitation-only early - access allowlist. - diff --git a/gcloud/anthos/config/controller/create b/gcloud/anthos/config/controller/create index 05735c615..0b2245e20 100644 --- a/gcloud/anthos/config/controller/create +++ b/gcloud/anthos/config/controller/create @@ -74,7 +74,7 @@ FLAGS used to automatically create a GKE-managed one. --full-management - Enable full cluster management type. This is a preview feature. + Enable full cluster management type. --man-block=MAN_BLOCK (DEPRECATED) Master Authorized Network. Allows access to the Kubernetes diff --git a/gcloud/beta/ai/indexes/create b/gcloud/beta/ai/indexes/create index fb2e1edfd..b09a9d61f 100644 --- a/gcloud/beta/ai/indexes/create +++ b/gcloud/beta/ai/indexes/create @@ -39,14 +39,16 @@ OPTIONAL FLAGS created. --index-update-method=INDEX_UPDATE_METHOD - The update method to use with this index. Choose stream_update or - batch_update. If not set, batch update will be used by default. + The update method to use with this index. Choose stream-update or + batch-update (case insensitive). If not set, batch update will be used + by default. INDEX_UPDATE_METHOD must be one of: - batch_update: can update index with gcloud ai indexes update using - datapoints files on Cloud Storage. - - stream update: can update datapoints with upsert-datapoints and - delete-datapoints and will be applied nearly real-time. + batch-update + can update index with gcloud ai indexes update usingdatapoints + files on Cloud Storage. + stream-update + can update datapoints with upsert-datapoints and`delete-datapoints + and will be applied nearly real-time. --labels=[KEY=VALUE,...] List of label KEY=VALUE pairs to add. diff --git a/gcloud/beta/alloydb/users/create b/gcloud/beta/alloydb/users/create index 6ad209569..64019c315 100644 --- a/gcloud/beta/alloydb/users/create +++ b/gcloud/beta/alloydb/users/create @@ -3,7 +3,8 @@ NAME SYNOPSIS gcloud beta alloydb users create USERNAME --cluster=CLUSTER --region=REGION - [--db-roles=[ROLE,...]] [--password=PASSWORD] [--superuser=SUPERUSER] + [--db-roles=[ROLE,...]] [--keep-extra-roles=KEEP_EXTRA_ROLES] + [--password=PASSWORD] [--superuser=SUPERUSER] [--type=TYPE; default="BUILT_IN"] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -33,6 +34,9 @@ OPTIONAL FLAGS Comma separated list of database roles this new user will be granted upon creation. + --keep-extra-roles=KEEP_EXTRA_ROLES + If the user already exists and has extra roles, keep them. + --password=PASSWORD Password for this database user. diff --git a/gcloud/beta/container/clusters/create b/gcloud/beta/container/clusters/create index ec0c44350..4a368b893 100644 --- a/gcloud/beta/container/clusters/create +++ b/gcloud/beta/container/clusters/create @@ -1306,6 +1306,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/beta/container/node-pools/create b/gcloud/beta/container/node-pools/create index 174572b2e..c65dd6555 100644 --- a/gcloud/beta/container/node-pools/create +++ b/gcloud/beta/container/node-pools/create @@ -29,6 +29,7 @@ SYNOPSIS [--logging-variant=LOGGING_VARIANT] [--machine-type=MACHINE_TYPE, -m MACHINE_TYPE] [--max-pods-per-node=MAX_PODS_PER_NODE] + [--max-run-duration=MAX_RUN_DURATION] [--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1] [--max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE] [--metadata=KEY=VALUE,[KEY=VALUE,...]] @@ -361,6 +362,13 @@ FLAGS Must be used in conjunction with '--enable-ip-alias'. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud beta container node-pools create node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --max-surge-upgrade=MAX_SURGE_UPGRADE; default=1 Number of extra (surge) nodes to be created on each upgrade of the node pool. @@ -697,6 +705,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/beta/container/node-pools/update b/gcloud/beta/container/node-pools/update index 7b110ae40..8329c2e45 100644 --- a/gcloud/beta/container/node-pools/update +++ b/gcloud/beta/container/node-pools/update @@ -14,6 +14,7 @@ SYNOPSIS | --enable-image-streaming | --enable-insecure-kubelet-readonly-port | --enable-private-nodes | --enable-queued-provisioning | --labels=[KEY=VALUE,...] | --logging-variant=LOGGING_VARIANT + | --max-run-duration=MAX_RUN_DURATION | --network-performance-configs=[PROPERTY=VALUE,...] | --node-labels=[NODE_LABEL,...] | --node-locations=ZONE,[ZONE,...] | --node-taints=[NODE_TAINT,...] @@ -169,6 +170,13 @@ REQUIRED FLAGS 'MAX_THROUGHPUT' variant requests more node resources and is able to achieve logging throughput up to 10MB per sec. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud beta container node-pools update node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --network-performance-configs=[PROPERTY=VALUE,...] Configures network performance settings for the node pool. If this flag is not specified, the pool will be created with its default @@ -286,6 +294,31 @@ REQUIRED FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit + suffix (e.g., '100Mi', '0.2Gi'. + The value must be between 10Mi + and 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower + than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than + imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. + The value must be less than + '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. + The value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/beta/developer-connect/connections/create b/gcloud/beta/developer-connect/connections/create index 641dce5b9..7b6f70e2a 100644 --- a/gcloud/beta/developer-connect/connections/create +++ b/gcloud/beta/developer-connect/connections/create @@ -7,7 +7,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...]] [--async] [--disabled] [--etag=ETAG] [--labels=[LABELS,...]] [--location=LOCATION] [--namespace=NAMESPACE] [--request-id=REQUEST_ID] [--secret=SECRET] [--validate-only] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | [--bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION : --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE] | [--github-config-app=GITHUB_CONFIG_APP : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] + [[--github-config-app=GITHUB_CONFIG_APP + : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] [(--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING)] [GCLOUD_WIDE_FLAG ...] @@ -146,259 +147,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate and create - webhooks. This represents a Cloud resource. (NOTE) Some attributes are - not given arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command - line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate webhooks. - This represents a Cloud resource. (NOTE) Some attributes are not given - arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - This must be specified. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app=GITHUB_CONFIG_APP diff --git a/gcloud/beta/developer-connect/connections/update b/gcloud/beta/developer-connect/connections/update index 7d44bdd17..d0c6fabdc 100644 --- a/gcloud/beta/developer-connect/connections/update +++ b/gcloud/beta/developer-connect/connections/update @@ -10,7 +10,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...] | --update-annotations=[UPDATE_ANNOTATIONS,...] --clear-annotations | --remove-annotations=[__REMOVE_ANNOTATIONS,...]] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE | --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] + [--github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID + --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] [--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING] [--labels=[LABELS,...] @@ -172,181 +173,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID diff --git a/gcloud/beta/filestore/instances/update b/gcloud/beta/filestore/instances/update index 9620b1bb8..295b3c692 100644 --- a/gcloud/beta/filestore/instances/update +++ b/gcloud/beta/filestore/instances/update @@ -49,8 +49,8 @@ EXAMPLES "squash-mode": "ROOT_SQUASH", "anon_uid": 1003, "anon_gid": 1003 - }, - ], + } + ] } } diff --git a/gcloud/beta/firestore/indexes/composite/create b/gcloud/beta/firestore/indexes/composite/create index 1cef12cfa..38e1018ff 100644 --- a/gcloud/beta/firestore/indexes/composite/create +++ b/gcloud/beta/firestore/indexes/composite/create @@ -58,7 +58,7 @@ REQUIRED FLAGS Shorthand Example: - --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' + --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} JSON Example: diff --git a/gcloud/beta/iam/principal-access-boundary-policies/create b/gcloud/beta/iam/principal-access-boundary-policies/create index dd32ef10b..478df54e9 100644 --- a/gcloud/beta/iam/principal-access-boundary-policies/create +++ b/gcloud/beta/iam/principal-access-boundary-policies/create @@ -126,7 +126,7 @@ FLAGS Shorthand Example: - --details-rules=description=string,effect=string,resources=["string"] --details-rules=description=string,effect=string,resources=["string"] + --details-rules=description=string,effect=string,resources=[string] --details-rules=description=string,effect=string,resources=[string] JSON Example: diff --git a/gcloud/beta/iam/principal-access-boundary-policies/update b/gcloud/beta/iam/principal-access-boundary-policies/update index 086dbbb2d..89567898d 100644 --- a/gcloud/beta/iam/principal-access-boundary-policies/update +++ b/gcloud/beta/iam/principal-access-boundary-policies/update @@ -178,7 +178,7 @@ FLAGS Shorthand Example: - --details-rules=description=string,effect=string,resources=["string"] --details-rules=description=string,effect=string,resources=["string"] + --details-rules=description=string,effect=string,resources=[string] --details-rules=description=string,effect=string,resources=[string] JSON Example: @@ -218,7 +218,7 @@ FLAGS Shorthand Example: - --add-details-rules=description=string,effect=string,resources=["string"] --add-details-rules=description=string,effect=string,resources=["string"] + --add-details-rules=description=string,effect=string,resources=[string] --add-details-rules=description=string,effect=string,resources=[string] JSON Example: @@ -263,7 +263,7 @@ FLAGS Shorthand Example: - --remove-details-rules=description=string,effect=string,resources=["string"] --remove-details-rules=description=string,effect=string,resources=["string"] + --remove-details-rules=description=string,effect=string,resources=[string] --remove-details-rules=description=string,effect=string,resources=[string] JSON Example: diff --git a/gcloud/beta/memorystore/instances/create b/gcloud/beta/memorystore/instances/create index 5aa4e8a5a..a34bb0148 100644 --- a/gcloud/beta/memorystore/instances/create +++ b/gcloud/beta/memorystore/instances/create @@ -170,8 +170,8 @@ OPTIONAL FLAGS cluster Instance is in cluster mode. - standalone - Instance is in standalone mode. + cluster-disabled + Cluster mode is disabled for the instance. --node-type=NODE_TYPE Machine type for individual nodes of the instance. NODE_TYPE must be diff --git a/gcloud/beta/netapp/storage-pools/help b/gcloud/beta/netapp/storage-pools/help index 4c786cf93..927165778 100644 --- a/gcloud/beta/netapp/storage-pools/help +++ b/gcloud/beta/netapp/storage-pools/help @@ -34,6 +34,9 @@ COMMANDS update (BETA) Update a Cloud NetApp Storage Pool. + validate-directory-service + (BETA) Validate directory service for a Cloud Netapp storage pool. + NOTES This command is currently in beta and might change without notice. These variants are also available: diff --git a/gcloud/beta/netapp/storage-pools/validate-directory-service b/gcloud/beta/netapp/storage-pools/validate-directory-service new file mode 100644 index 000000000..f57699f48 --- /dev/null +++ b/gcloud/beta/netapp/storage-pools/validate-directory-service @@ -0,0 +1,75 @@ +NAME + gcloud beta netapp storage-pools validate-directory-service - validate + directory service for a Cloud Netapp storage pool + +SYNOPSIS + gcloud beta netapp storage-pools validate-directory-service + (STORAGE_POOL : --location=LOCATION) [--async] + [--directory-service-type=DIRECTORY_SERVICE_TYPE] + [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + (BETA) Validate the directory service for a Cloud Netapp storage pool. + +EXAMPLES + The following command validates the directory service of type + ACTIVE_DIRECTORY for a storage pool named NAME: + + $ gcloud beta netapp storage-pools validate-directory-service NAME \ + --location=us-central1 --directory-service-type=ACTIVE_DIRECTORY + +POSITIONAL ARGUMENTS + Storage pool resource - The Storage Pool to validate. 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 ways. + + To set the project attribute: + ◆ provide the argument storage_pool on the command line with a fully + specified name; + ◆ provide the argument --project on the command line; + ◆ set the property core/project. + + This must be specified. + + STORAGE_POOL + ID of the storage_pool or fully qualified identifier for the + storage_pool. + + To set the storage_pool attribute: + ▸ provide the argument storage_pool on the command line. + + This positional argument must be specified if any of the other + arguments in this group are specified. + + --location=LOCATION + The location of the storage_pool. + + To set the location attribute: + ▸ provide the argument storage_pool on the command line with a + fully specified name; + ▸ provide the argument --location on the command line; + ▸ set the property netapp/location. + +FLAGS + --async + Return immediately, without waiting for the operation in progress to + complete. + + --directory-service-type=DIRECTORY_SERVICE_TYPE + String indicating directory service type for the Storage Pool + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This command is currently in beta and might change without notice. This + variant is also available: + + $ gcloud netapp storage-pools validate-directory-service + diff --git a/gcloud/beta/redis/clusters/add-cluster-endpoints b/gcloud/beta/redis/clusters/add-cluster-endpoints index 4f1b9213e..1a21f0b29 100644 --- a/gcloud/beta/redis/clusters/add-cluster-endpoints +++ b/gcloud/beta/redis/clusters/add-cluster-endpoints @@ -94,7 +94,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' + --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] JSON Example: diff --git a/gcloud/beta/redis/clusters/remove-cluster-endpoints b/gcloud/beta/redis/clusters/remove-cluster-endpoints index 25ff679d6..aaf267687 100644 --- a/gcloud/beta/redis/clusters/remove-cluster-endpoints +++ b/gcloud/beta/redis/clusters/remove-cluster-endpoints @@ -76,7 +76,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' + --cluster-endpoint=psc-connection=[{psc-connection-id=string}] --cluster-endpoint=psc-connection=[{psc-connection-id=string}] JSON Example: diff --git a/gcloud/beta/run/help b/gcloud/beta/run/help index 9059013df..9f84fcf01 100644 --- a/gcloud/beta/run/help +++ b/gcloud/beta/run/help @@ -26,9 +26,6 @@ GROUPS domain-mappings (BETA) View and manage your Cloud Run domain mappings. - integrations - (BETA) View and manage your Cloud Run (fully managed) integrations. - jobs (BETA) View and manage your Cloud Run jobs. diff --git a/gcloud/beta/run/integrations/create b/gcloud/beta/run/integrations/create deleted file mode 100644 index 840075ed7..000000000 --- a/gcloud/beta/run/integrations/create +++ /dev/null @@ -1,62 +0,0 @@ -NAME - gcloud beta run integrations create - create a Cloud Run Integration - -SYNOPSIS - gcloud beta run integrations create --type=TYPE [--name=NAME] - [--parameters=[PARAMETER=VALUE,...]] [--region=REGION] - [--service=SERVICE] [--service-account=SERVICE_ACCOUNT] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Create a Cloud Run Integration. - -EXAMPLES - To create and attach a redis instance to a Cloud Run service - - $ gcloud beta run integrations create --type=redis \ - --service=myservice - - To attach a custom domain to a Cloud Run service - - $ gcloud beta run integrations create --type=custom-domains \ - --parameters='set-mapping=example.com/*:myservice' - -REQUIRED FLAGS - --type=TYPE - Type of the integration. To see available types and usage, use "gcloud - run integrations types list" command. - -OPTIONAL FLAGS - --name=NAME - Name of the integration. - - --parameters=[PARAMETER=VALUE,...] - Comma-separated list of parameter names and values. Names must be one - of the parameters shown when describing the integration type. Only - simple values can be specified with this flag. - - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service=SERVICE - Name of the Cloud Run service to attach to the integration. It is - required for some integrations. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations create - diff --git a/gcloud/beta/run/integrations/delete b/gcloud/beta/run/integrations/delete deleted file mode 100644 index fa480461f..000000000 --- a/gcloud/beta/run/integrations/delete +++ /dev/null @@ -1,42 +0,0 @@ -NAME - gcloud beta run integrations delete - delete a Cloud Run Integration and - its associated resources - -SYNOPSIS - gcloud beta run integrations delete NAME [--region=REGION] - [--service-account=SERVICE_ACCOUNT] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Delete a Cloud Run Integration and its associated resources. - -EXAMPLES - To delete a redis integration and the associated resources - - $ gcloud beta run integrations delete my-redis-integration - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations delete - diff --git a/gcloud/beta/run/integrations/describe b/gcloud/beta/run/integrations/describe deleted file mode 100644 index 314a8e296..000000000 --- a/gcloud/beta/run/integrations/describe +++ /dev/null @@ -1,38 +0,0 @@ -NAME - gcloud beta run integrations describe - describe a Cloud Run Integration - -SYNOPSIS - gcloud beta run integrations describe NAME [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Describe a Cloud Run Integration. - -EXAMPLES - To describe an integration - - $ gcloud beta run integrations describe my-redis-integration - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations describe - diff --git a/gcloud/beta/run/integrations/help b/gcloud/beta/run/integrations/help deleted file mode 100644 index 7f13df071..000000000 --- a/gcloud/beta/run/integrations/help +++ /dev/null @@ -1,57 +0,0 @@ -NAME - gcloud beta run integrations - view and manage your Cloud Run - (fully managed) integrations - -SYNOPSIS - gcloud beta run integrations GROUP | COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) This set of commands can be used to view and manage your Cloud Run - integrations. - -EXAMPLES - To list your existing integrations, run: - - $ gcloud beta run integrations list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -GROUPS - GROUP is one of the following: - - types - (BETA) View available Cloud Run (fully managed) integrations types. - -COMMANDS - COMMAND is one of the following: - - create - (BETA) Create a Cloud Run Integration. - - delete - (BETA) Delete a Cloud Run Integration and its associated resources. - - describe - (BETA) Describe a Cloud Run Integration. - - list - (BETA) List Cloud Run Integrations. - - update - (BETA) Update a Cloud Run Integration. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations - diff --git a/gcloud/beta/run/integrations/list b/gcloud/beta/run/integrations/list deleted file mode 100644 index 36c130859..000000000 --- a/gcloud/beta/run/integrations/list +++ /dev/null @@ -1,82 +0,0 @@ -NAME - gcloud beta run integrations list - list Cloud Run Integrations - -SYNOPSIS - gcloud beta run integrations list [--region=REGION] [--service=SERVICE] - [--type=TYPE] [--filter=EXPRESSION] [--limit=LIMIT] - [--page-size=PAGE_SIZE] [--sort-by=[FIELD,...]] [--uri] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) List Cloud Run Integrations. - -EXAMPLES - List all Cloud Run Integrations within the current project - - $ gcloud beta run integrations list - - List all Cloud Run Integrations of a particular type - - $ gcloud beta run integrations list --type=redis - - List all Cloud Run Integrations attached to a particular Service - - $ gcloud beta run integrations list --service=my-service - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service=SERVICE - Filter Integrations by Name of Cloud Run service. - - --type=TYPE - Filter Integrations by Type of Integration. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations list - diff --git a/gcloud/beta/run/integrations/types/describe b/gcloud/beta/run/integrations/types/describe deleted file mode 100644 index 29f3fe81e..000000000 --- a/gcloud/beta/run/integrations/types/describe +++ /dev/null @@ -1,39 +0,0 @@ -NAME - gcloud beta run integrations types describe - describes a Cloud Run - Integration type - -SYNOPSIS - gcloud beta run integrations types describe TYPE [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Describes a Cloud Run Integration type. - -EXAMPLES - To describe an integration type - - $ gcloud beta run integrations types describe [TYPE] - -POSITIONAL ARGUMENTS - TYPE - Type of the integration. - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations types describe - diff --git a/gcloud/beta/run/integrations/types/help b/gcloud/beta/run/integrations/types/help deleted file mode 100644 index 037a51c1c..000000000 --- a/gcloud/beta/run/integrations/types/help +++ /dev/null @@ -1,42 +0,0 @@ -NAME - gcloud beta run integrations types - view available Cloud Run - (fully managed) integrations types - -SYNOPSIS - gcloud beta run integrations types COMMAND [--region=REGION] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) This set of commands can be used to view Cloud Run integrations - types. - -EXAMPLES - To list available integrations types, run: - - $ gcloud beta run integrations types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --help. - - Run $ gcloud help for details. - -COMMANDS - COMMAND is one of the following: - - describe - (BETA) Describes a Cloud Run Integration type. - - list - (BETA) Lists Cloud Run Integration Types. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations types - diff --git a/gcloud/beta/run/integrations/types/list b/gcloud/beta/run/integrations/types/list deleted file mode 100644 index bdbae1db2..000000000 --- a/gcloud/beta/run/integrations/types/list +++ /dev/null @@ -1,67 +0,0 @@ -NAME - gcloud beta run integrations types list - lists Cloud Run Integration Types - -SYNOPSIS - gcloud beta run integrations types list [--region=REGION] - [--filter=EXPRESSION] [--limit=LIMIT] [--page-size=PAGE_SIZE] - [--sort-by=[FIELD,...]] [--uri] [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Lists Cloud Run Integration Types. - -EXAMPLES - To list all integration types - - $ gcloud beta run integrations types list - -FLAGS - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - -LIST COMMAND FLAGS - --filter=EXPRESSION - Apply a Boolean filter EXPRESSION to each resource item to be listed. - If the expression evaluates True, then that item is listed. For more - details and examples of filter expressions, run $ gcloud topic filters. - This flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --limit=LIMIT - Maximum number of resources to list. The default is unlimited. This - flag interacts with other flags that are applied in this order: - --flatten, --sort-by, --filter, --limit. - - --page-size=PAGE_SIZE - Some services group resource list output into pages. This flag - specifies the maximum number of resources per page. The default is - determined by the service if it supports paging, otherwise it is - unlimited (no paging). Paging may be applied before or after --filter - and --limit depending on the service. - - --sort-by=[FIELD,...] - Comma-separated list of resource field key names to sort by. The - default order is ascending. Prefix a field with ``~'' for descending - order on that field. This flag interacts with other flags that are - applied in this order: --flatten, --sort-by, --filter, --limit. - - --uri - Print a list of resource URIs instead of the default output, and change - the command output to a list of URIs. If this flag is used with - --format, the formatting is applied on this URI list. To display URIs - alongside other keys instead, use the uri() transform. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations types list - diff --git a/gcloud/beta/run/integrations/update b/gcloud/beta/run/integrations/update deleted file mode 100644 index 179252057..000000000 --- a/gcloud/beta/run/integrations/update +++ /dev/null @@ -1,58 +0,0 @@ -NAME - gcloud beta run integrations update - update a Cloud Run Integration - -SYNOPSIS - gcloud beta run integrations update NAME - [--parameters=[PARAMETER=VALUE,...]] [--region=REGION] - [--service-account=SERVICE_ACCOUNT] - [--add-service=ADD_SERVICE | --remove-service=REMOVE_SERVICE] - [GCLOUD_WIDE_FLAG ...] - -DESCRIPTION - (BETA) Update a Cloud Run Integration. - -EXAMPLES - To update a redis integration to change the cache size - - $ gcloud beta run integrations update redis-integration \ - --parameters=memory-size-gb=5 - -POSITIONAL ARGUMENTS - NAME - Name of the integration. - -FLAGS - --parameters=[PARAMETER=VALUE,...] - Comma-separated list of parameter names and values. Names must be one - of the parameters shown when describing the integration type. Only - simple values can be specified with this flag. - - --region=REGION - Region in which the resource can be found. Alternatively, set the - property [run/region]. - - --service-account=SERVICE_ACCOUNT - Name of the service account to use when deploying the integration. - - At most one of these can be specified: - - --add-service=ADD_SERVICE - Name of the Cloud Run service to attach to the integration. - - --remove-service=REMOVE_SERVICE - Name of the Cloud Run service to remove from the integration. - -GCLOUD WIDE FLAGS - These flags are available to all commands: --access-token-file, --account, - --billing-project, --configuration, --flags-file, --flatten, --format, - --help, --impersonate-service-account, --log-http, --project, --quiet, - --trace-token, --user-output-enabled, --verbosity. - - Run $ gcloud help for details. - -NOTES - This command is currently in beta and might change without notice. This - variant is also available: - - $ gcloud alpha run integrations update - diff --git a/gcloud/beta/spanner/instances/create b/gcloud/beta/spanner/instances/create index dc514c6d0..3e3831781 100644 --- a/gcloud/beta/spanner/instances/create +++ b/gcloud/beta/spanner/instances/create @@ -8,7 +8,10 @@ SYNOPSIS [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS)] + | [--autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS) : --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS]]] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -56,7 +59,7 @@ OPTIONAL FLAGS database is created in an instance. --edition=EDITION - Cloud Spanner edition. EDITION must be one of: + Spanner edition. EDITION must be one of: EDITION_UNSPECIFIED Spanner's legacy pricing model. For more information, see the @@ -116,6 +119,9 @@ OPTIONAL FLAGS This flag argument must be specified if any of the other arguments in this group are specified. + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + Autoscaling limits can be defined in either nodes or processing units. Exactly one of these must be specified: diff --git a/gcloud/beta/spanner/instances/update b/gcloud/beta/spanner/instances/update index 15402d8b6..cceb342f5 100644 --- a/gcloud/beta/spanner/instances/update +++ b/gcloud/beta/spanner/instances/update @@ -7,7 +7,15 @@ SYNOPSIS [--description=DESCRIPTION] [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] + | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + | --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + --autoscaling-max-nodes=AUTOSCALING_MAX_NODES + --autoscaling-min-nodes=AUTOSCALING_MIN_NODES + | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS + --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -52,13 +60,15 @@ FLAGS Description of the instance. --edition=EDITION - Cloud Spanner edition. You can upgrade your Standard edition instance - to the ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also - upgrade your Enterprise edition instance to the ENTERPRISE_PLUS - edition. Self-service downgrade isn't available. To downgrade the - edition of your instance, file a support ticket. For more information, - see the Spanner editions overview - (https://cloud.google.com/spanner/docs/editions-overview) + Spanner edition. You can upgrade your Standard edition instance to the + ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also upgrade + your Enterprise edition instance to the ENTERPRISE_PLUS edition. You + can downgrade your ENTERPRISE_PLUS edition instance to the ENTERPRISE + or STANDARD edition. You can also downgrade your ENTERPRISE edition + instance to the STANDARD edition. You must stop using the higher-tier + edition features in order to downgrade. Otherwise, downgrade fails. For + more information, see Spanner editions overview + (https://cloud.google.com/spanner/docs/editions-overview). --expire-behavior=EXPIRE_BEHAVIOR The expire behavior of a free trial instance. EXPIRE_BEHAVIOR must be @@ -101,6 +111,15 @@ FLAGS Specifies the target percentage of storage the autoscaled instance can utilize. + At most one of these can be specified: + + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + + --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + Specify a comma separated list of locations from which to remove + asymmetric autoscaling options + Autoscaling limits can be defined in either nodes or processing units. At most one of these can be specified: diff --git a/gcloud/container/attached/clusters/register b/gcloud/container/attached/clusters/register index c41261e28..cf0e0b64d 100644 --- a/gcloud/container/attached/clusters/register +++ b/gcloud/container/attached/clusters/register @@ -12,6 +12,7 @@ SYNOPSIS [--binauthz-evaluation-mode=BINAUTHZ_EVALUATION_MODE] [--description=DESCRIPTION] [--enable-managed-prometheus] [--logging=COMPONENT,[COMPONENT,...]] [--validate-only] + [--disable-cloud-monitoring | --enable-cloud-monitoring] [--proxy-secret-name=PROXY_SECRET_NAME --proxy-secret-namespace=PROXY_SECRET_NAMESPACE] [GCLOUD_WIDE_FLAG ...] @@ -161,8 +162,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --logging=COMPONENT,[COMPONENT,...] Set the components that have logging enabled. @@ -179,6 +180,22 @@ OPTIONAL FLAGS --validate-only Validate the cluster to create, but don't actually perform it. + Cloud Monitoring Config + + At most one of these can be specified: + + --disable-cloud-monitoring + Disables managed collection for Cloud Monitoring in the cluster. + + Cloud Monitoring is enabled by default for all clusters. Beginning + with cluster version 1.31, use --disable-cloud-monitoring to disable. + + --enable-cloud-monitoring + Enables managed collection for Cloud Monitoring in the cluster. + + Cloud Monitoring is enabled by default for all clusters. Beginning + with cluster version 1.31, use --disable-cloud-monitoring to disable. + Proxy config --proxy-secret-name=PROXY_SECRET_NAME diff --git a/gcloud/container/attached/clusters/update b/gcloud/container/attached/clusters/update index 56d8b18cc..d624386a2 100644 --- a/gcloud/container/attached/clusters/update +++ b/gcloud/container/attached/clusters/update @@ -10,6 +10,7 @@ SYNOPSIS [--platform-version=PLATFORM_VERSION] [--validate-only] [--admin-groups=[GROUP,...] | --clear-admin-groups] [--admin-users=[USER,...] | --clear-admin-users] + [--disable-cloud-monitoring | --enable-cloud-monitoring] [--disable-managed-prometheus | --enable-managed-prometheus] [--proxy-secret-name=PROXY_SECRET_NAME --proxy-secret-namespace=PROXY_SECRET_NAMESPACE] @@ -119,6 +120,16 @@ FLAGS --clear-admin-users Clear the admin users associated with the cluster + Cloud Monitoring Config + + At most one of these can be specified: + + --disable-cloud-monitoring + Disable managed collection for Cloud Monitoring. + + --enable-cloud-monitoring + Enable managed collection for Cloud Monitoring. + Monitoring Config At most one of these can be specified: diff --git a/gcloud/container/aws/clusters/create b/gcloud/container/aws/clusters/create index fd64b5261..f15dbc835 100644 --- a/gcloud/container/aws/clusters/create +++ b/gcloud/container/aws/clusters/create @@ -157,8 +157,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --instance-type=INSTANCE_TYPE AWS EC2 instance type for the control plane's nodes. diff --git a/gcloud/container/azure/clusters/create b/gcloud/container/azure/clusters/create index 10845cf7e..cfc895166 100644 --- a/gcloud/container/azure/clusters/create +++ b/gcloud/container/azure/clusters/create @@ -180,8 +180,8 @@ OPTIONAL FLAGS https://cloud.google.com/stackdriver/docs/managed-prometheus/setup-managed#enable-mgdcoll-gke for more info. - Enabled by default for cluster versions 1.27 or greater, use - --no-enable-managed-prometheus to disable. + Managed Prometheus is enabled by default for cluster versions 1.27 or + greater, use --no-enable-managed-prometheus to disable. --endpoint-subnet-id=ENDPOINT_SUBNET_ID ARM ID of the subnet where the control plane load balancer is deployed. diff --git a/gcloud/container/clusters/create b/gcloud/container/clusters/create index 653384582..e13c96ab1 100644 --- a/gcloud/container/clusters/create +++ b/gcloud/container/clusters/create @@ -1249,6 +1249,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/container/node-pools/create b/gcloud/container/node-pools/create index 8ada8c903..eb474f225 100644 --- a/gcloud/container/node-pools/create +++ b/gcloud/container/node-pools/create @@ -27,6 +27,7 @@ SYNOPSIS [--logging-variant=LOGGING_VARIANT] [--machine-type=MACHINE_TYPE, -m MACHINE_TYPE] [--max-pods-per-node=MAX_PODS_PER_NODE] + [--max-run-duration=MAX_RUN_DURATION] [--max-surge-upgrade=MAX_SURGE_UPGRADE; default=1] [--max-unavailable-upgrade=MAX_UNAVAILABLE_UPGRADE] [--metadata=KEY=VALUE,[KEY=VALUE,...]] @@ -349,6 +350,13 @@ FLAGS Must be used in conjunction with '--enable-ip-alias'. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud container node-pools create node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --max-surge-upgrade=MAX_SURGE_UPGRADE; default=1 Number of extra (surge) nodes to be created on each upgrade of the node pool. @@ -685,6 +693,28 @@ FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit suffix + (e.g., '100Mi', '0.2Gi'. The + value must be between 10Mi and + 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. The + value must be less than '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. The + value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/container/node-pools/update b/gcloud/container/node-pools/update index 9c8881c0f..a1bb7ba05 100644 --- a/gcloud/container/node-pools/update +++ b/gcloud/container/node-pools/update @@ -14,6 +14,7 @@ SYNOPSIS | --enable-image-streaming | --enable-insecure-kubelet-readonly-port | --enable-private-nodes | --enable-queued-provisioning | --labels=[KEY=VALUE,...] | --logging-variant=LOGGING_VARIANT + | --max-run-duration=MAX_RUN_DURATION | --network-performance-configs=[PROPERTY=VALUE,...] | --node-labels=[NODE_LABEL,...] | --node-locations=ZONE,[ZONE,...] | --node-taints=[NODE_TAINT,...] @@ -170,6 +171,13 @@ REQUIRED FLAGS 'MAX_THROUGHPUT' variant requests more node resources and is able to achieve logging throughput up to 10MB per sec. + --max-run-duration=MAX_RUN_DURATION + Limit the runtime of each node in the node pool to the specified + duration. + + $ gcloud container node-pools update node-pool-1 \ + --cluster=example-cluster --max-run-duration=3600s + --network-performance-configs=[PROPERTY=VALUE,...] Configures network performance settings for the node pool. If this flag is not specified, the pool will be created with its default @@ -287,6 +295,31 @@ REQUIRED FLAGS podPidsLimit integer (The value must be greater than or equal to 1024 and less than 4194304.) + containerLogMaxSize positive number plus unit + suffix (e.g., '100Mi', '0.2Gi'. + The value must be between 10Mi + and 500Mi.) + containerLogMaxFiles integer (The value must be + between [2, 10].) + imageGcLowThresholdPercent integer (The value must be + between [10, 85], and lower + than + imageGcHighThresholdPercent.) + imageGcHighThresholdPercent integer (The value must be + between [10, 85], and greater + than + imageGcLowThresholdPercent.) + imageMinimumGcAge interval (e.g., '100s', '1m'. + The value must be less than + '2m'.) + imageMaximumGcAge interval (e.g., '100s', '1m'. + The value must be greater than + imageMinimumGcAge.) + allowedUnsafeSysctls list of sysctls (Allowlisted + groups: 'kernel.shm*', + 'kernel.msg*', 'kernel.sem', + 'fs.mqueue.*', and 'net.*', and + sysctls under the groups.) List of supported sysctls in 'linuxConfig'. diff --git a/gcloud/database-migration/connection-profiles/create/sqlserver b/gcloud/database-migration/connection-profiles/create/sqlserver index 00dd4159a..7b17b09ee 100644 --- a/gcloud/database-migration/connection-profiles/create/sqlserver +++ b/gcloud/database-migration/connection-profiles/create/sqlserver @@ -4,13 +4,12 @@ NAME SYNOPSIS gcloud database-migration connection-profiles create sqlserver - (CONNECTION_PROFILE : --region=REGION) - (--cloudsql-instance=CLOUDSQL_INSTANCE - --username=USERNAME (--password=PASSWORD | --prompt-for-password) - | [--gcs-bucket=GCS_BUCKET - : --gcs-prefix=GCS_PREFIX --provider=PROVIDER]) [--no-async] + (CONNECTION_PROFILE : --region=REGION) [--no-async] [--display-name=DISPLAY_NAME] [--labels=[KEY=VALUE,...]] [--role=ROLE] - [GCLOUD_WIDE_FLAG ...] + [--gcs-bucket=GCS_BUCKET : --gcs-prefix=GCS_PREFIX --provider=PROVIDER] + [--username=USERNAME (--password=PASSWORD | --prompt-for-password) + : --cloudsql-instance=CLOUDSQL_INSTANCE + --cloudsql-project-id=CLOUDSQL_PROJECT_ID] [GCLOUD_WIDE_FLAG ...] DESCRIPTION Create a Database Migration Service connection profile for SQL Server. @@ -60,53 +59,7 @@ POSITIONAL ARGUMENTS a fully specified name; ▸ provide the argument --region on the command line. -REQUIRED FLAGS - Exactly one of these must be specified: - - --cloudsql-instance=CLOUDSQL_INSTANCE - If the source or destination is a Cloud SQL database, then use this - field to provide the respective Cloud SQL instance ID. - - This flag argument must be specified if any of the other arguments in - this group are specified. - - --username=USERNAME - Username that Database Migration Service uses to connect to the - database for metrics and observability. We highly recommend that you - use the sqlserver user for this. Database Migration Service encrypts - the value when storing it. - - This flag argument must be specified if any of the other arguments in - this group are specified. - - Exactly one of these must be specified: - - --password=PASSWORD - Password for the user that Database Migration Service uses to - connect to the database. Database Migration Service encrypts the - value when storing it, and the field is not returned on request. - - --prompt-for-password - Prompt for the password used to connect to the database. - - --gcs-bucket=GCS_BUCKET - Cloud Storage bucket for the source SQL Server connection profile - where the backups are stored. This flag is used only for SQL Server - to Cloud SQL migrations. - - This flag argument must be specified if any of the other arguments in - this group are specified. - - --gcs-prefix=GCS_PREFIX - Cloud Storage prefix path within the bucket for the source SQL Server - connection profile where the backups are stored. This flag is used - only for SQL Server to Cloud SQL migrations. - - --provider=PROVIDER - Database provider, for managed databases. PROVIDER must be one of: - CLOUDSQL, RDS. - -OPTIONAL FLAGS +FLAGS --no-async Waits for the operation in progress to complete before returning. @@ -127,6 +80,50 @@ OPTIONAL FLAGS The role of the connection profile. ROLE must be one of: SOURCE, DESTINATION. + At most one of these can be specified: + + --gcs-bucket=GCS_BUCKET + Cloud Storage bucket for the source SQL Server connection profile + where the backups are stored. This flag is used only for SQL Server + to Cloud SQL migrations. + + This flag argument must be specified if any of the other arguments in + this group are specified. + + --gcs-prefix=GCS_PREFIX + Cloud Storage prefix path within the bucket for the source SQL Server + connection profile where the backups are stored. This flag is used + only for SQL Server to Cloud SQL migrations. + + --provider=PROVIDER + Database provider, for managed databases. PROVIDER must be one of: + CLOUDSQL, RDS. + + --username=USERNAME + Username that Database Migration Service uses to connect to the + database for metrics and observability. We highly recommend that you + use the sqlserver user for this. Database Migration Service encrypts + the value when storing it. + + --cloudsql-instance=CLOUDSQL_INSTANCE + If the source or destination is a Cloud SQL database, then use this + field to provide the respective Cloud SQL instance ID. + + --cloudsql-project-id=CLOUDSQL_PROJECT_ID + The project id of the Cloud SQL instance. Only needed if the Cloud SQL + instance is in a different project than the connection profile. This is + only supported for source connection profiles for SQL Server. + + Exactly one of these must be specified: + + --password=PASSWORD + Password for the user that Database Migration Service uses to connect + to the database. Database Migration Service encrypts the value when + storing it, and the field is not returned on request. + + --prompt-for-password + Prompt for the password used to connect to the database. + GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, diff --git a/gcloud/database-migration/connection-profiles/update b/gcloud/database-migration/connection-profiles/update index fc91d4e46..da5039934 100644 --- a/gcloud/database-migration/connection-profiles/update +++ b/gcloud/database-migration/connection-profiles/update @@ -93,7 +93,8 @@ FLAGS --cloudsql-project-id=CLOUDSQL_PROJECT_ID The project id of the Cloud SQL instance. Only needed if the Cloud SQL - instance is in a different project than the connection profile. + instance is in a different project than the connection profile. This is + only supported for source connection profiles for SQL Server. --database-service=DATABASE_SERVICE database service for the oracle connection profile. diff --git a/gcloud/developer-connect/connections/create b/gcloud/developer-connect/connections/create index 1c2438454..0deb220a7 100644 --- a/gcloud/developer-connect/connections/create +++ b/gcloud/developer-connect/connections/create @@ -6,7 +6,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...]] [--async] [--disabled] [--etag=ETAG] [--labels=[LABELS,...]] [--location=LOCATION] [--namespace=NAMESPACE] [--request-id=REQUEST_ID] [--secret=SECRET] [--validate-only] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | [--bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION : --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE] | [--github-config-app=GITHUB_CONFIG_APP : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] + [[--github-config-app=GITHUB_CONFIG_APP + : --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION] | [--github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI : --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION] | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-webhook-secret-version=GITLAB_CONFIG_WEBHOOK_SECRET_VERSION | [--gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-webhook-secret-version=GITLAB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION : --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE]] [(--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING)] [GCLOUD_WIDE_FLAG ...] @@ -145,259 +146,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate and create - webhooks. This represents a Cloud resource. (NOTE) Some attributes are - not given arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command line - with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-cloud-config-webhook-secret-version=BITBUCKET_CLOUD_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-cloud-config-webhook-secret-version on the command - line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - This must be specified. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - SecretVersion resource - SecretManager resource containing the webhook - secret used to verify webhook events, formatted as - projects/*/secrets/*/versions/*. This is used to validate webhooks. - This represents a Cloud resource. (NOTE) Some attributes are not given - arguments in this group but can be set in other ways. - - To set the project attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --project on the command line; - ▫ set the property core/project. - - To set the secret attribute: - ▫ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line with a fully specified name; - ▫ provide the argument --secret on the command line. - - This must be specified. - - --bitbucket-data-center-config-webhook-secret-version=BITBUCKET_DATA_CENTER_CONFIG_WEBHOOK_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ◇ provide the argument - --bitbucket-data-center-config-webhook-secret-version on the - command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - This must be specified. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app=GITHUB_CONFIG_APP diff --git a/gcloud/developer-connect/connections/update b/gcloud/developer-connect/connections/update index aab84d1ae..5cd00ccf5 100644 --- a/gcloud/developer-connect/connections/update +++ b/gcloud/developer-connect/connections/update @@ -10,7 +10,8 @@ SYNOPSIS [--annotations=[ANNOTATIONS,...] | --update-annotations=[UPDATE_ANNOTATIONS,...] --clear-annotations | --remove-annotations=[__REMOVE_ANNOTATIONS,...]] - [--bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE | --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE | --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] + [--github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID + --github-config-authorizer-credential-oauth-token-secret-version=GITHUB_CONFIG_AUTHORIZER_CREDENTIAL_OAUTH_TOKEN_SECRET_VERSION | --github-enterprise-config-app-id=GITHUB_ENTERPRISE_CONFIG_APP_ID --github-enterprise-config-app-installation-id=GITHUB_ENTERPRISE_CONFIG_APP_INSTALLATION_ID --github-enterprise-config-host-uri=GITHUB_ENTERPRISE_CONFIG_HOST_URI --github-enterprise-config-service-directory=GITHUB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --github-enterprise-config-ssl-ca-certificate=GITHUB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE --clear-github-enterprise-config-private-key-secret-version | --github-enterprise-config-private-key-secret-version=GITHUB_ENTERPRISE_CONFIG_PRIVATE_KEY_SECRET_VERSION --clear-github-enterprise-config-webhook-secret-version | --github-enterprise-config-webhook-secret-version=GITHUB_ENTERPRISE_CONFIG_WEBHOOK_SECRET_VERSION | --gitlab-config-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-config-read-authorizer-credential-user-token-secret-version=GITLAB_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION | --gitlab-enterprise-config-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-host-uri=GITLAB_ENTERPRISE_CONFIG_HOST_URI --gitlab-enterprise-config-read-authorizer-credential-user-token-secret-version=GITLAB_ENTERPRISE_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION --gitlab-enterprise-config-service-directory=GITLAB_ENTERPRISE_CONFIG_SERVICE_DIRECTORY --gitlab-enterprise-config-ssl-ca-certificate=GITLAB_ENTERPRISE_CONFIG_SSL_CA_CERTIFICATE] [--crypto-key-config-reference=CRYPTO_KEY_CONFIG_REFERENCE : --key-ring=KEY_RING] [--labels=[LABELS,...] @@ -172,181 +173,6 @@ FLAGS At most one of these can be specified: - Configuration for connections to an instance of Bitbucket Cloud. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-authorizer-credential-user-token-secret-version - on the command line. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_CLOUD_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-cloud-config-read-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-cloud-config-workspace=BITBUCKET_CLOUD_CONFIG_WORKSPACE - The Bitbucket Cloud Workspace ID to be connected to Google Cloud - Platform. - - Configuration for connections to an instance of Bitbucket Data Center. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-authorizer-credential-user-token-secret-version - on the command line. - - --bitbucket-data-center-config-host-uri=BITBUCKET_DATA_CENTER_CONFIG_HOST_URI - The URI of the Bitbucket Data Center host this connection is for. - - Represents a personal access token that authorized the Connection, and - associated metadata. - - SecretVersion resource - A SecretManager resource containing the - user token that authorizes the Developer Connect connection. Format: - projects/*/secrets/*/versions/*. This represents a Cloud resource. - (NOTE) Some attributes are not given arguments in this group but can - be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the secret attribute: - ◇ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line with a fully specified name; - ◇ provide the argument --secret on the command line. - - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version=BITBUCKET_DATA_CENTER_CONFIG_READ_AUTHORIZER_CREDENTIAL_USER_TOKEN_SECRET_VERSION - ID of the secretVersion or fully qualified identifier for the - secretVersion. - - To set the secret-version attribute: - ▹ provide the argument - --bitbucket-data-center-config-read-authorizer-credential-user-token-secret-version - on the command line. - - ServiceDirectoryConfig represents Service Directory configuration for - a connection. - - Service resource - The Service Directory service name. Format: - projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}. - This represents a Cloud resource. (NOTE) Some attributes are not - given arguments in this group but can be set in other ways. - - To set the project attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --project on the command line; - ◇ set the property core/project. - - To set the location attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --location on the command line. - - To set the namespace attribute: - ◇ provide the argument - --bitbucket-data-center-config-service-directory on the command - line with a fully specified name; - ◇ provide the argument --namespace on the command line. - - --bitbucket-data-center-config-service-directory=BITBUCKET_DATA_CENTER_CONFIG_SERVICE_DIRECTORY - ID of the service or fully qualified identifier for the - service. - - To set the service attribute: - ▹ provide the argument - --bitbucket-data-center-config-service-directory on the - command line. - - --bitbucket-data-center-config-ssl-ca-certificate=BITBUCKET_DATA_CENTER_CONFIG_SSL_CA_CERTIFICATE - SSL certificate authority to trust when making requests to - Bitbucket Data Center. - Configuration for connections to github.com. --github-config-app-installation-id=GITHUB_CONFIG_APP_INSTALLATION_ID diff --git a/gcloud/eventarc/triggers/create b/gcloud/eventarc/triggers/create index 82d7ecce8..d629ca1f8 100644 --- a/gcloud/eventarc/triggers/create +++ b/gcloud/eventarc/triggers/create @@ -13,8 +13,11 @@ SYNOPSIS : --network-attachment=NETWORK_ATTACHMENT] | [--destination-run-service=DESTINATION_RUN_SERVICE : --destination-run-path=DESTINATION_RUN_PATH - --destination-run-region=DESTINATION_RUN_REGION]) [--async] - [--channel=CHANNEL] [--event-data-content-type=EVENT_DATA_CONTENT_TYPE] + --destination-run-region=DESTINATION_RUN_REGION] + | [--destination-workflow=DESTINATION_WORKFLOW + : --destination-workflow-location=DESTINATION_WORKFLOW_LOCATION]) + [--async] [--channel=CHANNEL] + [--event-data-content-type=EVENT_DATA_CONTENT_TYPE] [--event-filters-path-pattern=[ATTRIBUTE=PATH_PATTERN,...]] [--labels=[KEY=VALUE,...]] [--service-account=SERVICE_ACCOUNT] [--transport-topic=TRANSPORT_TOPIC] [GCLOUD_WIDE_FLAG ...] @@ -140,6 +143,20 @@ REQUIRED FLAGS not specified, it is assumed that the service is in the same region as the trigger. + Flags for specifying a Cloud Workflows destination. + + --destination-workflow=DESTINATION_WORKFLOW + ID of the workflow that receives the events for the trigger. The + workflow must be in the same project as the trigger. + + This flag argument must be specified if any of the other arguments + in this group are specified. + + --destination-workflow-location=DESTINATION_WORKFLOW_LOCATION + Location that the destination workflow is running in. If not + specified, it is assumed that the workflow is in the same location + as the trigger. + OPTIONAL FLAGS --async Return immediately, without waiting for the operation in progress to diff --git a/gcloud/eventarc/triggers/update b/gcloud/eventarc/triggers/update index 0f40bd904..db9afd1c8 100644 --- a/gcloud/eventarc/triggers/update +++ b/gcloud/eventarc/triggers/update @@ -16,7 +16,10 @@ SYNOPSIS | --destination-run-region=DESTINATION_RUN_REGION --destination-run-service=DESTINATION_RUN_SERVICE --clear-destination-run-path - | --destination-run-path=DESTINATION_RUN_PATH] [GCLOUD_WIDE_FLAG ...] + | --destination-run-path=DESTINATION_RUN_PATH + | --destination-workflow=DESTINATION_WORKFLOW + --destination-workflow-location=DESTINATION_WORKFLOW_LOCATION] + [GCLOUD_WIDE_FLAG ...] DESCRIPTION Update an Eventarc trigger. @@ -173,6 +176,17 @@ FLAGS events for the trigger should be sent. Examples: /route, route, route/subroute. + Flags for updating a Cloud Workflows destination. + + --destination-workflow=DESTINATION_WORKFLOW + ID of the workflow that receives the events for the trigger. The + workflow must be in the same project as the trigger. + + --destination-workflow-location=DESTINATION_WORKFLOW_LOCATION + Location that the destination workflow is running in. If not + specified, it is assumed that the workflow is in the same location + as the trigger. + GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format, diff --git a/gcloud/filestore/instances/create b/gcloud/filestore/instances/create index c8d062f5c..f0dcf4fad 100644 --- a/gcloud/filestore/instances/create +++ b/gcloud/filestore/instances/create @@ -49,11 +49,11 @@ EXAMPLES "ip-ranges": [ "192.168.0.0/24" ], - "squash-mode": "ROOT_SQUASH" + "squash-mode": "ROOT_SQUASH", "anon_uid": 1003, "anon_gid": 1003 } - ], + ] } } POSITIONAL ARGUMENTS diff --git a/gcloud/filestore/instances/update b/gcloud/filestore/instances/update index 6a9fa645c..601119538 100644 --- a/gcloud/filestore/instances/update +++ b/gcloud/filestore/instances/update @@ -47,8 +47,8 @@ EXAMPLES "squash-mode": "ROOT_SQUASH", "anon_uid": 1003, "anon_gid": 1003 - }, - ], + } + ] } } diff --git a/gcloud/firestore/indexes/composite/create b/gcloud/firestore/indexes/composite/create index 40c872b52..5e4ade314 100644 --- a/gcloud/firestore/indexes/composite/create +++ b/gcloud/firestore/indexes/composite/create @@ -57,7 +57,7 @@ REQUIRED FLAGS Shorthand Example: - --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' --field-config='array-config=string,field-path=string,order=string,vector-config={"dimension": int, "flat": {}}' + --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} --field-config=array-config=string,field-path=string,order=string,vector-config={dimension=int,flat={}} JSON Example: diff --git a/gcloud/iam/oauth-clients/create b/gcloud/iam/oauth-clients/create index eec5a1028..480ff5ac0 100644 --- a/gcloud/iam/oauth-clients/create +++ b/gcloud/iam/oauth-clients/create @@ -83,7 +83,10 @@ REQUIRED FLAGS ◆ openid: Associate you with your personal info on Google Cloud. - ◆ email: View your Google Cloud Account email address. + ◆ email: The OAuth client can read a federated identity's email + address. + + ◆ groups: The OAuth client can read a federated identity's groups. --client-type=CLIENT_TYPE The type of OAuth client. CLIENT_TYPE must be one of: diff --git a/gcloud/iam/oauth-clients/update b/gcloud/iam/oauth-clients/update index e74276184..4cecb69bd 100644 --- a/gcloud/iam/oauth-clients/update +++ b/gcloud/iam/oauth-clients/update @@ -81,7 +81,10 @@ FLAGS ◆ openid: Associate you with your personal info on Google Cloud. - ◆ email: View your Google Cloud Account email address. + ◆ email: The OAuth client can read a federated identity's email + address. + + ◆ groups: The OAuth client can read a federated identity's groups. --description=DESCRIPTION A description of the OAuth client. Cannot exceed 256 characters. diff --git a/gcloud/iam/principal-access-boundary-policies/create b/gcloud/iam/principal-access-boundary-policies/create index 2d10b4d70..4bce7523f 100644 --- a/gcloud/iam/principal-access-boundary-policies/create +++ b/gcloud/iam/principal-access-boundary-policies/create @@ -126,7 +126,7 @@ FLAGS Shorthand Example: - --details-rules=description=string,effect=string,resources=["string"] --details-rules=description=string,effect=string,resources=["string"] + --details-rules=description=string,effect=string,resources=[string] --details-rules=description=string,effect=string,resources=[string] JSON Example: diff --git a/gcloud/iam/principal-access-boundary-policies/update b/gcloud/iam/principal-access-boundary-policies/update index 82b98108a..ef7076415 100644 --- a/gcloud/iam/principal-access-boundary-policies/update +++ b/gcloud/iam/principal-access-boundary-policies/update @@ -178,7 +178,7 @@ FLAGS Shorthand Example: - --details-rules=description=string,effect=string,resources=["string"] --details-rules=description=string,effect=string,resources=["string"] + --details-rules=description=string,effect=string,resources=[string] --details-rules=description=string,effect=string,resources=[string] JSON Example: @@ -218,7 +218,7 @@ FLAGS Shorthand Example: - --add-details-rules=description=string,effect=string,resources=["string"] --add-details-rules=description=string,effect=string,resources=["string"] + --add-details-rules=description=string,effect=string,resources=[string] --add-details-rules=description=string,effect=string,resources=[string] JSON Example: @@ -263,7 +263,7 @@ FLAGS Shorthand Example: - --remove-details-rules=description=string,effect=string,resources=["string"] --remove-details-rules=description=string,effect=string,resources=["string"] + --remove-details-rules=description=string,effect=string,resources=[string] --remove-details-rules=description=string,effect=string,resources=[string] JSON Example: diff --git a/gcloud/memorystore/instances/create b/gcloud/memorystore/instances/create index 0db4ff035..8b3b5bd7b 100644 --- a/gcloud/memorystore/instances/create +++ b/gcloud/memorystore/instances/create @@ -170,8 +170,8 @@ OPTIONAL FLAGS cluster Instance is in cluster mode. - standalone - Instance is in standalone mode. + cluster-disabled + Cluster mode is disabled for the instance. --node-type=NODE_TYPE Machine type for individual nodes of the instance. NODE_TYPE must be diff --git a/gcloud/netapp/storage-pools/help b/gcloud/netapp/storage-pools/help index a8cc6faa9..777085297 100644 --- a/gcloud/netapp/storage-pools/help +++ b/gcloud/netapp/storage-pools/help @@ -33,6 +33,9 @@ COMMANDS update Update a Cloud NetApp Storage Pool. + validate-directory-service + Validate directory service for a Cloud Netapp storage pool. + NOTES These variants are also available: diff --git a/gcloud/netapp/storage-pools/validate-directory-service b/gcloud/netapp/storage-pools/validate-directory-service new file mode 100644 index 000000000..c1973e5bc --- /dev/null +++ b/gcloud/netapp/storage-pools/validate-directory-service @@ -0,0 +1,74 @@ +NAME + gcloud netapp storage-pools validate-directory-service - validate directory + service for a Cloud Netapp storage pool + +SYNOPSIS + gcloud netapp storage-pools validate-directory-service + (STORAGE_POOL : --location=LOCATION) [--async] + [--directory-service-type=DIRECTORY_SERVICE_TYPE] + [GCLOUD_WIDE_FLAG ...] + +DESCRIPTION + Validate the directory service for a Cloud Netapp storage pool. + +EXAMPLES + The following command validates the directory service of type + ACTIVE_DIRECTORY for a storage pool named NAME: + + $ gcloud netapp storage-pools validate-directory-service NAME \ + --location=us-central1 --directory-service-type=ACTIVE_DIRECTORY + +POSITIONAL ARGUMENTS + Storage pool resource - The Storage Pool to validate. 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 ways. + + To set the project attribute: + ◆ provide the argument storage_pool on the command line with a fully + specified name; + ◆ provide the argument --project on the command line; + ◆ set the property core/project. + + This must be specified. + + STORAGE_POOL + ID of the storage_pool or fully qualified identifier for the + storage_pool. + + To set the storage_pool attribute: + ▸ provide the argument storage_pool on the command line. + + This positional argument must be specified if any of the other + arguments in this group are specified. + + --location=LOCATION + The location of the storage_pool. + + To set the location attribute: + ▸ provide the argument storage_pool on the command line with a + fully specified name; + ▸ provide the argument --location on the command line; + ▸ set the property netapp/location. + +FLAGS + --async + Return immediately, without waiting for the operation in progress to + complete. + + --directory-service-type=DIRECTORY_SERVICE_TYPE + String indicating directory service type for the Storage Pool + +GCLOUD WIDE FLAGS + These flags are available to all commands: --access-token-file, --account, + --billing-project, --configuration, --flags-file, --flatten, --format, + --help, --impersonate-service-account, --log-http, --project, --quiet, + --trace-token, --user-output-enabled, --verbosity. + + Run $ gcloud help for details. + +NOTES + This variant is also available: + + $ gcloud beta netapp storage-pools validate-directory-service + diff --git a/gcloud/network-connectivity/internal-ranges/create b/gcloud/network-connectivity/internal-ranges/create index b9d1dd87b..7bcc858c8 100644 --- a/gcloud/network-connectivity/internal-ranges/create +++ b/gcloud/network-connectivity/internal-ranges/create @@ -155,8 +155,7 @@ OPTIONAL FLAGS for-migration Ranges created with FOR_MIGRATION are used as locks for migrating - subnetworks between peered VPC networks. This value is for internal - use. + subnetworks between peered VPC networks. for-vpc A cloud resource can use the reserved CIDR block by associating it @@ -173,14 +172,14 @@ OPTIONAL FLAGS --migration-source=MIGRATION_SOURCE The migration source subnetwork (of a for-migration internal range) - resource URI or resource ID. This value is for internal use. + resource URI or resource ID. This flag argument must be specified if any of the other arguments in this group are specified. --migration-target=MIGRATION_TARGET The migration target subnetwork (of a for-migration internal range) - resource URI or resource ID. This value is for internal use. + resource URI or resource ID. This flag argument must be specified if any of the other arguments in this group are specified. diff --git a/gcloud/redis/clusters/add-cluster-endpoints b/gcloud/redis/clusters/add-cluster-endpoints index d2aecf481..d9a0aef5f 100644 --- a/gcloud/redis/clusters/add-cluster-endpoints +++ b/gcloud/redis/clusters/add-cluster-endpoints @@ -92,7 +92,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' --cluster-endpoint='psc-connection=[{"address": "string", "forwarding-rule": "string", "network": "string", "psc-connection-id": "string", "service-attachment": "string"}]' + --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] --cluster-endpoint=psc-connection=[{address=string,forwarding-rule=string,network=string,psc-connection-id=string,service-attachment=string}] JSON Example: diff --git a/gcloud/redis/clusters/remove-cluster-endpoints b/gcloud/redis/clusters/remove-cluster-endpoints index b5634debd..6a08dd8fb 100644 --- a/gcloud/redis/clusters/remove-cluster-endpoints +++ b/gcloud/redis/clusters/remove-cluster-endpoints @@ -74,7 +74,7 @@ REQUIRED FLAGS Shorthand Example: - --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' --cluster-endpoint='psc-connection=[{"psc-connection-id": "string"}]' + --cluster-endpoint=psc-connection=[{psc-connection-id=string}] --cluster-endpoint=psc-connection=[{psc-connection-id=string}] JSON Example: diff --git a/gcloud/spanner/instances/create b/gcloud/spanner/instances/create index 0eda91ed4..bb569ff68 100644 --- a/gcloud/spanner/instances/create +++ b/gcloud/spanner/instances/create @@ -8,7 +8,10 @@ SYNOPSIS [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS)] + | [--autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET (--autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS) : --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS]]] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -56,7 +59,7 @@ OPTIONAL FLAGS database is created in an instance. --edition=EDITION - Cloud Spanner edition. EDITION must be one of: + Spanner edition. EDITION must be one of: EDITION_UNSPECIFIED Spanner's legacy pricing model. For more information, see the @@ -116,6 +119,9 @@ OPTIONAL FLAGS This flag argument must be specified if any of the other arguments in this group are specified. + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + Autoscaling limits can be defined in either nodes or processing units. Exactly one of these must be specified: diff --git a/gcloud/spanner/instances/update b/gcloud/spanner/instances/update index 80c616250..8cf549522 100644 --- a/gcloud/spanner/instances/update +++ b/gcloud/spanner/instances/update @@ -7,7 +7,15 @@ SYNOPSIS [--description=DESCRIPTION] [--edition=EDITION] [--expire-behavior=EXPIRE_BEHAVIOR] [--instance-type=INSTANCE_TYPE] [--nodes=NODES | --processing-units=PROCESSING_UNITS - | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --autoscaling-max-nodes=AUTOSCALING_MAX_NODES --autoscaling-min-nodes=AUTOSCALING_MIN_NODES | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] + | --autoscaling-high-priority-cpu-target=AUTOSCALING_HIGH_PRIORITY_CPU_TARGET --autoscaling-storage-target=AUTOSCALING_STORAGE_TARGET --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET], + [location=LOCATION],[max_nodes=MAX_NODES], + [max_processing_units=MAX_PROCESSING_UNITS], + [min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + | --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + --autoscaling-max-nodes=AUTOSCALING_MAX_NODES + --autoscaling-min-nodes=AUTOSCALING_MIN_NODES + | --autoscaling-max-processing-units=AUTOSCALING_MAX_PROCESSING_UNITS + --autoscaling-min-processing-units=AUTOSCALING_MIN_PROCESSING_UNITS] [GCLOUD_WIDE_FLAG ...] DESCRIPTION @@ -52,13 +60,15 @@ FLAGS Description of the instance. --edition=EDITION - Cloud Spanner edition. You can upgrade your Standard edition instance - to the ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also - upgrade your Enterprise edition instance to the ENTERPRISE_PLUS - edition. Self-service downgrade isn't available. To downgrade the - edition of your instance, file a support ticket. For more information, - see the Spanner editions overview - (https://cloud.google.com/spanner/docs/editions-overview) + Spanner edition. You can upgrade your Standard edition instance to the + ENTERPRISE edition or ENTERPRISE_PLUS edition. You can also upgrade + your Enterprise edition instance to the ENTERPRISE_PLUS edition. You + can downgrade your ENTERPRISE_PLUS edition instance to the ENTERPRISE + or STANDARD edition. You can also downgrade your ENTERPRISE edition + instance to the STANDARD edition. You must stop using the higher-tier + edition features in order to downgrade. Otherwise, downgrade fails. For + more information, see Spanner editions overview + (https://cloud.google.com/spanner/docs/editions-overview). --expire-behavior=EXPIRE_BEHAVIOR The expire behavior of a free trial instance. EXPIRE_BEHAVIOR must be @@ -101,6 +111,15 @@ FLAGS Specifies the target percentage of storage the autoscaled instance can utilize. + At most one of these can be specified: + + --asymmetric-autoscaling-option=[high_priority_cpu_target=HIGH_PRIORITY_CPU_TARGET],[location=LOCATION],[max_nodes=MAX_NODES],[max_processing_units=MAX_PROCESSING_UNITS],[min_nodes=MIN_NODES],[min_processing_units=MIN_PROCESSING_UNITS] + Specify the asymmetric autoscaling option for the instance. + + --clear-asymmetric-autoscaling-option=LOCATION,[LOCATION,...] + Specify a comma separated list of locations from which to remove + asymmetric autoscaling options + Autoscaling limits can be defined in either nodes or processing units. At most one of these can be specified: diff --git a/gcloud/workstations/create b/gcloud/workstations/create index 0eafe37a7..6b00a4373 100644 --- a/gcloud/workstations/create +++ b/gcloud/workstations/create @@ -5,7 +5,7 @@ SYNOPSIS gcloud workstations create (WORKSTATION : --cluster=CLUSTER --config=CONFIG --region=REGION) [--async] [--env=[KEY=VALUE,...]] [--labels=[KEY=VALUE,...]] - [GCLOUD_WIDE_FLAG ...] + [--source-workstation=SOURCE_WORKSTATION] [GCLOUD_WIDE_FLAG ...] DESCRIPTION Create a workstation. @@ -78,6 +78,13 @@ FLAGS Labels that are applied to the workstation and propagated to the underlying Compute Engine resources. + --source-workstation=SOURCE_WORKSTATION + Source workstation from which this workstations persistent directories + are cloned on creation. When specified, the workstations service agent + must have compute.disks.createSnapshot and + compute.snapshots.useReadOnly permissions on the source workstation's + host project. + GCLOUD WIDE FLAGS These flags are available to all commands: --access-token-file, --account, --billing-project, --configuration, --flags-file, --flatten, --format,