Show / Hide Table of Contents

Class GoogleCloudRunV2Instance

A Cloud Run Instance represents a single group of containers running in a region.

Inheritance
object
GoogleCloudRunV2Instance
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2Instance : IDirectResponseSchema

Properties

Annotations

Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type Description
IDictionary<string, string>

BinaryAuthorization

Settings for the Binary Authorization feature.

Declaration
[JsonProperty("binaryAuthorization")]
public virtual GoogleCloudRunV2BinaryAuthorization BinaryAuthorization { get; set; }
Property Value
Type Description
GoogleCloudRunV2BinaryAuthorization

Client

Arbitrary identifier for the API client.

Declaration
[JsonProperty("client")]
public virtual string Client { get; set; }
Property Value
Type Description
string

ClientVersion

Arbitrary version identifier for the API client.

Declaration
[JsonProperty("clientVersion")]
public virtual string ClientVersion { get; set; }
Property Value
Type Description
string

Conditions

Output only. The Conditions of all other associated sub-resources. They contain additional diagnostics information in case the Instance does not reach its Serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.

Declaration
[JsonProperty("conditions")]
public virtual IList<GoogleCloudRunV2Condition> Conditions { get; set; }
Property Value
Type Description
IList<GoogleCloudRunV2Condition>

ContainerStatuses

Output only. Status information for each of the specified containers. The status includes the resolved digest for specified images.

Declaration
[JsonProperty("containerStatuses")]
public virtual IList<GoogleCloudRunV2ContainerStatus> ContainerStatuses { get; set; }
Property Value
Type Description
IList<GoogleCloudRunV2ContainerStatus>

Containers

Required. Holds the single container that defines the unit of execution for this Instance.

Declaration
[JsonProperty("containers")]
public virtual IList<GoogleCloudRunV2Container> Containers { get; set; }
Property Value
Type Description
IList<GoogleCloudRunV2Container>

CreateTime

object representation of CreateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
Type Description
object

CreateTimeDateTimeOffset

DateTimeOffset representation of CreateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

CreateTimeRaw

Output only. The creation time.

Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Type Description
string

Creator

Output only. Email address of the authenticated creator.

Declaration
[JsonProperty("creator")]
public virtual string Creator { get; set; }
Property Value
Type Description
string

DeleteTime

object representation of DeleteTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
Type Description
object

DeleteTimeDateTimeOffset

DateTimeOffset representation of DeleteTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

DeleteTimeRaw

Output only. The deletion time.

Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
Type Description
string

Description

User-provided description of the Instance. This field currently has a 512-character limit.

Declaration
[JsonProperty("description")]
public virtual string Description { get; set; }
Property Value
Type Description
string

ETag

Optional. A system-generated fingerprint for this version of the resource. May be used to detect modification conflict during updates.

Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type Description
string

EncryptionKey

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

Declaration
[JsonProperty("encryptionKey")]
public virtual string EncryptionKey { get; set; }
Property Value
Type Description
string

EncryptionKeyRevocationAction

The action to take if the encryption key is revoked.

Declaration
[JsonProperty("encryptionKeyRevocationAction")]
public virtual string EncryptionKeyRevocationAction { get; set; }
Property Value
Type Description
string

EncryptionKeyShutdownDuration

If encryption_key_revocation_action is SHUTDOWN, the duration before shutting down all instances. The minimum increment is 1 hour.

Declaration
[JsonProperty("encryptionKeyShutdownDuration")]
public virtual object EncryptionKeyShutdownDuration { get; set; }
Property Value
Type Description
object

ExpireTime

object representation of ExpireTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
Type Description
object

ExpireTimeDateTimeOffset

DateTimeOffset representation of ExpireTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

ExpireTimeRaw

Output only. For a deleted resource, the time after which it will be permamently deleted.

Declaration
[JsonProperty("expireTime")]
public virtual string ExpireTimeRaw { get; set; }
Property Value
Type Description
string

Generation

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.

Declaration
[JsonProperty("generation")]
public virtual long? Generation { get; set; }
Property Value
Type Description
long?

GpuZonalRedundancyDisabled

Optional. True if GPU zonal redundancy is disabled on this instance.

Declaration
[JsonProperty("gpuZonalRedundancyDisabled")]
public virtual bool? GpuZonalRedundancyDisabled { get; set; }
Property Value
Type Description
bool?

IapEnabled

Optional. IAP settings on the Instance.

Declaration
[JsonProperty("iapEnabled")]
public virtual bool? IapEnabled { get; set; }
Property Value
Type Description
bool?

Ingress

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.

Declaration
[JsonProperty("ingress")]
public virtual string Ingress { get; set; }
Property Value
Type Description
string

InvokerIamDisabled

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.

Declaration
[JsonProperty("invokerIamDisabled")]
public virtual bool? InvokerIamDisabled { get; set; }
Property Value
Type Description
bool?

Labels

Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type Description
IDictionary<string, string>

LastModifier

Output only. Email address of the last authenticated modifier.

Declaration
[JsonProperty("lastModifier")]
public virtual string LastModifier { get; set; }
Property Value
Type Description
string

LaunchStage

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.

Declaration
[JsonProperty("launchStage")]
public virtual string LaunchStage { get; set; }
Property Value
Type Description
string

LogUri

Output only. The Google Console URI to obtain logs for the Instance.

Declaration
[JsonProperty("logUri")]
public virtual string LogUri { get; set; }
Property Value
Type Description
string

Name

The fully qualified name of this Instance. In CreateInstanceRequest, this field is ignored, and instead composed from CreateInstanceRequest.parent and CreateInstanceRequest.instance_id. Format: projects/{project}/locations/{location}/instances/{instance_id}

Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type Description
string

NodeSelector

Optional. The node selector for the instance.

Declaration
[JsonProperty("nodeSelector")]
public virtual GoogleCloudRunV2NodeSelector NodeSelector { get; set; }
Property Value
Type Description
GoogleCloudRunV2NodeSelector

ObservedGeneration

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.

Declaration
[JsonProperty("observedGeneration")]
public virtual long? ObservedGeneration { get; set; }
Property Value
Type Description
long?

Reconciling

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.

Declaration
[JsonProperty("reconciling")]
public virtual bool? Reconciling { get; set; }
Property Value
Type Description
bool?

SatisfiesPzs

Output only. Reserved for future use.

Declaration
[JsonProperty("satisfiesPzs")]
public virtual bool? SatisfiesPzs { get; set; }
Property Value
Type Description
bool?

ServiceAccount

Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type Description
string

TerminalCondition

Output only. The Condition of this Instance, containing its readiness status, and detailed error information in case it did not reach a serving state. See comments in reconciling for additional information on reconciliation process in Cloud Run.

Declaration
[JsonProperty("terminalCondition")]
public virtual GoogleCloudRunV2Condition TerminalCondition { get; set; }
Property Value
Type Description
GoogleCloudRunV2Condition

Uid

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.

Declaration
[JsonProperty("uid")]
public virtual string Uid { get; set; }
Property Value
Type Description
string

UpdateTime

object representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
Type Description
object

UpdateTimeDateTimeOffset

DateTimeOffset representation of UpdateTimeRaw.

Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
Type Description
DateTimeOffset?

UpdateTimeRaw

Output only. The last-modified time.

Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Type Description
string

Urls

Output only. All URLs serving traffic for this Instance.

Declaration
[JsonProperty("urls")]
public virtual IList<string> Urls { get; set; }
Property Value
Type Description
IList<string>

Volumes

A list of Volumes to make available to containers.

Declaration
[JsonProperty("volumes")]
public virtual IList<GoogleCloudRunV2Volume> Volumes { get; set; }
Property Value
Type Description
IList<GoogleCloudRunV2Volume>

VpcAccess

Optional. VPC Access configuration to use for this Revision. For more information, visit https://cloud.google.com/run/docs/configuring/connecting-vpc.

Declaration
[JsonProperty("vpcAccess")]
public virtual GoogleCloudRunV2VpcAccess VpcAccess { get; set; }
Property Value
Type Description
GoogleCloudRunV2VpcAccess

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX