SessionTemplate(mapping=None, *, ignore_unknown_fields=False, **kwargs)
A representation of a session template.
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 |
|
---|---|
Name | Description |
name |
str
Required. The resource name of the session template. |
description |
str
Optional. Brief description of the template. |
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time when the template was created. |
jupyter_session |
google.cloud.dataproc_v1.types.JupyterConfig
Optional. Jupyter session config. This field is a member of oneof _ session_config .
|
spark_connect_session |
google.cloud.dataproc_v1.types.SparkConnectConfig
Optional. Spark Connect session config. This field is a member of oneof _ session_config .
|
creator |
str
Output only. The email address of the user who created the template. |
labels |
MutableMapping[str, str]
Optional. Labels to associate with sessions created using this template. Label **keys** must contain 1 to 63 characters, and must conform to `RFC 1035 |
runtime_config |
google.cloud.dataproc_v1.types.RuntimeConfig
Optional. Runtime configuration for session execution. |
environment_config |
google.cloud.dataproc_v1.types.EnvironmentConfig
Optional. Environment configuration for session execution. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The time the template was last updated. |
uuid |
str
Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template. |
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)
The abstract base class for a message.
Parameters | |
---|---|
Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |