Skip to content

Commit 691937b

Browse files
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, generator_java versions (#210)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 472750037 Source-Link: googleapis/googleapis@88f2ea3 Source-Link: https://github.com/googleapis/googleapis-gen/commit/230a5588306aae18fe8f2a57f14d4039ad72c901 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMjMwYTU1ODgzMDZhYWUxOGZlOGYyYTU3ZjE0ZDQwMzlhZDcyYzkwMSJ9
1 parent 897edc6 commit 691937b

22 files changed

+434
-204
lines changed

java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceClient.java

Lines changed: 30 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,11 @@
3333
* calls that map to API methods. Sample code to get started:
3434
*
3535
* <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
3841
* try (FlexTemplatesServiceClient flexTemplatesServiceClient =
3942
* FlexTemplatesServiceClient.create()) {
4043
* LaunchFlexTemplateRequest request =
@@ -78,8 +81,11 @@
7881
* <p>To customize credentials:
7982
*
8083
* <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
8389
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
8490
* FlexTemplatesServiceSettings.newBuilder()
8591
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
@@ -91,8 +97,11 @@
9197
* <p>To customize the endpoint:
9298
*
9399
* <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
96105
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
97106
* FlexTemplatesServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
98107
* FlexTemplatesServiceClient flexTemplatesServiceClient =
@@ -103,8 +112,11 @@
103112
* the wire:
104113
*
105114
* <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
108120
* FlexTemplatesServiceSettings flexTemplatesServiceSettings =
109121
* FlexTemplatesServiceSettings.newBuilder()
110122
* .setTransportChannelProvider(
@@ -174,8 +186,11 @@ public FlexTemplatesServiceStub getStub() {
174186
* <p>Sample code:
175187
*
176188
* <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
179194
* try (FlexTemplatesServiceClient flexTemplatesServiceClient =
180195
* FlexTemplatesServiceClient.create()) {
181196
* LaunchFlexTemplateRequest request =
@@ -203,8 +218,11 @@ public final LaunchFlexTemplateResponse launchFlexTemplate(LaunchFlexTemplateReq
203218
* <p>Sample code:
204219
*
205220
* <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
208226
* try (FlexTemplatesServiceClient flexTemplatesServiceClient =
209227
* FlexTemplatesServiceClient.create()) {
210228
* LaunchFlexTemplateRequest request =

java-dataflow/google-cloud-dataflow/src/main/java/com/google/dataflow/v1beta3/FlexTemplatesServiceSettings.java

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,11 @@
5050
* <p>For example, to set the total timeout of launchFlexTemplate to 30 seconds:
5151
*
5252
* <pre>{@code
53-
* // This snippet has been automatically generated for illustrative purposes only.
54-
* // It may require modifications to work in your environment.
53+
* // This snippet has been automatically generated and should be regarded as a code template only.
54+
* // It will require modifications to work:
55+
* // - It may require correct/in-range values for request initialization.
56+
* // - It may require specifying regional endpoints when creating the service client as shown in
57+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5558
* FlexTemplatesServiceSettings.Builder flexTemplatesServiceSettingsBuilder =
5659
* FlexTemplatesServiceSettings.newBuilder();
5760
* flexTemplatesServiceSettingsBuilder

0 commit comments

Comments
 (0)