1
0
Fork 0
mirror of https://github.com/imjasonh/gcloud-help synced 2026-07-08 18:45:13 +00:00
gcloud-help/gcloud/firestore/databases/update
2023-04-20 10:38:56 +00:00

61 lines
2.1 KiB
Text

NAME
gcloud firestore databases update - update the database configuration of a
Cloud Firestore database
SYNOPSIS
gcloud firestore databases update [--async] [--database=DATABASE]
[--type=TYPE] [GCLOUD_WIDE_FLAG ...]
DESCRIPTION
Update the database configuration of a Cloud Firestore database.
EXAMPLES
The following command updates the database type of a Cloud Firestore
database.
$ gcloud firestore databases update --type=firestore-native
FLAGS
--async
Return immediately, without waiting for the operation in progress to
complete.
Database resource - Cloud Firestore database to update. 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 --database on the command line with a fully
specified name;
◆ the default value of argument [--database] is (default) with a fully
specified name;
◆ set the property core/project;
◆ provide the argument --project on the command line.
--database=DATABASE
ID of the database or fully qualified identifier for the database. To
set the database attribute:
▸ provide the argument --database on the command line;
▸ the default value of argument [--database] is (default).
--type=TYPE
The database type. TYPE must be one of: datastore-mode,
firestore-native.
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 firestore/v1 API. The full documentation for this API
can be found at: https://cloud.google.com/firestore
NOTES
These variants are also available:
$ gcloud alpha firestore databases update
$ gcloud beta firestore databases update