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
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 should be the Cloud
Storage URI of the query file. 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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class SparkTaskConfig (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.10.2](/python/docs/reference/dataplex/2.10.2/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.9.0](/python/docs/reference/dataplex/2.9.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.8.0](/python/docs/reference/dataplex/2.8.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.7.1](/python/docs/reference/dataplex/2.7.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.6.0](/python/docs/reference/dataplex/2.6.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.5.0](/python/docs/reference/dataplex/2.5.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.4.0](/python/docs/reference/dataplex/2.4.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.3.1](/python/docs/reference/dataplex/2.3.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.2.2](/python/docs/reference/dataplex/2.2.2/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.1.0](/python/docs/reference/dataplex/2.1.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [2.0.1](/python/docs/reference/dataplex/2.0.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.13.0](/python/docs/reference/dataplex/1.13.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.12.3](/python/docs/reference/dataplex/1.12.3/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.11.0](/python/docs/reference/dataplex/1.11.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.10.0](/python/docs/reference/dataplex/1.10.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.9.0](/python/docs/reference/dataplex/1.9.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.8.1](/python/docs/reference/dataplex/1.8.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.7.0](/python/docs/reference/dataplex/1.7.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.6.2](/python/docs/reference/dataplex/1.6.2/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.5.1](/python/docs/reference/dataplex/1.5.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.4.3](/python/docs/reference/dataplex/1.4.3/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.3.0](/python/docs/reference/dataplex/1.3.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.2.0](/python/docs/reference/dataplex/1.2.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.1.3](/python/docs/reference/dataplex/1.1.3/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [1.0.1](/python/docs/reference/dataplex/1.0.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [0.2.1](/python/docs/reference/dataplex/0.2.1/google.cloud.dataplex_v1.types.Task.SparkTaskConfig)\n- [0.1.0](/python/docs/reference/dataplex/0.1.0/google.cloud.dataplex_v1.types.Task.SparkTaskConfig) \n\n SparkTaskConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nUser-specified config for running a Spark task.\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"]]