This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
str
Optional. Service account that used to
execute workload.
network_uri
str
Optional. Network URI to connect workload to.
This field is a member of oneof_ network.
subnetwork_uri
str
Optional. Subnetwork URI to connect workload
to.
This field is a member of oneof_ network.
network_tags
MutableSequence[str]
Optional. Tags used for network traffic
control.
kms_key
str
Optional. The Cloud KMS key to use for
encryption.
idle_ttl
google.protobuf.duration_pb2.Duration
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 __).
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.
ttl
google.protobuf.duration_pb2.Duration
Optional. The duration after which the workload will be
terminated, specified as the JSON representation for
Duration __.
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.
staging_bucket
str
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.**
authentication_config
google.cloud.dataproc_v1.types.AuthenticationConfig
Optional. Authentication configuration used
to set the default identity for the workload
execution. The config specifies the type of
identity (service account or user) that will be
used by workloads to access resources on the
project(s).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[],null,["# Class ExecutionConfig (5.21.0)\n\nVersion latestkeyboard_arrow_down\n\n- [5.21.0 (latest)](/python/docs/reference/dataproc/latest/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.20.0](/python/docs/reference/dataproc/5.20.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.18.1](/python/docs/reference/dataproc/5.18.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.17.1](/python/docs/reference/dataproc/5.17.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.16.0](/python/docs/reference/dataproc/5.16.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.15.1](/python/docs/reference/dataproc/5.15.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.14.0](/python/docs/reference/dataproc/5.14.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.13.0](/python/docs/reference/dataproc/5.13.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.12.0](/python/docs/reference/dataproc/5.12.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.10.2](/python/docs/reference/dataproc/5.10.2/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.9.3](/python/docs/reference/dataproc/5.9.3/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.8.0](/python/docs/reference/dataproc/5.8.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.7.0](/python/docs/reference/dataproc/5.7.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.6.0](/python/docs/reference/dataproc/5.6.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.5.1](/python/docs/reference/dataproc/5.5.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.4.3](/python/docs/reference/dataproc/5.4.3/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.3.0](/python/docs/reference/dataproc/5.3.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.2.0](/python/docs/reference/dataproc/5.2.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.1.0](/python/docs/reference/dataproc/5.1.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [5.0.3](/python/docs/reference/dataproc/5.0.3/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [4.0.3](/python/docs/reference/dataproc/4.0.3/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [3.3.2](/python/docs/reference/dataproc/3.3.2/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [3.2.0](/python/docs/reference/dataproc/3.2.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [3.1.1](/python/docs/reference/dataproc/3.1.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [3.0.0](/python/docs/reference/dataproc/3.0.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.6.2](/python/docs/reference/dataproc/2.6.2/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.5.0](/python/docs/reference/dataproc/2.5.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.4.0](/python/docs/reference/dataproc/2.4.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.3.1](/python/docs/reference/dataproc/2.3.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.2.0](/python/docs/reference/dataproc/2.2.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [2.0.2](/python/docs/reference/dataproc/2.0.2/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [1.1.3](/python/docs/reference/dataproc/1.1.3/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [1.0.1](/python/docs/reference/dataproc/1.0.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [0.8.2](/python/docs/reference/dataproc/0.8.2/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [0.7.0](/python/docs/reference/dataproc/0.7.0/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [0.6.1](/python/docs/reference/dataproc/0.6.1/google.cloud.dataproc_v1.types.ExecutionConfig)\n- [0.5.0](/python/docs/reference/dataproc/0.5.0/google.cloud.dataproc_v1.types.ExecutionConfig) \n\n ExecutionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nExecution configuration for a workload.\n\nThis message has `oneof`_ fields (mutually exclusive fields).\nFor each oneof, at most one member field can be set at the same time.\nSetting any member of the oneof automatically clears all other\nmembers.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e"]]