Skip to content

Commit 841366b

Browse files
feat: [dataproc] add support for new Dataproc features (#9127)
* fix: Add service_yaml_parameters to py_gapic_library BUILD.bazel targets PiperOrigin-RevId: 510187992 Source-Link: googleapis/googleapis@5edc235 Source-Link: https://github.com/googleapis/googleapis-gen/commit/b0bedb72e4765a3e0b674a28c50ea0f9a9b26a89 Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiYjBiZWRiNzJlNDc2NWEzZTBiNjc0YTI4YzUwZWEwZjlhOWIyNmE4OSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add support for new Dataproc features PiperOrigin-RevId: 510421528 Source-Link: googleapis/googleapis@5a395e4 Source-Link: https://github.com/googleapis/googleapis-gen/commit/54e9de1f13dbe0c6bef5bc6e7a2a4edbd588bd1b Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiNTRlOWRlMWYxM2RiZTBjNmJlZjViYzZlN2EyYTRlZGJkNTg4YmQxYiJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: ROLLBACK: add support for new Dataproc features PiperOrigin-RevId: 511238112 Source-Link: googleapis/googleapis@d126575 Source-Link: https://github.com/googleapis/googleapis-gen/commit/a338d04315b79a899b4d2fa31469e4659ea322d0 Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiYTMzOGQwNDMxNWI3OWE4OTliNGQyZmEzMTQ2OWU0NjU5ZWEzMjJkMCJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * feat: add support for new Dataproc features 1. Allow to change shielded config defaults for 2.1+ images 2. Support batches filtering in list API 3. Support Trino jobs on 2.1+ image clusters 4. Support batch TTL 5. Support custom staging bucket for batches 6. Expose approximate and current batches resources usage 7. Support Hudi and Trino components PiperOrigin-RevId: 511550277 Source-Link: googleapis/googleapis@9111603 Source-Link: https://github.com/googleapis/googleapis-gen/commit/4a0877ffbede2d57c2f3776e2d8df6a2d6f9b99c Copy-Tag: eyJwIjoiamF2YS1kYXRhcHJvYy8uT3dsQm90LnlhbWwiLCJoIjoiNGEwODc3ZmZiZWRlMmQ1N2MyZjM3NzZlMmQ4ZGY2YTJkNmY5Yjk5YyJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md --------- Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
1 parent 0fd61a4 commit 841366b

File tree

97 files changed

+10757
-2235
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

97 files changed

+10757
-2235
lines changed

java-dataproc/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,20 +20,20 @@ If you are using Maven, add this to your pom.xml file:
2020
<dependency>
2121
<groupId>com.google.cloud</groupId>
2222
<artifactId>google-cloud-dataproc</artifactId>
23-
<version>4.6.0</version>
23+
<version>4.8.0</version>
2424
</dependency>
2525
```
2626

2727
If you are using Gradle without BOM, add this to your dependencies:
2828

2929
```Groovy
30-
implementation 'com.google.cloud:google-cloud-dataproc:4.6.0'
30+
implementation 'com.google.cloud:google-cloud-dataproc:4.8.0'
3131
```
3232

3333
If you are using SBT, add this to your dependencies:
3434

3535
```Scala
36-
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.6.0"
36+
libraryDependencies += "com.google.cloud" % "google-cloud-dataproc" % "4.8.0"
3737
```
3838
<!--- {x-version-update-end} -->
3939

java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/BatchControllerClient.java

+14-4
Original file line numberDiff line numberDiff line change
@@ -394,7 +394,8 @@ public final UnaryCallable<CreateBatchRequest, Operation> createBatchCallable()
394394
* }
395395
* }</pre>
396396
*
397-
* @param name Required. The name of the batch to retrieve.
397+
* @param name Required. The fully qualified name of the batch to retrieve in the format
398+
* "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
398399
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
399400
*/
400401
public final Batch getBatch(BatchName name) {
@@ -421,7 +422,8 @@ public final Batch getBatch(BatchName name) {
421422
* }
422423
* }</pre>
423424
*
424-
* @param name Required. The name of the batch to retrieve.
425+
* @param name Required. The fully qualified name of the batch to retrieve in the format
426+
* "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
425427
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
426428
*/
427429
public final Batch getBatch(String name) {
@@ -561,6 +563,8 @@ public final ListBatchesPagedResponse listBatches(String parent) {
561563
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
562564
* .setPageSize(883849137)
563565
* .setPageToken("pageToken873572522")
566+
* .setFilter("filter-1274492040")
567+
* .setOrderBy("orderBy-1207110587")
564568
* .build();
565569
* for (Batch element : batchControllerClient.listBatches(request).iterateAll()) {
566570
* // doThingsWith(element);
@@ -593,6 +597,8 @@ public final ListBatchesPagedResponse listBatches(ListBatchesRequest request) {
593597
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
594598
* .setPageSize(883849137)
595599
* .setPageToken("pageToken873572522")
600+
* .setFilter("filter-1274492040")
601+
* .setOrderBy("orderBy-1207110587")
596602
* .build();
597603
* ApiFuture<Batch> future =
598604
* batchControllerClient.listBatchesPagedCallable().futureCall(request);
@@ -626,6 +632,8 @@ public final ListBatchesPagedResponse listBatches(ListBatchesRequest request) {
626632
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
627633
* .setPageSize(883849137)
628634
* .setPageToken("pageToken873572522")
635+
* .setFilter("filter-1274492040")
636+
* .setOrderBy("orderBy-1207110587")
629637
* .build();
630638
* while (true) {
631639
* ListBatchesResponse response = batchControllerClient.listBatchesCallable().call(request);
@@ -665,7 +673,8 @@ public final UnaryCallable<ListBatchesRequest, ListBatchesResponse> listBatchesC
665673
* }
666674
* }</pre>
667675
*
668-
* @param name Required. The name of the batch resource to delete.
676+
* @param name Required. The fully qualified name of the batch to retrieve in the format
677+
* "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
669678
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
670679
*/
671680
public final void deleteBatch(BatchName name) {
@@ -693,7 +702,8 @@ public final void deleteBatch(BatchName name) {
693702
* }
694703
* }</pre>
695704
*
696-
* @param name Required. The name of the batch resource to delete.
705+
* @param name Required. The fully qualified name of the batch to retrieve in the format
706+
* "projects/PROJECT_ID/locations/DATAPROC_REGION/batches/BATCH_ID"
697707
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
698708
*/
699709
public final void deleteBatch(String name) {

java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/gapic_metadata.json

+18-18
Original file line numberDiff line numberDiff line change
@@ -113,6 +113,24 @@
113113
}
114114
}
115115
},
116+
"NodeGroupController": {
117+
"clients": {
118+
"grpc": {
119+
"libraryClient": "NodeGroupControllerClient",
120+
"rpcs": {
121+
"CreateNodeGroup": {
122+
"methods": ["createNodeGroupAsync", "createNodeGroupAsync", "createNodeGroupAsync", "createNodeGroupOperationCallable", "createNodeGroupCallable"]
123+
},
124+
"GetNodeGroup": {
125+
"methods": ["getNodeGroup", "getNodeGroup", "getNodeGroup", "getNodeGroupCallable"]
126+
},
127+
"ResizeNodeGroup": {
128+
"methods": ["resizeNodeGroupAsync", "resizeNodeGroupAsync", "resizeNodeGroupOperationCallable", "resizeNodeGroupCallable"]
129+
}
130+
}
131+
}
132+
}
133+
},
116134
"WorkflowTemplateService": {
117135
"clients": {
118136
"grpc": {
@@ -142,24 +160,6 @@
142160
}
143161
}
144162
}
145-
},
146-
"NodeGroupController": {
147-
"clients": {
148-
"grpc": {
149-
"libraryClient": "NodeGroupControllerClient",
150-
"rpcs": {
151-
"CreateNodeGroup": {
152-
"methods": ["createNodeGroupAsync", "createNodeGroupAsync", "createNodeGroupAsync", "createNodeGroupOperationCallable", "createNodeGroupCallable"]
153-
},
154-
"GetNodeGroup": {
155-
"methods": ["getNodeGroup", "getNodeGroup", "getNodeGroup", "getNodeGroupCallable"]
156-
},
157-
"ResizeNodeGroup": {
158-
"methods": ["resizeNodeGroupAsync", "resizeNodeGroupAsync", "resizeNodeGroupOperationCallable", "resizeNodeGroupCallable"]
159-
}
160-
}
161-
}
162-
}
163163
}
164164
}
165165
}

java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/package-info.java

+16-16
Original file line numberDiff line numberDiff line change
@@ -97,43 +97,43 @@
9797
* }
9898
* }</pre>
9999
*
100-
* <p>======================= WorkflowTemplateServiceClient =======================
100+
* <p>======================= NodeGroupControllerClient =======================
101101
*
102-
* <p>Service Description: The API interface for managing Workflow Templates in the Dataproc API.
102+
* <p>Service Description: The `NodeGroupControllerService` provides methods to manage node groups
103+
* of Compute Engine managed instances.
103104
*
104-
* <p>Sample for WorkflowTemplateServiceClient:
105+
* <p>Sample for NodeGroupControllerClient:
105106
*
106107
* <pre>{@code
107108
* // This snippet has been automatically generated and should be regarded as a code template only.
108109
* // It will require modifications to work:
109110
* // - It may require correct/in-range values for request initialization.
110111
* // - It may require specifying regional endpoints when creating the service client as shown in
111112
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
112-
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient =
113-
* WorkflowTemplateServiceClient.create()) {
114-
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
115-
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
116-
* WorkflowTemplate response =
117-
* workflowTemplateServiceClient.createWorkflowTemplate(parent, template);
113+
* try (NodeGroupControllerClient nodeGroupControllerClient = NodeGroupControllerClient.create()) {
114+
* NodeGroupName name = NodeGroupName.of("[PROJECT]", "[REGION]", "[CLUSTER]", "[NODE_GROUP]");
115+
* NodeGroup response = nodeGroupControllerClient.getNodeGroup(name);
118116
* }
119117
* }</pre>
120118
*
121-
* <p>======================= NodeGroupControllerClient =======================
119+
* <p>======================= WorkflowTemplateServiceClient =======================
122120
*
123-
* <p>Service Description: The `NodeGroupControllerService` provides methods to manage node groups
124-
* of Compute Engine managed instances.
121+
* <p>Service Description: The API interface for managing Workflow Templates in the Dataproc API.
125122
*
126-
* <p>Sample for NodeGroupControllerClient:
123+
* <p>Sample for WorkflowTemplateServiceClient:
127124
*
128125
* <pre>{@code
129126
* // This snippet has been automatically generated and should be regarded as a code template only.
130127
* // It will require modifications to work:
131128
* // - It may require correct/in-range values for request initialization.
132129
* // - It may require specifying regional endpoints when creating the service client as shown in
133130
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
134-
* try (NodeGroupControllerClient nodeGroupControllerClient = NodeGroupControllerClient.create()) {
135-
* NodeGroupName name = NodeGroupName.of("[PROJECT]", "[REGION]", "[CLUSTER]", "[NODE_GROUP]");
136-
* NodeGroup response = nodeGroupControllerClient.getNodeGroup(name);
131+
* try (WorkflowTemplateServiceClient workflowTemplateServiceClient =
132+
* WorkflowTemplateServiceClient.create()) {
133+
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
134+
* WorkflowTemplate template = WorkflowTemplate.newBuilder().build();
135+
* WorkflowTemplate response =
136+
* workflowTemplateServiceClient.createWorkflowTemplate(parent, template);
137137
* }
138138
* }</pre>
139139
*/

java-dataproc/google-cloud-dataproc/src/main/java/com/google/cloud/dataproc/v1/stub/HttpJsonBatchControllerStub.java

+2
Original file line numberDiff line numberDiff line change
@@ -163,6 +163,8 @@ public class HttpJsonBatchControllerStub extends BatchControllerStub {
163163
Map<String, List<String>> fields = new HashMap<>();
164164
ProtoRestSerializer<ListBatchesRequest> serializer =
165165
ProtoRestSerializer.create();
166+
serializer.putQueryParam(fields, "filter", request.getFilter());
167+
serializer.putQueryParam(fields, "orderBy", request.getOrderBy());
166168
serializer.putQueryParam(fields, "pageSize", request.getPageSize());
167169
serializer.putQueryParam(fields, "pageToken", request.getPageToken());
168170
serializer.putQueryParam(fields, "$alt", "json;enum-encoding=int");

java-dataproc/grpc-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/WorkflowTemplateServiceGrpc.java

+8-4
Original file line numberDiff line numberDiff line change
@@ -515,7 +515,8 @@ public void instantiateWorkflowTemplate(
515515
* <pre>
516516
* Instantiates a template and begins execution.
517517
* This method is equivalent to executing the sequence
518-
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
518+
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],
519+
* [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
519520
* [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].
520521
* The returned Operation can be used to track execution of
521522
* workflow by polling
@@ -734,7 +735,8 @@ public void instantiateWorkflowTemplate(
734735
* <pre>
735736
* Instantiates a template and begins execution.
736737
* This method is equivalent to executing the sequence
737-
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
738+
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],
739+
* [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
738740
* [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].
739741
* The returned Operation can be used to track execution of
740742
* workflow by polling
@@ -897,7 +899,8 @@ public com.google.longrunning.Operation instantiateWorkflowTemplate(
897899
* <pre>
898900
* Instantiates a template and begins execution.
899901
* This method is equivalent to executing the sequence
900-
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
902+
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],
903+
* [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
901904
* [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].
902905
* The returned Operation can be used to track execution of
903906
* workflow by polling
@@ -1049,7 +1052,8 @@ protected WorkflowTemplateServiceFutureStub build(
10491052
* <pre>
10501053
* Instantiates a template and begins execution.
10511054
* This method is equivalent to executing the sequence
1052-
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate], [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
1055+
* [CreateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.CreateWorkflowTemplate],
1056+
* [InstantiateWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.InstantiateWorkflowTemplate],
10531057
* [DeleteWorkflowTemplate][google.cloud.dataproc.v1.WorkflowTemplateService.DeleteWorkflowTemplate].
10541058
* The returned Operation can be used to track execution of
10551059
* workflow by polling

java-dataproc/proto-google-cloud-dataproc-v1/src/main/java/com/google/cloud/dataproc/v1/AcceleratorConfig.java

+21-21
Original file line numberDiff line numberDiff line change
@@ -80,10 +80,10 @@ public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() {
8080
* Full URL, partial URI, or short name of the accelerator type resource to
8181
* expose to this instance. See
8282
* [Compute Engine
83-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
83+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
8484
* Examples:
85-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
86-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
85+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
86+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
8787
* * `nvidia-tesla-k80`
8888
* **Auto Zone Exception**: If you are using the Dataproc
8989
* [Auto Zone
@@ -115,10 +115,10 @@ public java.lang.String getAcceleratorTypeUri() {
115115
* Full URL, partial URI, or short name of the accelerator type resource to
116116
* expose to this instance. See
117117
* [Compute Engine
118-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
118+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
119119
* Examples:
120-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
121-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
120+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
121+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
122122
* * `nvidia-tesla-k80`
123123
* **Auto Zone Exception**: If you are using the Dataproc
124124
* [Auto Zone
@@ -535,10 +535,10 @@ public Builder mergeFrom(
535535
* Full URL, partial URI, or short name of the accelerator type resource to
536536
* expose to this instance. See
537537
* [Compute Engine
538-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
538+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
539539
* Examples:
540-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
541-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
540+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
541+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
542542
* * `nvidia-tesla-k80`
543543
* **Auto Zone Exception**: If you are using the Dataproc
544544
* [Auto Zone
@@ -569,10 +569,10 @@ public java.lang.String getAcceleratorTypeUri() {
569569
* Full URL, partial URI, or short name of the accelerator type resource to
570570
* expose to this instance. See
571571
* [Compute Engine
572-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
572+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
573573
* Examples:
574-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
575-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
574+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
575+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
576576
* * `nvidia-tesla-k80`
577577
* **Auto Zone Exception**: If you are using the Dataproc
578578
* [Auto Zone
@@ -603,10 +603,10 @@ public com.google.protobuf.ByteString getAcceleratorTypeUriBytes() {
603603
* Full URL, partial URI, or short name of the accelerator type resource to
604604
* expose to this instance. See
605605
* [Compute Engine
606-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
606+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
607607
* Examples:
608-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
609-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
608+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
609+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
610610
* * `nvidia-tesla-k80`
611611
* **Auto Zone Exception**: If you are using the Dataproc
612612
* [Auto Zone
@@ -636,10 +636,10 @@ public Builder setAcceleratorTypeUri(java.lang.String value) {
636636
* Full URL, partial URI, or short name of the accelerator type resource to
637637
* expose to this instance. See
638638
* [Compute Engine
639-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
639+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
640640
* Examples:
641-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
642-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
641+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
642+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
643643
* * `nvidia-tesla-k80`
644644
* **Auto Zone Exception**: If you are using the Dataproc
645645
* [Auto Zone
@@ -665,10 +665,10 @@ public Builder clearAcceleratorTypeUri() {
665665
* Full URL, partial URI, or short name of the accelerator type resource to
666666
* expose to this instance. See
667667
* [Compute Engine
668-
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/beta/acceleratorTypes).
668+
* AcceleratorTypes](https://cloud.google.com/compute/docs/reference/v1/acceleratorTypes).
669669
* Examples:
670-
* * `https://www.googleapis.com/compute/beta/projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
671-
* * `projects/[project_id]/zones/us-east1-a/acceleratorTypes/nvidia-tesla-k80`
670+
* * `https://www.googleapis.com/compute/v1/projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
671+
* * `projects/[project_id]/zones/[zone]/acceleratorTypes/nvidia-tesla-k80`
672672
* * `nvidia-tesla-k80`
673673
* **Auto Zone Exception**: If you are using the Dataproc
674674
* [Auto Zone

0 commit comments

Comments
 (0)