RevisionSpec class

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

Constructors

RevisionSpec({Input<int>? containerConcurrency, Input<List<Container>>? containers, Input<bool>? enableServiceLinks, Input<List<LocalObjectReference>>? imagePullSecrets, Input<String>? serviceAccountName, Input<int>? timeoutSeconds, Input<List<Volume>>? volumes})
Creates a new RevisionSpec. containerConcurrency ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80. containers Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided. enableServiceLinks Not supported by Cloud Run. imagePullSecrets Not supported by Cloud Run. 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. timeoutSeconds 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). volumes Optional.
const
RevisionSpec.fromMap(Map<String, dynamic> map)
factory

Properties

containerConcurrency → Input<int>?
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80.
final
containers → Input<List<Container>>?
Containers holds the single container that defines the unit of execution for this Revision. In the context of a Revision, we disallow a number of fields on this Container, including: name and lifecycle. In Cloud Run, only a single container may be provided.
final
Not supported by Cloud Run.
final
hashCode → int
The hash code for this object.
no setterinherited
imagePullSecrets → Input<List<LocalObjectReference>>?
Not supported by Cloud Run.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
serviceAccountName → Input<String>?
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.
final
timeoutSeconds → Input<int>?
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).
final
volumes → Input<List<Volume>>?
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toMap() → Map<String, dynamic>
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited