Skip to content

Commit da26073

Browse files
committedAug 15, 2023
feat(dataproc): update the api
#### dataproc:v1 The following keys were added: - resources.projects.resources.regions.resources.clusters.methods.delete.parameters.gracefulTerminationTimeout (Total Keys: 3) - schemas.InstanceGroupConfig.properties.minNumInstances (Total Keys: 2)
1 parent ff97228 commit da26073

9 files changed

+110
-24
lines changed
 

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ <h3>Method Details</h3>
253253
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
254254
},
255255
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
256-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
256+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
257257
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
258258
},
259259
}</pre>

‎docs/dyn/dataproc_v1.projects.locations.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ <h3>Method Details</h3>
163163
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
164164
},
165165
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
166-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
166+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
167167
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
168168
},
169169
}</pre>
@@ -204,7 +204,7 @@ <h3>Method Details</h3>
204204
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
205205
},
206206
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
207-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
207+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
208208
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209209
},
210210
},

‎docs/dyn/dataproc_v1.projects.locations.workflowTemplates.html

+30-2
Large diffs are not rendered by default.

‎docs/dyn/dataproc_v1.projects.regions.clusters.html

+27-10
Large diffs are not rendered by default.

‎docs/dyn/dataproc_v1.projects.regions.clusters.nodeGroups.html

+4-2
Original file line numberDiff line numberDiff line change
@@ -138,6 +138,7 @@ <h3>Method Details</h3>
138138
&quot;instanceTemplateName&quot;: &quot;A String&quot;, # Output only. The name of the Instance Template used for the Managed Instance Group.
139139
},
140140
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -&gt; Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
141+
&quot;minNumInstances&quot;: 42, # Optional. The minimum number of instances to create. If min_num_instances is set, min_num_instances is used for a criteria to decide the cluster. Cluster creation will be failed by being an error state if the total number of instances created is less than the min_num_instances. For example, given that num_instances = 5 and min_num_instances = 3, * if 4 instances are created and then registered successfully but one instance is failed, the failed VM will be deleted and the cluster will be resized to 4 instances in running state. * if 2 instances are created successfully and 3 instances are failed, the cluster will be in an error state and does not delete failed VMs for debugging. * if 2 instance are created and then registered successfully but 3 instances are failed to initialize, the cluster will be in an error state and does not delete failed VMs for debugging. NB: This can only be set for primary workers now.
141142
&quot;numInstances&quot;: 42, # Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.
142143
&quot;preemptibility&quot;: &quot;A String&quot;, # Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.
143144
},
@@ -171,7 +172,7 @@ <h3>Method Details</h3>
171172
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
172173
},
173174
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
174-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
175+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
175176
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
176177
},
177178
}</pre>
@@ -228,6 +229,7 @@ <h3>Method Details</h3>
228229
&quot;instanceTemplateName&quot;: &quot;A String&quot;, # Output only. The name of the Instance Template used for the Managed Instance Group.
229230
},
230231
&quot;minCpuPlatform&quot;: &quot;A String&quot;, # Optional. Specifies the minimum cpu platform for the Instance Group. See Dataproc -&gt; Minimum CPU Platform (https://cloud.google.com/dataproc/docs/concepts/compute/dataproc-min-cpu).
232+
&quot;minNumInstances&quot;: 42, # Optional. The minimum number of instances to create. If min_num_instances is set, min_num_instances is used for a criteria to decide the cluster. Cluster creation will be failed by being an error state if the total number of instances created is less than the min_num_instances. For example, given that num_instances = 5 and min_num_instances = 3, * if 4 instances are created and then registered successfully but one instance is failed, the failed VM will be deleted and the cluster will be resized to 4 instances in running state. * if 2 instances are created successfully and 3 instances are failed, the cluster will be in an error state and does not delete failed VMs for debugging. * if 2 instance are created and then registered successfully but 3 instances are failed to initialize, the cluster will be in an error state and does not delete failed VMs for debugging. NB: This can only be set for primary workers now.
231233
&quot;numInstances&quot;: 42, # Optional. The number of VM instances in the instance group. For HA cluster master_config groups, must be set to 3. For standard cluster master_config groups, must be set to 1.
232234
&quot;preemptibility&quot;: &quot;A String&quot;, # Optional. Specifies the preemptibility of the instance group.The default value for master and worker groups is NON_PREEMPTIBLE. This default cannot be changed.The default value for secondary instances is PREEMPTIBLE.
233235
},
@@ -275,7 +277,7 @@ <h3>Method Details</h3>
275277
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
276278
},
277279
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
278-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
280+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
279281
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
280282
},
281283
}</pre>

‎docs/dyn/dataproc_v1.projects.regions.jobs.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -2552,7 +2552,7 @@ <h3>Method Details</h3>
25522552
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
25532553
},
25542554
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
2555-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
2555+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
25562556
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
25572557
},
25582558
}</pre>

‎docs/dyn/dataproc_v1.projects.regions.operations.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -172,7 +172,7 @@ <h3>Method Details</h3>
172172
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173173
},
174174
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
175-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
175+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
176176
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
177177
},
178178
}</pre>
@@ -256,7 +256,7 @@ <h3>Method Details</h3>
256256
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
257257
},
258258
&quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the name should be a resource name ending with operations/{unique_id}.
259-
&quot;response&quot;: { # The normal response of the operation in case of success. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
259+
&quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as Delete, the response is google.protobuf.Empty. If the original method is standard Get/Create/Update, the response should be the resource. For other methods, the response should have the type XxxResponse, where Xxx is the original method name. For example, if the original method name is TakeSnapshot(), the inferred response type is TakeSnapshotResponse.
260260
&quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
261261
},
262262
},

0 commit comments

Comments
 (0)
Failed to load comments.