|
51 | 51 | * calls that map to API methods. Sample code to get started: |
52 | 52 | * |
53 | 53 | * <pre>{@code |
54 | | - * // This snippet has been automatically generated for illustrative purposes only. |
55 | | - * // It may require modifications to work in your environment. |
| 54 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 55 | + * // It will require modifications to work: |
| 56 | + * // - It may require correct/in-range values for request initialization. |
| 57 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 58 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
56 | 59 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
57 | 60 | * ResourceSettingsServiceClient.create()) { |
58 | 61 | * SettingName name = |
|
91 | 94 | * <p>To customize credentials: |
92 | 95 | * |
93 | 96 | * <pre>{@code |
94 | | - * // This snippet has been automatically generated for illustrative purposes only. |
95 | | - * // It may require modifications to work in your environment. |
| 97 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 98 | + * // It will require modifications to work: |
| 99 | + * // - It may require correct/in-range values for request initialization. |
| 100 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 101 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
96 | 102 | * ResourceSettingsServiceSettings resourceSettingsServiceSettings = |
97 | 103 | * ResourceSettingsServiceSettings.newBuilder() |
98 | 104 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) |
|
104 | 110 | * <p>To customize the endpoint: |
105 | 111 | * |
106 | 112 | * <pre>{@code |
107 | | - * // This snippet has been automatically generated for illustrative purposes only. |
108 | | - * // It may require modifications to work in your environment. |
| 113 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 114 | + * // It will require modifications to work: |
| 115 | + * // - It may require correct/in-range values for request initialization. |
| 116 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 117 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
109 | 118 | * ResourceSettingsServiceSettings resourceSettingsServiceSettings = |
110 | 119 | * ResourceSettingsServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); |
111 | 120 | * ResourceSettingsServiceClient resourceSettingsServiceClient = |
|
116 | 125 | * the wire: |
117 | 126 | * |
118 | 127 | * <pre>{@code |
119 | | - * // This snippet has been automatically generated for illustrative purposes only. |
120 | | - * // It may require modifications to work in your environment. |
| 128 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 129 | + * // It will require modifications to work: |
| 130 | + * // - It may require correct/in-range values for request initialization. |
| 131 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 132 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
121 | 133 | * ResourceSettingsServiceSettings resourceSettingsServiceSettings = |
122 | 134 | * ResourceSettingsServiceSettings.newBuilder() |
123 | 135 | * .setTransportChannelProvider( |
@@ -187,8 +199,11 @@ public ResourceSettingsServiceStub getStub() { |
187 | 199 | * <p>Sample code: |
188 | 200 | * |
189 | 201 | * <pre>{@code |
190 | | - * // This snippet has been automatically generated for illustrative purposes only. |
191 | | - * // It may require modifications to work in your environment. |
| 202 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 203 | + * // It will require modifications to work: |
| 204 | + * // - It may require correct/in-range values for request initialization. |
| 205 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 206 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
192 | 207 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
193 | 208 | * ResourceSettingsServiceClient.create()) { |
194 | 209 | * ResourceName parent = |
@@ -242,8 +257,11 @@ public final ListSettingsPagedResponse listSettings(ResourceName parent) { |
242 | 257 | * <p>Sample code: |
243 | 258 | * |
244 | 259 | * <pre>{@code |
245 | | - * // This snippet has been automatically generated for illustrative purposes only. |
246 | | - * // It may require modifications to work in your environment. |
| 260 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 261 | + * // It will require modifications to work: |
| 262 | + * // - It may require correct/in-range values for request initialization. |
| 263 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 264 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
247 | 265 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
248 | 266 | * ResourceSettingsServiceClient.create()) { |
249 | 267 | * String parent = |
@@ -278,8 +296,11 @@ public final ListSettingsPagedResponse listSettings(String parent) { |
278 | 296 | * <p>Sample code: |
279 | 297 | * |
280 | 298 | * <pre>{@code |
281 | | - * // This snippet has been automatically generated for illustrative purposes only. |
282 | | - * // It may require modifications to work in your environment. |
| 299 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 300 | + * // It will require modifications to work: |
| 301 | + * // - It may require correct/in-range values for request initialization. |
| 302 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 303 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
283 | 304 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
284 | 305 | * ResourceSettingsServiceClient.create()) { |
285 | 306 | * ListSettingsRequest request = |
@@ -309,8 +330,11 @@ public final ListSettingsPagedResponse listSettings(ListSettingsRequest request) |
309 | 330 | * <p>Sample code: |
310 | 331 | * |
311 | 332 | * <pre>{@code |
312 | | - * // This snippet has been automatically generated for illustrative purposes only. |
313 | | - * // It may require modifications to work in your environment. |
| 333 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 334 | + * // It will require modifications to work: |
| 335 | + * // - It may require correct/in-range values for request initialization. |
| 336 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 337 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
314 | 338 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
315 | 339 | * ResourceSettingsServiceClient.create()) { |
316 | 340 | * ListSettingsRequest request = |
@@ -341,8 +365,11 @@ public final ListSettingsPagedResponse listSettings(ListSettingsRequest request) |
341 | 365 | * <p>Sample code: |
342 | 366 | * |
343 | 367 | * <pre>{@code |
344 | | - * // This snippet has been automatically generated for illustrative purposes only. |
345 | | - * // It may require modifications to work in your environment. |
| 368 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 369 | + * // It will require modifications to work: |
| 370 | + * // - It may require correct/in-range values for request initialization. |
| 371 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 372 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
346 | 373 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
347 | 374 | * ResourceSettingsServiceClient.create()) { |
348 | 375 | * ListSettingsRequest request = |
@@ -382,8 +409,11 @@ public final UnaryCallable<ListSettingsRequest, ListSettingsResponse> listSettin |
382 | 409 | * <p>Sample code: |
383 | 410 | * |
384 | 411 | * <pre>{@code |
385 | | - * // This snippet has been automatically generated for illustrative purposes only. |
386 | | - * // It may require modifications to work in your environment. |
| 412 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 413 | + * // It will require modifications to work: |
| 414 | + * // - It may require correct/in-range values for request initialization. |
| 415 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 416 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
387 | 417 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
388 | 418 | * ResourceSettingsServiceClient.create()) { |
389 | 419 | * SettingName name = |
@@ -412,8 +442,11 @@ public final Setting getSetting(SettingName name) { |
412 | 442 | * <p>Sample code: |
413 | 443 | * |
414 | 444 | * <pre>{@code |
415 | | - * // This snippet has been automatically generated for illustrative purposes only. |
416 | | - * // It may require modifications to work in your environment. |
| 445 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 446 | + * // It will require modifications to work: |
| 447 | + * // - It may require correct/in-range values for request initialization. |
| 448 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 449 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
417 | 450 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
418 | 451 | * ResourceSettingsServiceClient.create()) { |
419 | 452 | * String name = |
@@ -442,8 +475,11 @@ public final Setting getSetting(String name) { |
442 | 475 | * <p>Sample code: |
443 | 476 | * |
444 | 477 | * <pre>{@code |
445 | | - * // This snippet has been automatically generated for illustrative purposes only. |
446 | | - * // It may require modifications to work in your environment. |
| 478 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 479 | + * // It will require modifications to work: |
| 480 | + * // - It may require correct/in-range values for request initialization. |
| 481 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 482 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
447 | 483 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
448 | 484 | * ResourceSettingsServiceClient.create()) { |
449 | 485 | * GetSettingRequest request = |
@@ -474,8 +510,11 @@ public final Setting getSetting(GetSettingRequest request) { |
474 | 510 | * <p>Sample code: |
475 | 511 | * |
476 | 512 | * <pre>{@code |
477 | | - * // This snippet has been automatically generated for illustrative purposes only. |
478 | | - * // It may require modifications to work in your environment. |
| 513 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 514 | + * // It will require modifications to work: |
| 515 | + * // - It may require correct/in-range values for request initialization. |
| 516 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 517 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
479 | 518 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
480 | 519 | * ResourceSettingsServiceClient.create()) { |
481 | 520 | * GetSettingRequest request = |
@@ -513,8 +552,11 @@ public final UnaryCallable<GetSettingRequest, Setting> getSettingCallable() { |
513 | 552 | * <p>Sample code: |
514 | 553 | * |
515 | 554 | * <pre>{@code |
516 | | - * // This snippet has been automatically generated for illustrative purposes only. |
517 | | - * // It may require modifications to work in your environment. |
| 555 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 556 | + * // It will require modifications to work: |
| 557 | + * // - It may require correct/in-range values for request initialization. |
| 558 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 559 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
518 | 560 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
519 | 561 | * ResourceSettingsServiceClient.create()) { |
520 | 562 | * UpdateSettingRequest request = |
@@ -547,8 +589,11 @@ public final Setting updateSetting(UpdateSettingRequest request) { |
547 | 589 | * <p>Sample code: |
548 | 590 | * |
549 | 591 | * <pre>{@code |
550 | | - * // This snippet has been automatically generated for illustrative purposes only. |
551 | | - * // It may require modifications to work in your environment. |
| 592 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 593 | + * // It will require modifications to work: |
| 594 | + * // - It may require correct/in-range values for request initialization. |
| 595 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 596 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
552 | 597 | * try (ResourceSettingsServiceClient resourceSettingsServiceClient = |
553 | 598 | * ResourceSettingsServiceClient.create()) { |
554 | 599 | * UpdateSettingRequest request = |
|
0 commit comments