ServiceTemplateSpec class

Constructors

ServiceTemplateSpec({Input<int?>? containerConcurrency, Input<List<ServiceTemplateSpecContainer>?>? containers, Input<Map<String, String>?>? nodeSelector, Input<String?>? serviceAccountName, Input<String?>? servingState, Input<int?>? timeoutSeconds, Input<List<ServiceTemplateSpecVolume>?>? volumes})
Creates a new ServiceTemplateSpec. containerConcurrency ContainerConcurrency specifies the maximum allowed in-flight (concurrent) containers Containers defines the unit of execution for this Revision. nodeSelector Node Selector describes the hardware requirements of the resources. serviceAccountName Email address of the IAM service account associated with the revision of the servingState (Output, Deprecated) timeoutSeconds TimeoutSeconds holds the max duration the instance is allowed for responding to a request. volumes Volume represents a named volume in a container.
const
ServiceTemplateSpec.fromMap(Map<String, dynamic> map)
factory

Properties

containerConcurrency → Input<int?>?
ContainerConcurrency specifies the maximum allowed in-flight (concurrent) requests per container of the Revision. If not specified or 0, defaults to 80 when requested CPU >= 1 and defaults to 1 when requested CPU < 1.
final
containers → Input<List<ServiceTemplateSpecContainer>?>?
Containers defines the unit of execution for this Revision. Structure is documented below.
final
hashCode → int
The hash code for this object.
no setterinherited
nodeSelector → Input<Map<String, String>?>?
Node Selector describes the hardware requirements of the resources. Use the following node selector keys to configure features on a Revision:
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
servingState → Input<String?>?
(Output, Deprecated) ServingState holds a value describing the state the resources are in for this Revision. It is expected that the system will manipulate this based on routability and load.
final
timeoutSeconds → Input<int?>?
TimeoutSeconds holds the max duration the instance is allowed for responding to a request.
final
volumes → Input<List<ServiceTemplateSpecVolume>?>?
Volume represents a named volume in a container. Structure is documented below.
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