- NAME
-
- gcloud assured v2 workloads update - update Assured Workloads V2 environments
- SYNOPSIS
-
-
gcloud assured v2 workloads update(WORKLOAD:--location=LOCATION--organization=ORGANIZATION) (--description=DESCRIPTION--cloud-control-config=[PROPERTY=VALUE,…] |--cloud-control-configs-from-file=CLOUD_CONTROL_CONFIGS_FROM_FILE) [--async] [--etag=ETAG] [GCLOUD_WIDE_FLAG …]
-
- DESCRIPTION
- Update a given Assured Workloads V2 environment.
- EXAMPLES
-
To update the description of an Assured Workloads V2 environment in the
us-central1 region belonging to an organization with ID 123 and workload ID 456,
run:
gcloud assured v2 workloads update organizations/123/locations/us-central1/workloads/456 --description="Updated description"To update the cloud control configs from a YAML file, run:
gcloud assured v2 workloads update organizations/123/locations/us-central1/workloads/456 --cloud-control-configs-from-file=/path/to/controls.yaml - POSITIONAL ARGUMENTS
-
-
Workload resource - The Assured Workloads environment resource to update. The
arguments in this group can be used to specify the attributes of this resource.
This must be specified.
WORKLOAD-
ID of the workload or fully qualified identifier for the workload.
To set the
workloadattribute:-
provide the argument
workloadon the command line.
This positional argument must be specified if any of the other arguments in this group are specified.
-
provide the argument
--location=LOCATION-
The location for the workload.
To set the
locationattribute:-
provide the argument
workloadon the command line with a fully specified name; -
provide the argument
--locationon the command line.
-
provide the argument
--organization=ORGANIZATION-
The parent organization for the workload.
To set the
organizationattribute:-
provide the argument
workloadon the command line with a fully specified name; -
provide the argument
--organizationon the command line.
-
provide the argument
-
Workload resource - The Assured Workloads environment resource to update. The
arguments in this group can be used to specify the attributes of this resource.
- REQUIRED FLAGS
-
-
Settings that can be updated on the Assured Workloads environment.
At least one of these must be specified:
--description=DESCRIPTION- Updated description for the workload.
-
At most one of these can be specified:
--cloud-control-config=[PROPERTY=VALUE,…]- Updated repeated inline control configuration.
--cloud-control-configs-from-file=CLOUD_CONTROL_CONFIGS_FROM_FILE- Path to JSON/YAML file specifying updated control configurations.
-
Settings that can be updated on the Assured Workloads environment.
- OPTIONAL FLAGS
-
--async- Return immediately, without waiting for the operation in progress to complete.
--etag=ETAG- ETag for optimistic concurrency control.
- 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 helpfor details. - NOTES
-
These variants are also available:
gcloud alpha assured v2 workloads updategcloud beta assured v2 workloads update
gcloud assured v2 workloads update
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-09-22 UTC.