ServiceTemplateSpecArgs

data class ServiceTemplateSpecArgs(val containerConcurrency: Output<Int>? = null, val containers: Output<List<ServiceTemplateSpecContainerArgs>>? = null, val serviceAccountName: Output<String>? = null, val servingState: Output<String>? = null, val timeoutSeconds: Output<Int>? = null, val volumes: Output<List<ServiceTemplateSpecVolumeArgs>>? = null) : ConvertibleToJava<ServiceTemplateSpecArgs>

Constructors

Link copied to clipboard
constructor(containerConcurrency: Output<Int>? = null, containers: Output<List<ServiceTemplateSpecContainerArgs>>? = null, serviceAccountName: Output<String>? = null, servingState: Output<String>? = null, timeoutSeconds: Output<Int>? = null, volumes: Output<List<ServiceTemplateSpecVolumeArgs>>? = null)

Properties

Link copied to clipboard
val containerConcurrency: Output<Int>? = null

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.

Link copied to clipboard

Containers defines the unit of execution for this Revision. Structure is documented below.

Link copied to clipboard
val serviceAccountName: Output<String>? = null

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.

Link copied to clipboard
val servingState: Output<String>? = null

(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.

Link copied to clipboard
val timeoutSeconds: Output<Int>? = null

TimeoutSeconds holds the max duration the instance is allowed for responding to a request.

Link copied to clipboard

Volume represents a named volume in a container. Structure is documented below.

Functions

Link copied to clipboard
open override fun toJava(): ServiceTemplateSpecArgs