|
35 | 35 | * calls that map to API methods. Sample code to get started:
|
36 | 36 | *
|
37 | 37 | * <pre>{@code
|
38 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
39 |
| - * // It may require modifications to work in your environment. |
| 38 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 39 | + * // It will require modifications to work: |
| 40 | + * // - It may require correct/in-range values for request initialization. |
| 41 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 42 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
40 | 43 | * try (ServiceControllerClient serviceControllerClient = ServiceControllerClient.create()) {
|
41 | 44 | * CheckRequest request =
|
42 | 45 | * CheckRequest.newBuilder()
|
|
78 | 81 | * <p>To customize credentials:
|
79 | 82 | *
|
80 | 83 | * <pre>{@code
|
81 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
82 |
| - * // It may require modifications to work in your environment. |
| 84 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 85 | + * // It will require modifications to work: |
| 86 | + * // - It may require correct/in-range values for request initialization. |
| 87 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 88 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
83 | 89 | * ServiceControllerSettings serviceControllerSettings =
|
84 | 90 | * ServiceControllerSettings.newBuilder()
|
85 | 91 | * .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
|
|
91 | 97 | * <p>To customize the endpoint:
|
92 | 98 | *
|
93 | 99 | * <pre>{@code
|
94 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
95 |
| - * // It may require modifications to work in your environment. |
| 100 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 101 | + * // It will require modifications to work: |
| 102 | + * // - It may require correct/in-range values for request initialization. |
| 103 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 104 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
96 | 105 | * ServiceControllerSettings serviceControllerSettings =
|
97 | 106 | * ServiceControllerSettings.newBuilder().setEndpoint(myEndpoint).build();
|
98 | 107 | * ServiceControllerClient serviceControllerClient =
|
|
103 | 112 | * the wire:
|
104 | 113 | *
|
105 | 114 | * <pre>{@code
|
106 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
107 |
| - * // It may require modifications to work in your environment. |
| 115 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 116 | + * // It will require modifications to work: |
| 117 | + * // - It may require correct/in-range values for request initialization. |
| 118 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 119 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
108 | 120 | * ServiceControllerSettings serviceControllerSettings =
|
109 | 121 | * ServiceControllerSettings.newBuilder()
|
110 | 122 | * .setTransportChannelProvider(
|
@@ -186,8 +198,11 @@ public ServiceControllerStub getStub() {
|
186 | 198 | * <p>Sample code:
|
187 | 199 | *
|
188 | 200 | * <pre>{@code
|
189 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
190 |
| - * // It may require modifications to work in your environment. |
| 201 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 202 | + * // It will require modifications to work: |
| 203 | + * // - It may require correct/in-range values for request initialization. |
| 204 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 205 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
191 | 206 | * try (ServiceControllerClient serviceControllerClient = ServiceControllerClient.create()) {
|
192 | 207 | * CheckRequest request =
|
193 | 208 | * CheckRequest.newBuilder()
|
@@ -226,8 +241,11 @@ public final CheckResponse check(CheckRequest request) {
|
226 | 241 | * <p>Sample code:
|
227 | 242 | *
|
228 | 243 | * <pre>{@code
|
229 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
230 |
| - * // It may require modifications to work in your environment. |
| 244 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 245 | + * // It will require modifications to work: |
| 246 | + * // - It may require correct/in-range values for request initialization. |
| 247 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 248 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
231 | 249 | * try (ServiceControllerClient serviceControllerClient = ServiceControllerClient.create()) {
|
232 | 250 | * CheckRequest request =
|
233 | 251 | * CheckRequest.newBuilder()
|
@@ -264,8 +282,11 @@ public final UnaryCallable<CheckRequest, CheckResponse> checkCallable() {
|
264 | 282 | * <p>Sample code:
|
265 | 283 | *
|
266 | 284 | * <pre>{@code
|
267 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
268 |
| - * // 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 |
269 | 290 | * try (ServiceControllerClient serviceControllerClient = ServiceControllerClient.create()) {
|
270 | 291 | * ReportRequest request =
|
271 | 292 | * ReportRequest.newBuilder()
|
@@ -303,8 +324,11 @@ public final ReportResponse report(ReportRequest request) {
|
303 | 324 | * <p>Sample code:
|
304 | 325 | *
|
305 | 326 | * <pre>{@code
|
306 |
| - * // This snippet has been automatically generated for illustrative purposes only. |
307 |
| - * // It may require modifications to work in your environment. |
| 327 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 328 | + * // It will require modifications to work: |
| 329 | + * // - It may require correct/in-range values for request initialization. |
| 330 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 331 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
308 | 332 | * try (ServiceControllerClient serviceControllerClient = ServiceControllerClient.create()) {
|
309 | 333 | * ReportRequest request =
|
310 | 334 | * ReportRequest.newBuilder()
|
|
0 commit comments