4343 * calls that map to API methods. Sample code to get started:
4444 *
4545 * <pre>{@code
46- * // This snippet has been automatically generated for illustrative purposes only.
47- * // It may require modifications to work in your environment.
46+ * // This snippet has been automatically generated and should be regarded as a code template only.
47+ * // It will require modifications to work:
48+ * // - It may require correct/in-range values for request initialization.
49+ * // - It may require specifying regional endpoints when creating the service client as shown in
50+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
4851 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
4952 * String project = "project-309310695";
5053 * String zone = "zone3744684";
8386 * <p>To customize credentials:
8487 *
8588 * <pre>{@code
86- * // This snippet has been automatically generated for illustrative purposes only.
87- * // It may require modifications to work in your environment.
89+ * // This snippet has been automatically generated and should be regarded as a code template only.
90+ * // It will require modifications to work:
91+ * // - It may require correct/in-range values for request initialization.
92+ * // - It may require specifying regional endpoints when creating the service client as shown in
93+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
8894 * AcceleratorTypesSettings acceleratorTypesSettings =
8995 * AcceleratorTypesSettings.newBuilder()
9096 * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
96102 * <p>To customize the endpoint:
97103 *
98104 * <pre>{@code
99- * // This snippet has been automatically generated for illustrative purposes only.
100- * // It may require modifications to work in your environment.
105+ * // This snippet has been automatically generated and should be regarded as a code template only.
106+ * // It will require modifications to work:
107+ * // - It may require correct/in-range values for request initialization.
108+ * // - It may require specifying regional endpoints when creating the service client as shown in
109+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
101110 * AcceleratorTypesSettings acceleratorTypesSettings =
102111 * AcceleratorTypesSettings.newBuilder().setEndpoint(myEndpoint).build();
103112 * AcceleratorTypesClient acceleratorTypesClient =
@@ -163,8 +172,11 @@ public AcceleratorTypesStub getStub() {
163172 * <p>Sample code:
164173 *
165174 * <pre>{@code
166- * // This snippet has been automatically generated for illustrative purposes only.
167- * // It may require modifications to work in your environment.
175+ * // This snippet has been automatically generated and should be regarded as a code template only.
176+ * // It will require modifications to work:
177+ * // - It may require correct/in-range values for request initialization.
178+ * // - It may require specifying regional endpoints when creating the service client as shown in
179+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
168180 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
169181 * String project = "project-309310695";
170182 * for (Map.Entry<String, AcceleratorTypesScopedList> element :
@@ -190,8 +202,11 @@ public final AggregatedListPagedResponse aggregatedList(String project) {
190202 * <p>Sample code:
191203 *
192204 * <pre>{@code
193- * // This snippet has been automatically generated for illustrative purposes only.
194- * // It may require modifications to work in your environment.
205+ * // This snippet has been automatically generated and should be regarded as a code template only.
206+ * // It will require modifications to work:
207+ * // - It may require correct/in-range values for request initialization.
208+ * // - It may require specifying regional endpoints when creating the service client as shown in
209+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
195210 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
196211 * AggregatedListAcceleratorTypesRequest request =
197212 * AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -225,8 +240,11 @@ public final AggregatedListPagedResponse aggregatedList(
225240 * <p>Sample code:
226241 *
227242 * <pre>{@code
228- * // This snippet has been automatically generated for illustrative purposes only.
229- * // It may require modifications to work in your environment.
243+ * // This snippet has been automatically generated and should be regarded as a code template only.
244+ * // It will require modifications to work:
245+ * // - It may require correct/in-range values for request initialization.
246+ * // - It may require specifying regional endpoints when creating the service client as shown in
247+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
230248 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
231249 * AggregatedListAcceleratorTypesRequest request =
232250 * AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -259,8 +277,11 @@ public final AggregatedListPagedResponse aggregatedList(
259277 * <p>Sample code:
260278 *
261279 * <pre>{@code
262- * // This snippet has been automatically generated for illustrative purposes only.
263- * // It may require modifications to work in your environment.
280+ * // This snippet has been automatically generated and should be regarded as a code template only.
281+ * // It will require modifications to work:
282+ * // - It may require correct/in-range values for request initialization.
283+ * // - It may require specifying regional endpoints when creating the service client as shown in
284+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
264285 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
265286 * AggregatedListAcceleratorTypesRequest request =
266287 * AggregatedListAcceleratorTypesRequest.newBuilder()
@@ -300,8 +321,11 @@ public final AggregatedListPagedResponse aggregatedList(
300321 * <p>Sample code:
301322 *
302323 * <pre>{@code
303- * // This snippet has been automatically generated for illustrative purposes only.
304- * // It may require modifications to work in your environment.
324+ * // This snippet has been automatically generated and should be regarded as a code template only.
325+ * // It will require modifications to work:
326+ * // - It may require correct/in-range values for request initialization.
327+ * // - It may require specifying regional endpoints when creating the service client as shown in
328+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
305329 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
306330 * String project = "project-309310695";
307331 * String zone = "zone3744684";
@@ -332,8 +356,11 @@ public final AcceleratorType get(String project, String zone, String accelerator
332356 * <p>Sample code:
333357 *
334358 * <pre>{@code
335- * // This snippet has been automatically generated for illustrative purposes only.
336- * // It may require modifications to work in your environment.
359+ * // This snippet has been automatically generated and should be regarded as a code template only.
360+ * // It will require modifications to work:
361+ * // - It may require correct/in-range values for request initialization.
362+ * // - It may require specifying regional endpoints when creating the service client as shown in
363+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
337364 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
338365 * GetAcceleratorTypeRequest request =
339366 * GetAcceleratorTypeRequest.newBuilder()
@@ -359,8 +386,11 @@ public final AcceleratorType get(GetAcceleratorTypeRequest request) {
359386 * <p>Sample code:
360387 *
361388 * <pre>{@code
362- * // This snippet has been automatically generated for illustrative purposes only.
363- * // It may require modifications to work in your environment.
389+ * // This snippet has been automatically generated and should be regarded as a code template only.
390+ * // It will require modifications to work:
391+ * // - It may require correct/in-range values for request initialization.
392+ * // - It may require specifying regional endpoints when creating the service client as shown in
393+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
364394 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
365395 * GetAcceleratorTypeRequest request =
366396 * GetAcceleratorTypeRequest.newBuilder()
@@ -385,8 +415,11 @@ public final UnaryCallable<GetAcceleratorTypeRequest, AcceleratorType> getCallab
385415 * <p>Sample code:
386416 *
387417 * <pre>{@code
388- * // This snippet has been automatically generated for illustrative purposes only.
389- * // It may require modifications to work in your environment.
418+ * // This snippet has been automatically generated and should be regarded as a code template only.
419+ * // It will require modifications to work:
420+ * // - It may require correct/in-range values for request initialization.
421+ * // - It may require specifying regional endpoints when creating the service client as shown in
422+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
390423 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
391424 * String project = "project-309310695";
392425 * String zone = "zone3744684";
@@ -413,8 +446,11 @@ public final ListPagedResponse list(String project, String zone) {
413446 * <p>Sample code:
414447 *
415448 * <pre>{@code
416- * // This snippet has been automatically generated for illustrative purposes only.
417- * // It may require modifications to work in your environment.
449+ * // This snippet has been automatically generated and should be regarded as a code template only.
450+ * // It will require modifications to work:
451+ * // - It may require correct/in-range values for request initialization.
452+ * // - It may require specifying regional endpoints when creating the service client as shown in
453+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
418454 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
419455 * ListAcceleratorTypesRequest request =
420456 * ListAcceleratorTypesRequest.newBuilder()
@@ -446,8 +482,11 @@ public final ListPagedResponse list(ListAcceleratorTypesRequest request) {
446482 * <p>Sample code:
447483 *
448484 * <pre>{@code
449- * // This snippet has been automatically generated for illustrative purposes only.
450- * // It may require modifications to work in your environment.
485+ * // This snippet has been automatically generated and should be regarded as a code template only.
486+ * // It will require modifications to work:
487+ * // - It may require correct/in-range values for request initialization.
488+ * // - It may require specifying regional endpoints when creating the service client as shown in
489+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
451490 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
452491 * ListAcceleratorTypesRequest request =
453492 * ListAcceleratorTypesRequest.newBuilder()
@@ -479,8 +518,11 @@ public final UnaryCallable<ListAcceleratorTypesRequest, ListPagedResponse> listP
479518 * <p>Sample code:
480519 *
481520 * <pre>{@code
482- * // This snippet has been automatically generated for illustrative purposes only.
483- * // It may require modifications to work in your environment.
521+ * // This snippet has been automatically generated and should be regarded as a code template only.
522+ * // It will require modifications to work:
523+ * // - It may require correct/in-range values for request initialization.
524+ * // - It may require specifying regional endpoints when creating the service client as shown in
525+ * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
484526 * try (AcceleratorTypesClient acceleratorTypesClient = AcceleratorTypesClient.create()) {
485527 * ListAcceleratorTypesRequest request =
486528 * ListAcceleratorTypesRequest.newBuilder()
0 commit comments