Skip to content

Commit 06a8d11

Browse files
feat(dataproc): update the api
#### dataproc:v1 The following keys were deleted: - resources.projects.resources.locations.resources.batches.resources.sparkApplications.methods.accessNativeBuildInfo (Total Keys: 13) - resources.projects.resources.locations.resources.batches.resources.sparkApplications.methods.accessNativeSqlQuery (Total Keys: 16) - resources.projects.resources.locations.resources.batches.resources.sparkApplications.methods.searchNativeSqlQueries (Total Keys: 18) - resources.projects.resources.locations.resources.sessions.resources.sparkApplications.methods.accessNativeBuildInfo (Total Keys: 13) - resources.projects.resources.locations.resources.sessions.resources.sparkApplications.methods.accessNativeSqlQuery (Total Keys: 16) - resources.projects.resources.locations.resources.sessions.resources.sparkApplications.methods.searchNativeSqlQueries (Total Keys: 18) - schemas.AccessSessionSparkApplicationNativeBuildInfoResponse (Total Keys: 3) - schemas.AccessSessionSparkApplicationNativeSqlQueryResponse (Total Keys: 3) - schemas.AccessSparkApplicationNativeBuildInfoResponse (Total Keys: 3) - schemas.AccessSparkApplicationNativeSqlQueryResponse (Total Keys: 3) - schemas.SearchSessionSparkApplicationNativeSqlQueriesResponse (Total Keys: 6) - schemas.SearchSparkApplicationNativeSqlQueriesResponse (Total Keys: 6) The following keys were added: - schemas.AutoscalingPolicy.properties.clusterType.type (Total Keys: 1) - schemas.ClusterConfig.properties.clusterType.type (Total Keys: 1) - schemas.LifecycleConfig.properties.autoStopTime (Total Keys: 2) - schemas.LifecycleConfig.properties.autoStopTtl (Total Keys: 2) - schemas.LifecycleConfig.properties.idleStopTtl (Total Keys: 2) - schemas.PropertiesInfo (Total Keys: 5) - schemas.RuntimeInfo.properties.propertiesInfo.$ref (Total Keys: 1) - schemas.ValueInfo (Total Keys: 5)
1 parent afef49a commit 06a8d11

11 files changed

+303
-622
lines changed

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ <h3>Method Details</h3>
138138
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
139139
},
140140
},
141+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
141142
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
142143
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
143144
&quot;a_key&quot;: &quot;A String&quot;,
@@ -182,6 +183,7 @@ <h3>Method Details</h3>
182183
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
183184
},
184185
},
186+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
185187
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
186188
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
187189
&quot;a_key&quot;: &quot;A String&quot;,
@@ -251,6 +253,7 @@ <h3>Method Details</h3>
251253
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
252254
},
253255
},
256+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
254257
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
255258
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
256259
&quot;a_key&quot;: &quot;A String&quot;,
@@ -350,6 +353,7 @@ <h3>Method Details</h3>
350353
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
351354
},
352355
},
356+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
353357
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
354358
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
355359
&quot;a_key&quot;: &quot;A String&quot;,
@@ -500,6 +504,7 @@ <h3>Method Details</h3>
500504
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
501505
},
502506
},
507+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
503508
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
504509
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
505510
&quot;a_key&quot;: &quot;A String&quot;,
@@ -544,6 +549,7 @@ <h3>Method Details</h3>
544549
&quot;scaleUpMinWorkerFraction&quot;: 3.14, # Optional. Minimum scale-up threshold as a fraction of total cluster size before scaling occurs. For example, in a 20-worker cluster, a threshold of 0.1 means the autoscaler must recommend at least a 2-worker scale-up for the cluster to scale. A threshold of 0 means the autoscaler will scale up on any recommended change.Bounds: 0.0, 1.0. Default: 0.0.
545550
},
546551
},
552+
&quot;clusterType&quot;: &quot;A String&quot;, # Optional. The type of the clusters for which this autoscaling policy is to be configured.
547553
&quot;id&quot;: &quot;A String&quot;, # Required. The policy id.The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). Cannot begin or end with underscore or hyphen. Must consist of between 3 and 50 characters.
548554
&quot;labels&quot;: { # Optional. The labels to associate with this autoscaling policy. Label keys must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). Label values may be empty, but, if present, must contain 1 to 63 characters, and must conform to RFC 1035 (https://www.ietf.org/rfc/rfc1035.txt). No more than 32 labels can be associated with an autoscaling policy.
549555
&quot;a_key&quot;: &quot;A String&quot;,

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

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,15 @@ <h3>Method Details</h3>
248248
&quot;a_key&quot;: &quot;A String&quot;,
249249
},
250250
&quot;outputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the stdout and stderr of the workload.
251+
&quot;propertiesInfo&quot;: { # Properties of the workload organized by origin. # Optional. Properties of the workload organized by origin.
252+
&quot;autotuningProperties&quot;: { # Output only. Properties set by autotuning engine.
253+
&quot;a_key&quot;: { # Annotatated property value.
254+
&quot;annotation&quot;: &quot;A String&quot;, # Annotation, comment or explanation why the property was set.
255+
&quot;overriddenValue&quot;: &quot;A String&quot;, # Optional. Value which was replaced by the corresponding component.
256+
&quot;value&quot;: &quot;A String&quot;, # Property value.
257+
},
258+
},
259+
},
251260
},
252261
&quot;sparkBatch&quot;: { # A configuration for running an Apache Spark (https://spark.apache.org/) batch workload. # Optional. Spark batch config.
253262
&quot;archiveUris&quot;: [ # Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
@@ -453,6 +462,15 @@ <h3>Method Details</h3>
453462
&quot;a_key&quot;: &quot;A String&quot;,
454463
},
455464
&quot;outputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the stdout and stderr of the workload.
465+
&quot;propertiesInfo&quot;: { # Properties of the workload organized by origin. # Optional. Properties of the workload organized by origin.
466+
&quot;autotuningProperties&quot;: { # Output only. Properties set by autotuning engine.
467+
&quot;a_key&quot;: { # Annotatated property value.
468+
&quot;annotation&quot;: &quot;A String&quot;, # Annotation, comment or explanation why the property was set.
469+
&quot;overriddenValue&quot;: &quot;A String&quot;, # Optional. Value which was replaced by the corresponding component.
470+
&quot;value&quot;: &quot;A String&quot;, # Property value.
471+
},
472+
},
473+
},
456474
},
457475
&quot;sparkBatch&quot;: { # A configuration for running an Apache Spark (https://spark.apache.org/) batch workload. # Optional. Spark batch config.
458476
&quot;archiveUris&quot;: [ # Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.
@@ -616,6 +634,15 @@ <h3>Method Details</h3>
616634
&quot;a_key&quot;: &quot;A String&quot;,
617635
},
618636
&quot;outputUri&quot;: &quot;A String&quot;, # Output only. A URI pointing to the location of the stdout and stderr of the workload.
637+
&quot;propertiesInfo&quot;: { # Properties of the workload organized by origin. # Optional. Properties of the workload organized by origin.
638+
&quot;autotuningProperties&quot;: { # Output only. Properties set by autotuning engine.
639+
&quot;a_key&quot;: { # Annotatated property value.
640+
&quot;annotation&quot;: &quot;A String&quot;, # Annotation, comment or explanation why the property was set.
641+
&quot;overriddenValue&quot;: &quot;A String&quot;, # Optional. Value which was replaced by the corresponding component.
642+
&quot;value&quot;: &quot;A String&quot;, # Property value.
643+
},
644+
},
645+
},
619646
},
620647
&quot;sparkBatch&quot;: { # A configuration for running an Apache Spark (https://spark.apache.org/) batch workload. # Optional. Spark batch config.
621648
&quot;archiveUris&quot;: [ # Optional. HCFS URIs of archives to be extracted into the working directory of each executor. Supported file types: .jar, .tar, .tar.gz, .tgz, and .zip.

docs/dyn/dataproc_v1.projects.locations.batches.sparkApplications.html

Lines changed: 0 additions & 124 deletions
Original file line numberDiff line numberDiff line change
@@ -83,12 +83,6 @@ <h2>Instance Methods</h2>
8383
<p class="toc_element">
8484
<code><a href="#accessJob">accessJob(name, jobId=None, parent=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Obtain data corresponding to a spark job for a Spark Application.</p>
86-
<p class="toc_element">
87-
<code><a href="#accessNativeBuildInfo">accessNativeBuildInfo(name, parent=None, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Obtain build data for Native Job</p>
89-
<p class="toc_element">
90-
<code><a href="#accessNativeSqlQuery">accessNativeSqlQuery(name, executionId=None, parent=None, x__xgafv=None)</a></code></p>
91-
<p class="firstline">Obtain data corresponding to a particular Native SQL Query for a Spark Application.</p>
9286
<p class="toc_element">
9387
<code><a href="#accessSqlPlan">accessSqlPlan(name, executionId=None, parent=None, x__xgafv=None)</a></code></p>
9488
<p class="firstline">Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.</p>
@@ -125,12 +119,6 @@ <h2>Instance Methods</h2>
125119
<p class="toc_element">
126120
<code><a href="#searchJobs_next">searchJobs_next()</a></code></p>
127121
<p class="firstline">Retrieves the next page of results.</p>
128-
<p class="toc_element">
129-
<code><a href="#searchNativeSqlQueries">searchNativeSqlQueries(name, pageSize=None, pageToken=None, parent=None, x__xgafv=None)</a></code></p>
130-
<p class="firstline">Obtain data corresponding to Native SQL Queries for a Spark Application.</p>
131-
<p class="toc_element">
132-
<code><a href="#searchNativeSqlQueries_next">searchNativeSqlQueries_next()</a></code></p>
133-
<p class="firstline">Retrieves the next page of results.</p>
134122
<p class="toc_element">
135123
<code><a href="#searchSqlQueries">searchSqlQueries(name, details=None, pageSize=None, pageToken=None, parent=None, planDescription=None, x__xgafv=None)</a></code></p>
136124
<p class="firstline">Obtain data corresponding to SQL Queries for a Spark Application.</p>
@@ -325,67 +313,6 @@ <h3>Method Details</h3>
325313
}</pre>
326314
</div>
327315

328-
<div class="method">
329-
<code class="details" id="accessNativeBuildInfo">accessNativeBuildInfo(name, parent=None, x__xgafv=None)</code>
330-
<pre>Obtain build data for Native Job
331-
332-
Args:
333-
name: string, Required. The fully qualified name of the batch to retrieve in the format &quot;projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID&quot; (required)
334-
parent: string, Required. Parent (Batch) resource reference.
335-
x__xgafv: string, V1 error format.
336-
Allowed values
337-
1 - v1 error format
338-
2 - v2 error format
339-
340-
Returns:
341-
An object of the form:
342-
343-
{ # Details of Native Build Info for a Spark Application
344-
&quot;buildInfo&quot;: { # Native Build Info Data
345-
&quot;buildClass&quot;: &quot;A String&quot;, # Optional. Build class of Native.
346-
&quot;buildInfo&quot;: [ # Optional. Build related details.
347-
{ # Native Build Info
348-
&quot;buildKey&quot;: &quot;A String&quot;, # Optional. Build key.
349-
&quot;buildValue&quot;: &quot;A String&quot;, # Optional. Build value.
350-
},
351-
],
352-
},
353-
}</pre>
354-
</div>
355-
356-
<div class="method">
357-
<code class="details" id="accessNativeSqlQuery">accessNativeSqlQuery(name, executionId=None, parent=None, x__xgafv=None)</code>
358-
<pre>Obtain data corresponding to a particular Native SQL Query for a Spark Application.
359-
360-
Args:
361-
name: string, Required. The fully qualified name of the batch to retrieve in the format &quot;projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID&quot; (required)
362-
executionId: string, Required. Execution ID
363-
parent: string, Required. Parent (Batch) resource reference.
364-
x__xgafv: string, V1 error format.
365-
Allowed values
366-
1 - v1 error format
367-
2 - v2 error format
368-
369-
Returns:
370-
An object of the form:
371-
372-
{ # Details of a query for a Spark Application
373-
&quot;executionData&quot;: { # Native SQL Execution Data # Native SQL Execution Data
374-
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the execution.
375-
&quot;executionId&quot;: &quot;A String&quot;, # Required. Execution ID of the Native SQL Execution.
376-
&quot;fallbackDescription&quot;: &quot;A String&quot;, # Optional. Description of the fallback.
377-
&quot;fallbackNodeToReason&quot;: [ # Optional. Fallback node to reason.
378-
{ # Native SQL Execution Data
379-
&quot;fallbackNode&quot;: &quot;A String&quot;, # Optional. Fallback node information.
380-
&quot;fallbackReason&quot;: &quot;A String&quot;, # Optional. Fallback to Spark reason.
381-
},
382-
],
383-
&quot;numFallbackNodes&quot;: 42, # Optional. Number of nodes fallen back to Spark.
384-
&quot;numNativeNodes&quot;: 42, # Optional. Number of nodes in Native.
385-
},
386-
}</pre>
387-
</div>
388-
389316
<div class="method">
390317
<code class="details" id="accessSqlPlan">accessSqlPlan(name, executionId=None, parent=None, x__xgafv=None)</code>
391318
<pre>Obtain Spark Plan Graph for a Spark Application SQL execution. Limits the number of clusters returned as part of the graph to 10000.
@@ -1501,57 +1428,6 @@ <h3>Method Details</h3>
15011428
</pre>
15021429
</div>
15031430

1504-
<div class="method">
1505-
<code class="details" id="searchNativeSqlQueries">searchNativeSqlQueries(name, pageSize=None, pageToken=None, parent=None, x__xgafv=None)</code>
1506-
<pre>Obtain data corresponding to Native SQL Queries for a Spark Application.
1507-
1508-
Args:
1509-
name: string, Required. The fully qualified name of the batch to retrieve in the format &quot;projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID/sparkApplications/APPLICATION_ID&quot; (required)
1510-
pageSize: integer, Optional. Maximum number of queries to return in each response. The service may return fewer than this. The default page size is 10; the maximum page size is 100.
1511-
pageToken: string, Optional. A page token received from a previous SearchSparkApplicationNativeSqlQueries call. Provide this token to retrieve the subsequent page.
1512-
parent: string, Required. Parent (Batch) resource reference.
1513-
x__xgafv: string, V1 error format.
1514-
Allowed values
1515-
1 - v1 error format
1516-
2 - v2 error format
1517-
1518-
Returns:
1519-
An object of the form:
1520-
1521-
{ # List of all Native SQL queries details for a Spark Application.
1522-
&quot;nextPageToken&quot;: &quot;A String&quot;, # This token is included in the response if there are more results to fetch. To fetch additional results, provide this value as the page_token in a subsequent SearchSparkApplicationNativeSqlQueriesRequest.
1523-
&quot;sparkApplicationNativeSqlQueries&quot;: [ # Output only. Native SQL Execution Data
1524-
{ # Native SQL Execution Data
1525-
&quot;description&quot;: &quot;A String&quot;, # Optional. Description of the execution.
1526-
&quot;executionId&quot;: &quot;A String&quot;, # Required. Execution ID of the Native SQL Execution.
1527-
&quot;fallbackDescription&quot;: &quot;A String&quot;, # Optional. Description of the fallback.
1528-
&quot;fallbackNodeToReason&quot;: [ # Optional. Fallback node to reason.
1529-
{ # Native SQL Execution Data
1530-
&quot;fallbackNode&quot;: &quot;A String&quot;, # Optional. Fallback node information.
1531-
&quot;fallbackReason&quot;: &quot;A String&quot;, # Optional. Fallback to Spark reason.
1532-
},
1533-
],
1534-
&quot;numFallbackNodes&quot;: 42, # Optional. Number of nodes fallen back to Spark.
1535-
&quot;numNativeNodes&quot;: 42, # Optional. Number of nodes in Native.
1536-
},
1537-
],
1538-
}</pre>
1539-
</div>
1540-
1541-
<div class="method">
1542-
<code class="details" id="searchNativeSqlQueries_next">searchNativeSqlQueries_next()</code>
1543-
<pre>Retrieves the next page of results.
1544-
1545-
Args:
1546-
previous_request: The request for the previous page. (required)
1547-
previous_response: The response from the request for the previous page. (required)
1548-
1549-
Returns:
1550-
A request object that you can call &#x27;execute()&#x27; on to request the next
1551-
page. Returns None if there are no more items in the collection.
1552-
</pre>
1553-
</div>
1554-
15551431
<div class="method">
15561432
<code class="details" id="searchSqlQueries">searchSqlQueries(name, details=None, pageSize=None, pageToken=None, parent=None, planDescription=None, x__xgafv=None)</code>
15571433
<pre>Obtain data corresponding to SQL Queries for a Spark Application.

0 commit comments

Comments
 (0)