Debian Codegraph @

docs/dyn/dataproc_v1.projects.locations.sessionTemplates.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="dataproc_v1.html">Cloud Dataproc API</a> . <a href="dataproc_v1.projects.html">projects</a> . <a href="dataproc_v1.projects.locations.html">locations</a> . <a href="dataproc_v1.projects.locations.sessionTemplates.html">sessionTemplates</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#create">create(parent, body=None, x__xgafv=None)</a></code></p>
82 <p class="firstline">Create a session template synchronously.</p>
83 <p class="toc_element">
84 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Deletes a session template.</p>
86 <p class="toc_element">
87 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Gets the resource representation for a session template.</p>
89 <p class="toc_element">
90 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
91 <p class="firstline">Lists session templates.</p>
92 <p class="toc_element">
93 <code><a href="#list_next">list_next()</a></code></p>
94 <p class="firstline">Retrieves the next page of results.</p>
95 <p class="toc_element">
96 <code><a href="#patch">patch(name, body=None, x__xgafv=None)</a></code></p>
97 <p class="firstline">Updates the session template synchronously.</p>
98 <h3>Method Details</h3>
99 <div class="method">
100 <code class="details" id="close">close()</code>
101 <pre>Close httplib2 connections.</pre>
102 </div>
103
104 <div class="method">
105 <code class="details" id="create">create(parent, body=None, x__xgafv=None)</code>
106 <pre>Create a session template synchronously.
107
108 Args:
109 parent: string, Required. The parent resource where this session template will be created. (required)
110 body: object, The request body.
111 The object takes the form of:
112
113 { # A representation of a session template.
114 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
115 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
116 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
117 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
118 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
119 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
120 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
121 },
122 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
123 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
124 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
125 &quot;A String&quot;,
126 ],
127 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
128 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
129 &quot;a_key&quot;: &quot;A String&quot;,
130 },
131 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
132 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
133 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
134 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
135 },
136 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
137 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
138 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
139 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
140 },
141 },
142 },
143 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
144 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
145 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
146 },
147 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
148 &quot;a_key&quot;: &quot;A String&quot;,
149 },
150 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
151 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
152 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
153 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
154 &quot;A String&quot;,
155 ],
156 },
157 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
158 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
159 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
160 &quot;a_key&quot;: &quot;A String&quot;,
161 },
162 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
163 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
164 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
165 },
166 },
167 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
168 },
169 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
170 },
171 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
172 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
173 }
174
175 x__xgafv: string, V1 error format.
176 Allowed values
177 1 - v1 error format
178 2 - v2 error format
179
180 Returns:
181 An object of the form:
182
183 { # A representation of a session template.
184 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
185 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
186 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
187 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
188 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
189 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
190 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
191 },
192 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
193 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
194 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
195 &quot;A String&quot;,
196 ],
197 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
198 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
199 &quot;a_key&quot;: &quot;A String&quot;,
200 },
201 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
202 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
203 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
204 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
205 },
206 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
207 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
208 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
209 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
210 },
211 },
212 },
213 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
214 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
215 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
216 },
217 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
218 &quot;a_key&quot;: &quot;A String&quot;,
219 },
220 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
221 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
222 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
223 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
224 &quot;A String&quot;,
225 ],
226 },
227 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
228 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
229 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
230 &quot;a_key&quot;: &quot;A String&quot;,
231 },
232 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
233 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
234 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
235 },
236 },
237 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
238 },
239 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
240 },
241 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
242 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
243 }</pre>
244 </div>
245
246 <div class="method">
247 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
248 <pre>Deletes a session template.
249
250 Args:
251 name: string, Required. The name of the session template resource to delete. (required)
252 x__xgafv: string, V1 error format.
253 Allowed values
254 1 - v1 error format
255 2 - v2 error format
256
257 Returns:
258 An object of the form:
259
260 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
261 }</pre>
262 </div>
263
264 <div class="method">
265 <code class="details" id="get">get(name, x__xgafv=None)</code>
266 <pre>Gets the resource representation for a session template.
267
268 Args:
269 name: string, Required. The name of the session template to retrieve. (required)
270 x__xgafv: string, V1 error format.
271 Allowed values
272 1 - v1 error format
273 2 - v2 error format
274
275 Returns:
276 An object of the form:
277
278 { # A representation of a session template.
279 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
280 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
281 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
282 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
283 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
284 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
285 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
286 },
287 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
288 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
289 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
290 &quot;A String&quot;,
291 ],
292 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
293 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
294 &quot;a_key&quot;: &quot;A String&quot;,
295 },
296 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
297 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
298 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
299 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
300 },
301 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
302 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
303 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
304 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
305 },
306 },
307 },
308 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
309 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
310 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
311 },
312 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
313 &quot;a_key&quot;: &quot;A String&quot;,
314 },
315 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
316 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
317 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
318 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
319 &quot;A String&quot;,
320 ],
321 },
322 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
323 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
324 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
325 &quot;a_key&quot;: &quot;A String&quot;,
326 },
327 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
328 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
329 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
330 },
331 },
332 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
333 },
334 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
335 },
336 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
337 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
338 }</pre>
339 </div>
340
341 <div class="method">
342 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
343 <pre>Lists session templates.
344
345 Args:
346 parent: string, Required. The parent that owns this collection of session templates. (required)
347 filter: string, Optional. A filter for the session templates to return in the response. Filters are case sensitive and have the following syntax:field = value AND field = value ...
348 pageSize: integer, Optional. The maximum number of sessions to return in each response. The service may return fewer than this value.
349 pageToken: string, Optional. A page token received from a previous ListSessions call. Provide this token to retrieve the subsequent page.
350 x__xgafv: string, V1 error format.
351 Allowed values
352 1 - v1 error format
353 2 - v2 error format
354
355 Returns:
356 An object of the form:
357
358 { # A list of session templates.
359 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token, which can be sent as page_token to retrieve the next page. If this field is omitted, there are no subsequent pages.
360 &quot;sessionTemplates&quot;: [ # Output only. Session template list
361 { # A representation of a session template.
362 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
363 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
364 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
365 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
366 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
367 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
368 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
369 },
370 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
371 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
372 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
373 &quot;A String&quot;,
374 ],
375 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
376 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
377 &quot;a_key&quot;: &quot;A String&quot;,
378 },
379 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
380 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
381 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
382 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
383 },
384 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
385 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
386 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
387 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
388 },
389 },
390 },
391 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
392 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
393 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
394 },
395 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
396 &quot;a_key&quot;: &quot;A String&quot;,
397 },
398 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
399 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
400 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
401 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
402 &quot;A String&quot;,
403 ],
404 },
405 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
406 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
407 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
408 &quot;a_key&quot;: &quot;A String&quot;,
409 },
410 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
411 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
412 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
413 },
414 },
415 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
416 },
417 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
418 },
419 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
420 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
421 },
422 ],
423 }</pre>
424 </div>
425
426 <div class="method">
427 <code class="details" id="list_next">list_next()</code>
428 <pre>Retrieves the next page of results.
429
430 Args:
431 previous_request: The request for the previous page. (required)
432 previous_response: The response from the request for the previous page. (required)
433
434 Returns:
435 A request object that you can call &#x27;execute()&#x27; on to request the next
436 page. Returns None if there are no more items in the collection.
437 </pre>
438 </div>
439
440 <div class="method">
441 <code class="details" id="patch">patch(name, body=None, x__xgafv=None)</code>
442 <pre>Updates the session template synchronously.
443
444 Args:
445 name: string, Required. Identifier. The resource name of the session template. (required)
446 body: object, The request body.
447 The object takes the form of:
448
449 { # A representation of a session template.
450 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
451 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
452 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
453 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
454 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
455 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
456 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
457 },
458 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
459 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
460 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
461 &quot;A String&quot;,
462 ],
463 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
464 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
465 &quot;a_key&quot;: &quot;A String&quot;,
466 },
467 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
468 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
469 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
470 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
471 },
472 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
473 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
474 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
475 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
476 },
477 },
478 },
479 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
480 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
481 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
482 },
483 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
484 &quot;a_key&quot;: &quot;A String&quot;,
485 },
486 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
487 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
488 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
489 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
490 &quot;A String&quot;,
491 ],
492 },
493 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
494 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
495 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
496 &quot;a_key&quot;: &quot;A String&quot;,
497 },
498 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
499 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
500 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
501 },
502 },
503 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
504 },
505 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
506 },
507 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
508 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
509 }
510
511 x__xgafv: string, V1 error format.
512 Allowed values
513 1 - v1 error format
514 2 - v2 error format
515
516 Returns:
517 An object of the form:
518
519 { # A representation of a session template.
520 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the template was created.
521 &quot;creator&quot;: &quot;A String&quot;, # Output only. The email address of the user who created the template.
522 &quot;description&quot;: &quot;A String&quot;, # Optional. Brief description of the template.
523 &quot;environmentConfig&quot;: { # Environment configuration for a workload. # Optional. Environment configuration for session execution.
524 &quot;executionConfig&quot;: { # Execution configuration for a workload. # Optional. Execution configuration for a workload.
525 &quot;authenticationConfig&quot;: { # Authentication configuration for a workload is 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). # 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).
526 &quot;userWorkloadAuthenticationType&quot;: &quot;A String&quot;, # Optional. Authentication type for the user workload running in containers.
527 },
528 &quot;idleTtl&quot;: &quot;A String&quot;, # Optional. Applies to sessions only. The duration to keep the session alive while it&#x27;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 (https://developers.google.com/protocol-buffers/docs/proto3#json)). 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.
529 &quot;kmsKey&quot;: &quot;A String&quot;, # Optional. The Cloud KMS key to use for encryption.
530 &quot;networkTags&quot;: [ # Optional. Tags used for network traffic control.
531 &quot;A String&quot;,
532 ],
533 &quot;networkUri&quot;: &quot;A String&quot;, # Optional. Network URI to connect workload to.
534 &quot;resourceManagerTags&quot;: { # Optional. Associates Resource Manager tags with the workload nodes. There is a max limit of 30 tags. Keys and values can be either in numeric format, such as tagKeys/{tag_key_id} and tagValues/{tag_value_id}, or in namespaced format, such as {org_id|project_id}/{tag_key_short_name} and {tag_value_short_name}.
535 &quot;a_key&quot;: &quot;A String&quot;,
536 },
537 &quot;serviceAccount&quot;: &quot;A String&quot;, # Optional. Service account that used to execute workload.
538 &quot;stagingBucket&quot;: &quot;A String&quot;, # 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.
539 &quot;subnetworkUri&quot;: &quot;A String&quot;, # Optional. Subnetwork URI to connect workload to.
540 &quot;ttl&quot;: &quot;A String&quot;, # Optional. The duration after which the workload will be terminated, specified as the JSON representation for Duration (https://protobuf.dev/programming-guides/proto3/#json). 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.
541 },
542 &quot;peripheralsConfig&quot;: { # Auxiliary services configuration for a workload. # Optional. Peripherals configuration that workload has access to.
543 &quot;metastoreService&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Metastore service.Example: projects/[project_id]/locations/[region]/services/[service_id]
544 &quot;sparkHistoryServerConfig&quot;: { # Spark History Server configuration for the workload. # Optional. The Spark History Server configuration for the workload.
545 &quot;dataprocCluster&quot;: &quot;A String&quot;, # Optional. Resource name of an existing Dataproc Cluster to act as a Spark History Server for the workload.Example: projects/[project_id]/regions/[region]/clusters/[cluster_name]
546 },
547 },
548 },
549 &quot;jupyterSession&quot;: { # Jupyter configuration for an interactive session. # Optional. Jupyter session config.
550 &quot;displayName&quot;: &quot;A String&quot;, # Optional. Display name, shown in the Jupyter kernelspec card.
551 &quot;kernel&quot;: &quot;A String&quot;, # Optional. Kernel
552 },
553 &quot;labels&quot;: { # Optional. Labels to associate with sessions created using this template. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values can be empty, but, if present, must contain 1 to 63 characters and conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with a session.
554 &quot;a_key&quot;: &quot;A String&quot;,
555 },
556 &quot;name&quot;: &quot;A String&quot;, # Required. Identifier. The resource name of the session template.
557 &quot;runtimeConfig&quot;: { # Runtime configuration for a workload. # Optional. Runtime configuration for session execution.
558 &quot;autotuningConfig&quot;: { # Autotuning configuration of the workload. # Optional. Autotuning configuration of the workload.
559 &quot;scenarios&quot;: [ # Optional. Scenarios for which tunings are applied.
560 &quot;A String&quot;,
561 ],
562 },
563 &quot;cohort&quot;: &quot;A String&quot;, # Optional. Cohort identifier. Identifies families of the workloads that have the same shape, for example, daily ETL jobs.
564 &quot;containerImage&quot;: &quot;A String&quot;, # Optional. Optional custom container image for the job runtime environment. If not specified, a default container image will be used.
565 &quot;properties&quot;: { # Optional. A mapping of property names to values, which are used to configure workload execution.
566 &quot;a_key&quot;: &quot;A String&quot;,
567 },
568 &quot;repositoryConfig&quot;: { # Configuration for dependency repositories # Optional. Dependency repository configuration.
569 &quot;pypiRepositoryConfig&quot;: { # Configuration for PyPi repository # Optional. Configuration for PyPi repository.
570 &quot;pypiRepository&quot;: &quot;A String&quot;, # Optional. The PyPi repository address. Note: This field is not available for batch workloads.
571 },
572 },
573 &quot;version&quot;: &quot;A String&quot;, # Optional. Version of the batch runtime.
574 },
575 &quot;sparkConnectSession&quot;: { # Spark connect configuration for an interactive session. # Optional. Spark connect session config.
576 },
577 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time the template was last updated.
578 &quot;uuid&quot;: &quot;A String&quot;, # Output only. A session template UUID (Unique Universal Identifier). The service generates this value when it creates the session template.
579 }</pre>
580 </div>
581
582 </body></html>