Show / Hide Table of Contents

Class RevisionSpec

RevisionSpec holds the desired state of the Revision (from the client).

Inheritance
object
RevisionSpec
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.v1.Data
Assembly: Google.Apis.CloudRun.v1.dll
Syntax
public class RevisionSpec : IDirectResponseSchema

Properties

ContainerConcurrency

ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.

Declaration
[JsonProperty("containerConcurrency")]
public virtual int? ContainerConcurrency { get; set; }
Property Value
Type Description
int?

Containers

Required. Containers holds the list which define the units of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle.

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

ETag

The ETag of the item.

Declaration
public virtual string ETag { get; set; }
Property Value
Type Description
string

EnableServiceLinks

Not supported by Cloud Run.

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

ImagePullSecrets

Not supported by Cloud Run.

Declaration
[JsonProperty("imagePullSecrets")]
public virtual IList<LocalObjectReference> ImagePullSecrets { get; set; }
Property Value
Type Description
IList<LocalObjectReference>

NodeSelector

Optional. The Node Selector configuration. Map of selector key to a value which matches a node.

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

RuntimeClassName

Runtime. Leave unset for default.

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

ServiceAccountName

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. If not provided, the revision will use the project's default service account.

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

TimeoutSeconds

Optional. TimeoutSeconds holds the max duration the instance is allowed for responding to a request. Cloud Run: defaults to 300 seconds (5 minutes). Maximum allowed value is 3600 seconds (1 hour).

Declaration
[JsonProperty("timeoutSeconds")]
public virtual int? TimeoutSeconds { get; set; }
Property Value
Type Description
int?

Volumes

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX