Class SparkTaskConfig (1.9.0)

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

User-specified config for running a Spark task.

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
main_jar_file_uri str
The Cloud Storage URI of the jar file that contains the main class. The execution args are passed in as a sequence of named process arguments (--key=value). This field is a member of oneof_ driver.
main_class str
The name of the driver's main class. The jar file that contains the class must be in the default CLASSPATH or specified in jar_file_uris. The execution args are passed in as a sequence of named process arguments (--key=value). This field is a member of oneof_ driver.
python_script_file str
The Gcloud Storage URI of the main Python file to use as the driver. Must be a .py file. The execution args are passed in as a sequence of named process arguments (--key=value). This field is a member of oneof_ driver.
sql_script_file str
A reference to a query file. This can be the Cloud Storage URI of the query file or it can the path to a SqlScript Content. The execution args are used to declare a set of script variables (set key="value";). This field is a member of oneof_ driver.
sql_script str
The query text. The execution args are used to declare a set of script variables (set key="value";). This field is a member of oneof_ driver.
file_uris MutableSequence[str]
Optional. Cloud Storage URIs of files to be placed in the working directory of each executor.
archive_uris MutableSequence[str]
Optional. Cloud Storage URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
infrastructure_spec google.cloud.dataplex_v1.types.Task.InfrastructureSpec
Optional. Infrastructure specification for the execution.