Class ExecutionConfig
Execution configuration for a workload.
Implements
Inherited Members
Namespace: Google.Apis.Dataproc.v1.Data
Assembly: Google.Apis.Dataproc.v1.dll
Syntax
public class ExecutionConfig : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
IdleTtl
Optional. Applies to sessions only. 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 1 hour if not set. 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.
Declaration
[JsonProperty("idleTtl")]
public virtual object IdleTtl { get; set; }
Property Value
Type | Description |
---|---|
object |
KmsKey
Optional. The Cloud KMS key to use for encryption.
Declaration
[JsonProperty("kmsKey")]
public virtual string KmsKey { get; set; }
Property Value
Type | Description |
---|---|
string |
NetworkTags
Optional. Tags used for network traffic control.
Declaration
[JsonProperty("networkTags")]
public virtual IList<string> NetworkTags { get; set; }
Property Value
Type | Description |
---|---|
IList<string> |
NetworkUri
Optional. Network URI to connect workload to.
Declaration
[JsonProperty("networkUri")]
public virtual string NetworkUri { get; set; }
Property Value
Type | Description |
---|---|
string |
ServiceAccount
Optional. Service account that used to execute workload.
Declaration
[JsonProperty("serviceAccount")]
public virtual string ServiceAccount { get; set; }
Property Value
Type | Description |
---|---|
string |
StagingBucket
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.
Declaration
[JsonProperty("stagingBucket")]
public virtual string StagingBucket { get; set; }
Property Value
Type | Description |
---|---|
string |
SubnetworkUri
Optional. Subnetwork URI to connect workload to.
Declaration
[JsonProperty("subnetworkUri")]
public virtual string SubnetworkUri { get; set; }
Property Value
Type | Description |
---|---|
string |
Ttl
Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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 run forever without exiting). If ttl is not specified for an interactive session, it defaults to 24 hours. If ttl is not specified for a batch that uses 2.1+ runtime version, it defaults to 4 hours. Minimum value is 10 minutes; maximum value is 14 days. 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.
Declaration
[JsonProperty("ttl")]
public virtual object Ttl { get; set; }
Property Value
Type | Description |
---|---|
object |