GetServiceTemplateSpec class

Constructors

GetServiceTemplateSpec({required Input<int> containerConcurrency, required Input<List<GetServiceTemplateSpecContainer>> containers, required Input<Map<String, String>> nodeSelector, required Input<String> serviceAccountName, required Input<String> servingState, required Input<int> timeoutSeconds, required Input<List<GetServiceTemplateSpecVolume>> volumes})
Creates a new GetServiceTemplateSpec. 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 ServingState holds a value describing the state the resources 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
GetServiceTemplateSpec.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<GetServiceTemplateSpecContainer>>
Containers defines the unit of execution for this Revision.
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>
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<GetServiceTemplateSpecVolume>>
Volume represents a named volume in a container.
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