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.
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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
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: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Output only. State of the instance. Assigned by the server.
labels
map (key: string, value: string)
Labels
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
kmsKey
string
Required. The KMS key name used for CMEK (encryption-at-rest). format: "projects/{project}/locations/{location}/keyRings/{keyRing}/cryptoKeys/{cryptoKey}" VPC-SC restrictions apply.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-28 UTC."],[[["\u003cp\u003eAn Instance acts as a container for API resources, ensuring that only resources within the same instance can interact, inheriting location and encryption settings.\u003c/p\u003e\n"],["\u003cp\u003eThe Instance resource's JSON representation includes fields like \u003ccode\u003ename\u003c/code\u003e, \u003ccode\u003ecreateTime\u003c/code\u003e, \u003ccode\u003eupdateTime\u003c/code\u003e, \u003ccode\u003estate\u003c/code\u003e, \u003ccode\u003elabels\u003c/code\u003e, and \u003ccode\u003ekmsKey\u003c/code\u003e, detailing its configuration and lifecycle.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003estate\u003c/code\u003e of an Instance can be \u003ccode\u003eSTATE_UNSPECIFIED\u003c/code\u003e, \u003ccode\u003eCREATING\u003c/code\u003e, \u003ccode\u003eACTIVE\u003c/code\u003e, \u003ccode\u003eUPDATING\u003c/code\u003e, or \u003ccode\u003eDELETING\u003c/code\u003e, reflecting its current operational status.\u003c/p\u003e\n"],["\u003cp\u003eSeveral methods are available to manage Instances, including creating, deleting, getting, listing, and updating them, as well as exporting and importing registered parties.\u003c/p\u003e\n"],["\u003cp\u003eInstances are location specific, so the location of the provided input and output in requests must match the location of the instance.\u003c/p\u003e\n"]]],[],null,["# REST Resource: projects.locations.instances\n\n- [Resource: Instance](#Instance)\n - [JSON representation](#Instance.SCHEMA_REPRESENTATION)\n- [State](#State)\n- [Methods](#METHODS_SUMMARY)\n\nResource: Instance\n------------------\n\nInstance 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.\n\nState\n-----\n\nThe Resource State"]]