Class GoogleCloudRunV2Revision
A Revision is an immutable snapshot of code and configuration. A Revision references a container image. Revisions are only created by updates to its parent Service.
Implements
Inherited Members
Namespace: Google.Apis.CloudRun.v2.Data
Assembly: Google.Apis.CloudRun.v2.dll
Syntax
public class GoogleCloudRunV2Revision : IDirectResponseSchema
Properties
Annotations
Output only. Unstructured key value map that may be set by external tools to store and arbitrary metadata. They are not queryable and should be preserved when modifying objects.
Declaration
[JsonProperty("annotations")]
public virtual IDictionary<string, string> Annotations { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
Conditions
Output only. The Condition of this Revision, containing its readiness status, and detailed error information in case it did not reach a serving state.
Declaration
[JsonProperty("conditions")]
public virtual IList<GoogleCloudRunV2Condition> Conditions { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleCloudRunV2Condition> |
Containers
Holds the single container that defines the unit of execution for this Revision.
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 |
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. For a deleted resource, the deletion time. It is only populated as a response to a Delete request.
Declaration
[JsonProperty("deleteTime")]
public virtual string DeleteTimeRaw { get; set; }
Property Value
Type | Description |
---|---|
string |
ETag
Output only. 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 |
ExecutionEnvironment
The execution environment being used to host this Revision.
Declaration
[JsonProperty("executionEnvironment")]
public virtual string ExecutionEnvironment { get; set; }
Property Value
Type | Description |
---|---|
string |
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. It is only populated as a response to a Delete request.
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.
Declaration
[JsonProperty("generation")]
public virtual long? Generation { get; set; }
Property Value
Type | Description |
---|---|
long? |
Labels
Output only. Unstructured key value map that can be used to organize and categorize objects. User-provided labels are shared with Google's billing system, so they can be used to filter, or break down billing charges by team, component, environment, state, etc. For more information, visit https://cloud.google.com/resource-manager/docs/creating-managing-labels or https://cloud.google.com/run/docs/configuring/labels.
Declaration
[JsonProperty("labels")]
public virtual IDictionary<string, string> Labels { get; set; }
Property Value
Type | Description |
---|---|
IDictionary<string, string> |
LaunchStage
The least stable launch stage needed to create this resource, as defined by Google Cloud Platform Launch
Stages. Cloud Run supports ALPHA
, BETA
, and GA
. Note
that this value might not be what was used as input. For example, if ALPHA was provided as input in the
parent resource, but only BETA and GA-level features are were, this field will be BETA.
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 Revision.
Declaration
[JsonProperty("logUri")]
public virtual string LogUri { get; set; }
Property Value
Type | Description |
---|---|
string |
MaxInstanceRequestConcurrency
Sets the maximum number of requests that each serving instance can receive.
Declaration
[JsonProperty("maxInstanceRequestConcurrency")]
public virtual int? MaxInstanceRequestConcurrency { get; set; }
Property Value
Type | Description |
---|---|
int? |
Name
Output only. The unique name of this Revision.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
NodeSelector
The node selector for the revision.
Declaration
[JsonProperty("nodeSelector")]
public virtual GoogleCloudRunV2NodeSelector NodeSelector { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2NodeSelector |
ObservedGeneration
Output only. The generation of this Revision currently serving traffic. See comments in reconciling
for
additional information on reconciliation process in Cloud Run.
Declaration
[JsonProperty("observedGeneration")]
public virtual long? ObservedGeneration { get; set; }
Property Value
Type | Description |
---|---|
long? |
Reconciling
Output only. Indicates whether the resource's reconciliation is still in progress. See comments in
Service.reconciling
for additional information on reconciliation process in Cloud Run.
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? |
Scaling
Scaling settings for this revision.
Declaration
[JsonProperty("scaling")]
public virtual GoogleCloudRunV2RevisionScaling Scaling { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2RevisionScaling |
ScalingStatus
Output only. The current effective scaling settings for the revision.
Declaration
[JsonProperty("scalingStatus")]
public virtual GoogleCloudRunV2RevisionScalingStatus ScalingStatus { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2RevisionScalingStatus |
Service
Output only. The name of the parent service.
Declaration
[JsonProperty("service")]
public virtual string Service { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Email address of the IAM service account associated with the revision of the service. The service account represents the identity of the running revision, and determines what permissions the revision has.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceMesh
Enables service mesh connectivity.
Declaration
[JsonProperty("serviceMesh")]
public virtual GoogleCloudRunV2ServiceMesh ServiceMesh { get; set; }
Property Value
Type | Description |
---|---|
GoogleCloudRunV2ServiceMesh |
SessionAffinity
Enable session affinity.
Declaration
[JsonProperty("sessionAffinity")]
public virtual bool? SessionAffinity { get; set; }
Property Value
Type | Description |
---|---|
bool? |
Timeout
Max allowed time for an instance to respond to a request.
Declaration
[JsonProperty("timeout")]
public virtual object Timeout { get; set; }
Property Value
Type | Description |
---|---|
object |
Uid
Output only. Server assigned unique identifier for the Revision. 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 |
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
VPC Access configuration 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 |