Resource: Instance
Instance is a container for the rest of API resources. Only resourcse in the same instance can interact with each other. Child resources inherit the location (data residency) and encryption (CMEK). The location of the provided input and output in requests must match the location of the instance.
JSON representation |
---|
{
"name": string,
"createTime": string,
"updateTime": string,
"state": enum ( |
Fields | |
---|---|
name |
Output only. The full path to the Instance resource in this API. format: "projects/{project}/locations/{location}/instances/{instance}" |
createTime |
Output only. Timestamp when the Instance was created. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
Output only. Timestamp when the Instance was last updated. Assigned by the server. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
state |
Output only. State of the instance. Assigned by the server. |
labels |
Labels An object containing a list of |
kmsKey |
Required. The KMS key name used for CMEK (encryption-at-rest). format: "projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}" VPC-SC restrictions apply. |
State
The Resource State
Enums | |
---|---|
STATE_UNSPECIFIED |
State is unspecified, should not occur. |
CREATING |
The resource has not finished being created. |
ACTIVE |
The resource is active/ready to be used. |
UPDATING |
The resource is in the process of being updated. |
DELETING |
The resource is in the process of being deleted. |
Methods |
|
---|---|
|
Creates an instance. |
|
Deletes an instance. |
|
Exports the list of registered parties. |
|
Gets an instance. |
|
Imports the list of registered parties. |
|
Lists instances. |
|
Updates the parameters of a single Instance. |