ExecutionConfigResponse

data class ExecutionConfigResponse(val idleTtl: String, val kmsKey: String, val networkTags: List<String>, val networkUri: String, val serviceAccount: String, val stagingBucket: String, val subnetworkUri: String, val ttl: String)

Execution configuration for a workload.

Constructors

Link copied to clipboard
fun ExecutionConfigResponse(idleTtl: String, kmsKey: String, networkTags: List<String>, networkUri: String, serviceAccount: String, stagingBucket: String, subnetworkUri: String, ttl: String)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

Optional. The duration to keep the session alive while it's idling. Exceeding this threshold causes the session to terminate. This field cannot be set on a batch workload. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). Defaults to 4 hours if not set. If both ttl and idle_ttl are specified, the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceed, whichever occurs first.

Link copied to clipboard

Optional. The Cloud KMS key to use for encryption.

Link copied to clipboard

Optional. Tags used for network traffic control.

Link copied to clipboard

Optional. Network URI to connect workload to.

Link copied to clipboard

Optional. Service account that used to execute workload.

Link copied to clipboard

Optional. A Cloud Storage bucket used to stage workload dependencies, config files, and store workload output and other ephemeral data, such as Spark history files. If you do not specify a staging bucket, Cloud Dataproc will determine a Cloud Storage location according to the region where your workload is running, and then create and manage project-level, per-location staging and temporary buckets. This field requires a Cloud Storage bucket name, not a gs://... URI to a Cloud Storage bucket.

Link copied to clipboard

Optional. Subnetwork URI to connect workload to.

Link copied to clipboard
val ttl: String

Optional. The duration after which the workload will be terminated. When the workload exceeds this duration, it will be unconditionally terminated without waiting for ongoing work to finish. If ttl is not specified for a batch workload, the workload will be allowed to run until it exits naturally (or runs forever without exiting). If ttl is not specified for an interactive session, it defaults to 24h. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration (https://developers.google.com/protocol-buffers/docs/proto3#json)). If both ttl and idle_ttl are specified (for an interactive session), the conditions are treated as OR conditions: the workload will be terminated when it has been idle for idle_ttl or when ttl has been exceeded, whichever occurs first.