Class GoogleCloudRunV2Instance
A Cloud Run Instance represents a single group of containers running in a region.
Inheritance
GoogleCloudRunV2Instance
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
BinaryAuthorization
Settings for the Binary Authorization feature.
Declaration
[JsonProperty("binaryAuthorization")]
public virtual GoogleCloudRunV2BinaryAuthorization BinaryAuthorization { get; set; }
Property Value
Client
Arbitrary identifier for the API client.
Declaration
[JsonProperty("client")]
public virtual string Client { get; set; }
Property Value
ClientVersion
Arbitrary version identifier for the API client.
Declaration
[JsonProperty("clientVersion")]
public virtual string ClientVersion { get; set; }
Property Value
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
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
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
CreateTime
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use CreateTimeDateTimeOffset instead.")]
public virtual object CreateTime { get; set; }
Property Value
CreateTimeDateTimeOffset
Declaration
[JsonIgnore]
public virtual DateTimeOffset? CreateTimeDateTimeOffset { get; set; }
Property Value
CreateTimeRaw
Output only. The creation time.
Declaration
[JsonProperty("createTime")]
public virtual string CreateTimeRaw { get; set; }
Property Value
Creator
Output only. Email address of the authenticated creator.
Declaration
[JsonProperty("creator")]
public virtual string Creator { get; set; }
Property Value
DeleteTime
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use DeleteTimeDateTimeOffset instead.")]
public virtual object DeleteTime { get; set; }
Property Value
DeleteTimeDateTimeOffset
Declaration
[JsonIgnore]
public virtual DateTimeOffset? DeleteTimeDateTimeOffset { get; set; }
Property Value
DeleteTimeRaw
Output only. The deletion time.
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
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
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
EncryptionKey
Declaration
[JsonProperty("encryptionKey")]
public virtual string EncryptionKey { get; set; }
Property Value
EncryptionKeyRevocationAction
The action to take if the encryption key is revoked.
Declaration
[JsonProperty("encryptionKeyRevocationAction")]
public virtual string EncryptionKeyRevocationAction { get; set; }
Property Value
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
ExpireTime
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use ExpireTimeDateTimeOffset instead.")]
public virtual object ExpireTime { get; set; }
Property Value
ExpireTimeDateTimeOffset
Declaration
[JsonIgnore]
public virtual DateTimeOffset? ExpireTimeDateTimeOffset { get; set; }
Property Value
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
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
GpuZonalRedundancyDisabled
Optional. True if GPU zonal redundancy is disabled on this instance.
Declaration
[JsonProperty("gpuZonalRedundancyDisabled")]
public virtual bool? GpuZonalRedundancyDisabled { get; set; }
Property Value
IapEnabled
Optional. IAP settings on the Instance.
Declaration
[JsonProperty("iapEnabled")]
public virtual bool? IapEnabled { get; set; }
Property Value
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
InvokerIamDisabled
Declaration
[JsonProperty("invokerIamDisabled")]
public virtual bool? InvokerIamDisabled { get; set; }
Property Value
Labels
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
LastModifier
Output only. Email address of the last authenticated modifier.
Declaration
[JsonProperty("lastModifier")]
public virtual string LastModifier { get; set; }
Property Value
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
LogUri
Output only. The Google Console URI to obtain logs for the Instance.
Declaration
[JsonProperty("logUri")]
public virtual string LogUri { get; set; }
Property Value
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
NodeSelector
Optional. The node selector for the instance.
Declaration
[JsonProperty("nodeSelector")]
public virtual GoogleCloudRunV2NodeSelector NodeSelector { get; set; }
Property Value
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
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
SatisfiesPzs
Output only. Reserved for future use.
Declaration
[JsonProperty("satisfiesPzs")]
public virtual bool? SatisfiesPzs { get; set; }
Property Value
ServiceAccount
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
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
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
UpdateTime
Declaration
[JsonIgnore]
[Obsolete("This property is obsolete and may behave unexpectedly; please use UpdateTimeDateTimeOffset instead.")]
public virtual object UpdateTime { get; set; }
Property Value
UpdateTimeDateTimeOffset
Declaration
[JsonIgnore]
public virtual DateTimeOffset? UpdateTimeDateTimeOffset { get; set; }
Property Value
UpdateTimeRaw
Output only. The last-modified time.
Declaration
[JsonProperty("updateTime")]
public virtual string UpdateTimeRaw { get; set; }
Property Value
Urls
Output only. All URLs serving traffic for this Instance.
Declaration
[JsonProperty("urls")]
public virtual IList<string> Urls { get; set; }
Property Value
Volumes
A list of Volumes to make available to containers.
Declaration
[JsonProperty("volumes")]
public virtual IList<GoogleCloudRunV2Volume> Volumes { get; set; }
Property Value
VpcAccess
Declaration
[JsonProperty("vpcAccess")]
public virtual GoogleCloudRunV2VpcAccess VpcAccess { get; set; }
Property Value
Implements