Creates an Instance.
Path parameters
Required. The location and project in which this Instance should be created.
Query parameters
Optional. The unique identifier for the Instance. It must begin with letter, and cannot end with hyphen; must contain fewer than 50 characters. The name of the instance becomes {parent}/instances/{instance_id}. If not provided, the server will generate a unique instance_id.
Optional. Indicates that the request should be validated and default values populated, without persisting the request or creating any resources.
Request body
Optional. Disables public resolution of the default URI of this Instance.
Output only. Server assigned unique identifier for the trigger. The value is a UUID4 string and guaranteed to remain unchanged until the resource is deleted.
Output only. For a deleted resource, the time after which it will be permamently deleted.
Optional. Restart policy for the Instance.
Output only. The creation time.
Output only. The deletion time.
Output only. The last-modified time.
User-provided description of the Instance. This field currently has a 512-character limit.
Arbitrary identifier for the API client.
Output only. The generation of this Instance currently serving traffic. See comments in reconciling for additional information on reconciliation process in Cloud Run. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Output only. Returns true if the Instance is currently being acted upon by the system to bring it into the desired state. When a new Instance is created, or an existing one is updated, Cloud Run will asynchronously perform all necessary steps to bring the Instance to the desired serving state. This process is called reconciliation. While reconciliation is in process, observed_generation will have a transient value that might mismatch the intended state. Once reconciliation is over (and this field is false), there are two possible outcomes: reconciliation succeeded and the serving state matches the Instance, or there was an error, and reconciliation failed. This state can be found in terminal_condition.state.
A reference to a customer managed encryption key (CMEK) to use to encrypt this container image. For more information, go to https://cloud.google.com/run/docs/securing/using-cmek
Output only. All URLs serving traffic for this Instance.
Optional. True if GPU zonal redundancy is disabled on this instance.
Output only. Email address of the authenticated creator.
The launch stage as defined by Google Cloud Platform Launch Stages. Cloud Run supports ALPHA, BETA, and GA. If no value is specified, GA is assumed. Set the launch stage to a preview stage on input to allow use of preview features in that stage. On read (or output), describes whether the resource uses preview features. For example, if ALPHA is provided as input, but only BETA and GA-level features are used, this field will be BETA on output.
If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.
The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id.
The action to take if the encryption key is revoked.
Output only. Reserved for future use.
Optional. IAP settings on the Instance.
Output only. A number that monotonically increases every time the user modifies the desired state. Please note that unlike v1, this is an int64 value. As with most Google APIs, its JSON representation will be a string instead of an integer.
Optional. Provides the ingress settings for this Instance. On output, returns the currently observed ingress settings, or INGRESS_TRAFFIC_UNSPECIFIED if no revision is active.
Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.
Output only. The Google Console URI to obtain logs for the Instance.
Optional. Disables IAM permission check for run.routes.invoke for callers of this Instance. For more information, visit https://cloud.google.com/run/docs/securing/managing-access#invoker_check.
Output only. Email address of the last authenticated modifier.
Arbitrary version identifier for the API client.
Response
Successful response