RevisionSpec class
RevisionSpec holds the desired state of the Revision (from the client).
Constructors
-
RevisionSpec({Input<
int> ? containerConcurrency, Input<List< ? containers, Input<Container> >bool> ? enableServiceLinks, Input<List< ? imagePullSecrets, Input<LocalObjectReference> >String> ? serviceAccountName, Input<int> ? timeoutSeconds, Input<List< ? volumes})Volume> > -
Creates a new RevisionSpec.
containerConcurrencyContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container instance of the Revision. If not specified, defaults to 80.containersContainers 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.enableServiceLinksNot supported by Cloud Run.imagePullSecretsNot supported by Cloud Run.serviceAccountNameEmail 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.timeoutSecondsTimeoutSeconds 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).volumesOptional.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
-
enableServiceLinks
→ Input<
bool> ? -
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