gcloud vmware datastores update

NAME
gcloud vmware datastores update - update a datastore
SYNOPSIS
gcloud vmware datastores update(DATASTORE :--location=LOCATION)[--async][--description=DESCRIPTION][GCLOUD_WIDE_FLAG]
DESCRIPTION
Update a datastore.
EXAMPLES
To update a datastore namedmy-datastore in locationus-west2-a with a new description, run:
gcloudvmwaredatastoresupdatemy-datastore--location=us-west2-a--project=my-project--description="new description"

Or:

gcloudvmwaredatastoresupdatemy-datastore--description="new description"

In the second example, the project and location are taken from gcloud propertiescore/project and compute/zone.

POSITIONAL ARGUMENTS
Datastore resource - datastore. The arguments in this group can be used tospecify the attributes of this resource. (NOTE) Some attributes are not givenarguments in this group but can be set in other ways.

To set theproject attribute:

  • provide the argumentdatastore on the command line with a fullyspecified name;
  • provide the argument--project on the command line;
  • set the propertycore/project.

This must be specified.

DATASTORE
ID of the datastore or fully qualified identifier for the datastore.

To set thedatastore attribute:

  • provide the argumentdatastore on the command line.

This positional argument must be specified if any of the other arguments in thisgroup are specified.

--location=LOCATION
Location of the private cloud or cluster.

To set thelocation attribute:

  • provide the argumentdatastore on the command line with a fullyspecified name;
  • provide the argument--location on the command line;
  • set the propertycompute/zone.
FLAGS
--async
Return immediately, without waiting for the operation in progress to complete.The default isTrue. Enabled by default, use--no-async to disable.
--description=DESCRIPTION
New description for the datastore.
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.

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2026-01-13 UTC.