|
45 | 45 | * calls that map to API methods. Sample code to get started: |
46 | 46 | * |
47 | 47 | * <pre>{@code |
48 | | - * // This snippet has been automatically generated for illustrative purposes only. |
49 | | - * // It may require modifications to work in your environment. |
| 48 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 49 | + * // It will require modifications to work: |
| 50 | + * // - It may require correct/in-range values for request initialization. |
| 51 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 52 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
50 | 53 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
51 | 54 | * PredictionApiKeyRegistryClient.create()) { |
52 | 55 | * EventStoreName parent = |
|
89 | 92 | * <p>To customize credentials: |
90 | 93 | * |
91 | 94 | * <pre>{@code |
92 | | - * // This snippet has been automatically generated for illustrative purposes only. |
93 | | - * // It may require modifications to work in your environment. |
| 95 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 96 | + * // It will require modifications to work: |
| 97 | + * // - It may require correct/in-range values for request initialization. |
| 98 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 99 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
94 | 100 | * PredictionApiKeyRegistrySettings predictionApiKeyRegistrySettings = |
95 | 101 | * PredictionApiKeyRegistrySettings.newBuilder() |
96 | 102 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials)) |
|
102 | 108 | * <p>To customize the endpoint: |
103 | 109 | * |
104 | 110 | * <pre>{@code |
105 | | - * // This snippet has been automatically generated for illustrative purposes only. |
106 | | - * // It may require modifications to work in your environment. |
| 111 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 112 | + * // It will require modifications to work: |
| 113 | + * // - It may require correct/in-range values for request initialization. |
| 114 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 115 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
107 | 116 | * PredictionApiKeyRegistrySettings predictionApiKeyRegistrySettings = |
108 | 117 | * PredictionApiKeyRegistrySettings.newBuilder().setEndpoint(myEndpoint).build(); |
109 | 118 | * PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
|
114 | 123 | * the wire: |
115 | 124 | * |
116 | 125 | * <pre>{@code |
117 | | - * // This snippet has been automatically generated for illustrative purposes only. |
118 | | - * // It may require modifications to work in your environment. |
| 126 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 127 | + * // It will require modifications to work: |
| 128 | + * // - It may require correct/in-range values for request initialization. |
| 129 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 130 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
119 | 131 | * PredictionApiKeyRegistrySettings predictionApiKeyRegistrySettings = |
120 | 132 | * PredictionApiKeyRegistrySettings.newBuilder() |
121 | 133 | * .setTransportChannelProvider( |
@@ -187,8 +199,11 @@ public PredictionApiKeyRegistryStub 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 (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
193 | 208 | * PredictionApiKeyRegistryClient.create()) { |
194 | 209 | * EventStoreName parent = |
@@ -223,8 +238,11 @@ public final PredictionApiKeyRegistration createPredictionApiKeyRegistration( |
223 | 238 | * <p>Sample code: |
224 | 239 | * |
225 | 240 | * <pre>{@code |
226 | | - * // This snippet has been automatically generated for illustrative purposes only. |
227 | | - * // It may require modifications to work in your environment. |
| 241 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 242 | + * // It will require modifications to work: |
| 243 | + * // - It may require correct/in-range values for request initialization. |
| 244 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 245 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
228 | 246 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
229 | 247 | * PredictionApiKeyRegistryClient.create()) { |
230 | 248 | * String parent = |
@@ -259,8 +277,11 @@ public final PredictionApiKeyRegistration createPredictionApiKeyRegistration( |
259 | 277 | * <p>Sample code: |
260 | 278 | * |
261 | 279 | * <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 |
264 | 285 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
265 | 286 | * PredictionApiKeyRegistryClient.create()) { |
266 | 287 | * CreatePredictionApiKeyRegistrationRequest request = |
@@ -290,8 +311,11 @@ public final PredictionApiKeyRegistration createPredictionApiKeyRegistration( |
290 | 311 | * <p>Sample code: |
291 | 312 | * |
292 | 313 | * <pre>{@code |
293 | | - * // This snippet has been automatically generated for illustrative purposes only. |
294 | | - * // It may require modifications to work in your environment. |
| 314 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 315 | + * // It will require modifications to work: |
| 316 | + * // - It may require correct/in-range values for request initialization. |
| 317 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 318 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
295 | 319 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
296 | 320 | * PredictionApiKeyRegistryClient.create()) { |
297 | 321 | * CreatePredictionApiKeyRegistrationRequest request = |
@@ -323,8 +347,11 @@ public final PredictionApiKeyRegistration createPredictionApiKeyRegistration( |
323 | 347 | * <p>Sample code: |
324 | 348 | * |
325 | 349 | * <pre>{@code |
326 | | - * // This snippet has been automatically generated for illustrative purposes only. |
327 | | - * // It may require modifications to work in your environment. |
| 350 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 351 | + * // It will require modifications to work: |
| 352 | + * // - It may require correct/in-range values for request initialization. |
| 353 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 354 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
328 | 355 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
329 | 356 | * PredictionApiKeyRegistryClient.create()) { |
330 | 357 | * EventStoreName parent = |
@@ -356,8 +383,11 @@ public final ListPredictionApiKeyRegistrationsPagedResponse listPredictionApiKey |
356 | 383 | * <p>Sample code: |
357 | 384 | * |
358 | 385 | * <pre>{@code |
359 | | - * // This snippet has been automatically generated for illustrative purposes only. |
360 | | - * // It may require modifications to work in your environment. |
| 386 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 387 | + * // It will require modifications to work: |
| 388 | + * // - It may require correct/in-range values for request initialization. |
| 389 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 390 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
361 | 391 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
362 | 392 | * PredictionApiKeyRegistryClient.create()) { |
363 | 393 | * String parent = |
@@ -387,8 +417,11 @@ public final ListPredictionApiKeyRegistrationsPagedResponse listPredictionApiKey |
387 | 417 | * <p>Sample code: |
388 | 418 | * |
389 | 419 | * <pre>{@code |
390 | | - * // This snippet has been automatically generated for illustrative purposes only. |
391 | | - * // It may require modifications to work in your environment. |
| 420 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 421 | + * // It will require modifications to work: |
| 422 | + * // - It may require correct/in-range values for request initialization. |
| 423 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 424 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
392 | 425 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
393 | 426 | * PredictionApiKeyRegistryClient.create()) { |
394 | 427 | * ListPredictionApiKeyRegistrationsRequest request = |
@@ -421,8 +454,11 @@ public final ListPredictionApiKeyRegistrationsPagedResponse listPredictionApiKey |
421 | 454 | * <p>Sample code: |
422 | 455 | * |
423 | 456 | * <pre>{@code |
424 | | - * // This snippet has been automatically generated for illustrative purposes only. |
425 | | - * // It may require modifications to work in your environment. |
| 457 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 458 | + * // It will require modifications to work: |
| 459 | + * // - It may require correct/in-range values for request initialization. |
| 460 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 461 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
426 | 462 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
427 | 463 | * PredictionApiKeyRegistryClient.create()) { |
428 | 464 | * ListPredictionApiKeyRegistrationsRequest request = |
@@ -457,8 +493,11 @@ public final ListPredictionApiKeyRegistrationsPagedResponse listPredictionApiKey |
457 | 493 | * <p>Sample code: |
458 | 494 | * |
459 | 495 | * <pre>{@code |
460 | | - * // This snippet has been automatically generated for illustrative purposes only. |
461 | | - * // It may require modifications to work in your environment. |
| 496 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 497 | + * // It will require modifications to work: |
| 498 | + * // - It may require correct/in-range values for request initialization. |
| 499 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 500 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
462 | 501 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
463 | 502 | * PredictionApiKeyRegistryClient.create()) { |
464 | 503 | * ListPredictionApiKeyRegistrationsRequest request = |
@@ -501,8 +540,11 @@ public final ListPredictionApiKeyRegistrationsPagedResponse listPredictionApiKey |
501 | 540 | * <p>Sample code: |
502 | 541 | * |
503 | 542 | * <pre>{@code |
504 | | - * // This snippet has been automatically generated for illustrative purposes only. |
505 | | - * // It may require modifications to work in your environment. |
| 543 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 544 | + * // It will require modifications to work: |
| 545 | + * // - It may require correct/in-range values for request initialization. |
| 546 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 547 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
506 | 548 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
507 | 549 | * PredictionApiKeyRegistryClient.create()) { |
508 | 550 | * PredictionApiKeyRegistrationName name = |
@@ -535,8 +577,11 @@ public final void deletePredictionApiKeyRegistration(PredictionApiKeyRegistratio |
535 | 577 | * <p>Sample code: |
536 | 578 | * |
537 | 579 | * <pre>{@code |
538 | | - * // This snippet has been automatically generated for illustrative purposes only. |
539 | | - * // It may require modifications to work in your environment. |
| 580 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 581 | + * // It will require modifications to work: |
| 582 | + * // - It may require correct/in-range values for request initialization. |
| 583 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 584 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
540 | 585 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
541 | 586 | * PredictionApiKeyRegistryClient.create()) { |
542 | 587 | * String name = |
@@ -568,8 +613,11 @@ public final void deletePredictionApiKeyRegistration(String name) { |
568 | 613 | * <p>Sample code: |
569 | 614 | * |
570 | 615 | * <pre>{@code |
571 | | - * // This snippet has been automatically generated for illustrative purposes only. |
572 | | - * // It may require modifications to work in your environment. |
| 616 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 617 | + * // It will require modifications to work: |
| 618 | + * // - It may require correct/in-range values for request initialization. |
| 619 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 620 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
573 | 621 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
574 | 622 | * PredictionApiKeyRegistryClient.create()) { |
575 | 623 | * DeletePredictionApiKeyRegistrationRequest request = |
@@ -602,8 +650,11 @@ public final void deletePredictionApiKeyRegistration( |
602 | 650 | * <p>Sample code: |
603 | 651 | * |
604 | 652 | * <pre>{@code |
605 | | - * // This snippet has been automatically generated for illustrative purposes only. |
606 | | - * // It may require modifications to work in your environment. |
| 653 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 654 | + * // It will require modifications to work: |
| 655 | + * // - It may require correct/in-range values for request initialization. |
| 656 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 657 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
607 | 658 | * try (PredictionApiKeyRegistryClient predictionApiKeyRegistryClient = |
608 | 659 | * PredictionApiKeyRegistryClient.create()) { |
609 | 660 | * DeletePredictionApiKeyRegistrationRequest request = |
|
0 commit comments