Updates an instance within a project. This method updates only the display name and type for an Instance. To update other Instance properties, such as labels, use instances.partialUpdateInstance.
HTTP request
PUT https://bigtableadmin.googleapis.com/v2/{name=projects/*/instances/*}
The URL uses gRPC Transcoding syntax.
Path parameters
Parameters | |
---|---|
name |
The unique name of the instance. Values are of the form |
Request body
The request body contains data with the following structure:
JSON representation |
---|
{ "displayName": string, "state": enum ( |
Fields | |
---|---|
display |
Required. The descriptive name for this instance as it appears in UIs. Can be changed at any time, but should be kept globally unique to avoid confusion. |
state |
Output only. The current state of the instance. |
type |
The type of the instance. Defaults to |
labels |
Labels are a flexible and lightweight mechanism for organizing cloud resources into groups that reflect a customer's organizational needs and deployment strategies. They can be used to filter resources and aggregate metrics.
An object containing a list of |
create |
Output only. A commit timestamp representing when this Instance was created. For instances created before this field was added (August 2021), this value is A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
satisfies |
Output only. Reserved for future use. |
satisfies |
Output only. Reserved for future use. |
Response body
If successful, the response body contains an instance of Instance
.
Authorization scopes
Requires one of the following OAuth scopes:
https://www.googleapis.com/auth/bigtable.admin
https://www.googleapis.com/auth/bigtable.admin.cluster
https://www.googleapis.com/auth/bigtable.admin.instance
https://www.googleapis.com/auth/cloud-bigtable.admin
https://www.googleapis.com/auth/cloud-bigtable.admin.cluster
https://www.googleapis.com/auth/cloud-platform
For more information, see the Authentication Overview.