|
38 | 38 | * calls that map to API methods. Sample code to get started:
|
39 | 39 | *
|
40 | 40 | * <pre>{@code
|
41 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
42 |
| - * // It may require modifications to work in your environment. |
| 41 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 42 | + * // It will require modifications to work: |
| 43 | + * // - It may require correct/in-range values for request initialization. |
| 44 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 45 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
43 | 46 | * try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
|
44 | 47 | * WorkflowsServiceV2BetaClient.create()) {
|
45 | 48 | * RunPipelineRequest request =
|
|
83 | 86 | * <p>To customize credentials:
|
84 | 87 | *
|
85 | 88 | * <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 |
88 | 94 | * WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
|
89 | 95 | * WorkflowsServiceV2BetaSettings.newBuilder()
|
90 | 96 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
|
|
96 | 102 | * <p>To customize the endpoint:
|
97 | 103 | *
|
98 | 104 | * <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 |
101 | 110 | * WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
|
102 | 111 | * WorkflowsServiceV2BetaSettings.newBuilder().setEndpoint(myEndpoint).build();
|
103 | 112 | * WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
|
|
108 | 117 | * the wire:
|
109 | 118 | *
|
110 | 119 | * <pre>{@code
|
111 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
112 |
| - * // It may require modifications to work in your environment. |
| 120 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 121 | + * // It will require modifications to work: |
| 122 | + * // - It may require correct/in-range values for request initialization. |
| 123 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 124 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
113 | 125 | * WorkflowsServiceV2BetaSettings workflowsServiceV2BetaSettings =
|
114 | 126 | * WorkflowsServiceV2BetaSettings.newBuilder()
|
115 | 127 | * .setTransportChannelProvider(
|
@@ -221,8 +233,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
|
221 | 233 | * <p>Sample code:
|
222 | 234 | *
|
223 | 235 | * <pre>{@code
|
224 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
225 |
| - * // It may require modifications to work in your environment. |
| 236 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 237 | + * // It will require modifications to work: |
| 238 | + * // - It may require correct/in-range values for request initialization. |
| 239 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 240 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
226 | 241 | * try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
|
227 | 242 | * WorkflowsServiceV2BetaClient.create()) {
|
228 | 243 | * RunPipelineRequest request =
|
@@ -267,8 +282,11 @@ public final OperationFuture<RunPipelineResponse, Metadata> runPipelineAsync(
|
267 | 282 | * <p>Sample code:
|
268 | 283 | *
|
269 | 284 | * <pre>{@code
|
270 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
271 |
| - * // It may require modifications to work in your environment. |
| 285 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 286 | + * // It will require modifications to work: |
| 287 | + * // - It may require correct/in-range values for request initialization. |
| 288 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 289 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
272 | 290 | * try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
|
273 | 291 | * WorkflowsServiceV2BetaClient.create()) {
|
274 | 292 | * RunPipelineRequest request =
|
@@ -313,8 +331,11 @@ public final OperationFuture<RunPipelineResponse, Metadata> runPipelineAsync(
|
313 | 331 | * <p>Sample code:
|
314 | 332 | *
|
315 | 333 | * <pre>{@code
|
316 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
317 |
| - * // It may require modifications to work in your environment. |
| 334 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 335 | + * // It will require modifications to work: |
| 336 | + * // - It may require correct/in-range values for request initialization. |
| 337 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 338 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
318 | 339 | * try (WorkflowsServiceV2BetaClient workflowsServiceV2BetaClient =
|
319 | 340 | * WorkflowsServiceV2BetaClient.create()) {
|
320 | 341 | * RunPipelineRequest request =
|
|
0 commit comments