|
33 | 33 | * calls that map to API methods. Sample code to get started: |
34 | 34 | * |
35 | 35 | * <pre>{@code |
36 | | - * // This snippet has been automatically generated for illustrative purposes only. |
37 | | - * // It may require modifications to work in your environment. |
| 36 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 37 | + * // It will require modifications to work: |
| 38 | + * // - It may require correct/in-range values for request initialization. |
| 39 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 40 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
38 | 41 | * try (FlexTemplatesServiceClient flexTemplatesServiceClient = |
39 | 42 | * FlexTemplatesServiceClient.create()) { |
40 | 43 | * LaunchFlexTemplateRequest request = |
|
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 | * FlexTemplatesServiceSettings flexTemplatesServiceSettings = |
84 | 90 | * FlexTemplatesServiceSettings.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 | * FlexTemplatesServiceSettings flexTemplatesServiceSettings = |
97 | 106 | * FlexTemplatesServiceSettings.newBuilder().setEndpoint(myEndpoint).build(); |
98 | 107 | * FlexTemplatesServiceClient flexTemplatesServiceClient = |
|
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 | * FlexTemplatesServiceSettings flexTemplatesServiceSettings = |
109 | 121 | * FlexTemplatesServiceSettings.newBuilder() |
110 | 122 | * .setTransportChannelProvider( |
@@ -174,8 +186,11 @@ public FlexTemplatesServiceStub getStub() { |
174 | 186 | * <p>Sample code: |
175 | 187 | * |
176 | 188 | * <pre>{@code |
177 | | - * // This snippet has been automatically generated for illustrative purposes only. |
178 | | - * // It may require modifications to work in your environment. |
| 189 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 190 | + * // It will require modifications to work: |
| 191 | + * // - It may require correct/in-range values for request initialization. |
| 192 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 193 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
179 | 194 | * try (FlexTemplatesServiceClient flexTemplatesServiceClient = |
180 | 195 | * FlexTemplatesServiceClient.create()) { |
181 | 196 | * LaunchFlexTemplateRequest request = |
@@ -203,8 +218,11 @@ public final LaunchFlexTemplateResponse launchFlexTemplate(LaunchFlexTemplateReq |
203 | 218 | * <p>Sample code: |
204 | 219 | * |
205 | 220 | * <pre>{@code |
206 | | - * // This snippet has been automatically generated for illustrative purposes only. |
207 | | - * // It may require modifications to work in your environment. |
| 221 | + * // This snippet has been automatically generated and should be regarded as a code template only. |
| 222 | + * // It will require modifications to work: |
| 223 | + * // - It may require correct/in-range values for request initialization. |
| 224 | + * // - It may require specifying regional endpoints when creating the service client as shown in |
| 225 | + * // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library |
208 | 226 | * try (FlexTemplatesServiceClient flexTemplatesServiceClient = |
209 | 227 | * FlexTemplatesServiceClient.create()) { |
210 | 228 | * LaunchFlexTemplateRequest request = |
|
0 commit comments