Class ExecutionConfig (5.6.0)

ExecutionConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Execution configuration for a workload.

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.

.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields

Attributes

NameDescription
service_account 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.
ttl google.protobuf.duration_pb2.Duration
Optional. The duration after which the workload will be terminated. When the workload passes this ttl, it will be unconditionally killed without waiting for ongoing work to finish. Minimum value is 10 minutes; maximum value is 14 days (see JSON representation of Duration __). If both ttl and idle_ttl are specified, the conditions are treated as and OR: the workload will be terminated when it has been idle for idle_ttl or when the ttl has passed, whichever comes first. If ttl is not specified for a session, it defaults to 24h.
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.**