Skip to content

Commit

Permalink
chore(bazel): Update WORKSPACE files for rules_gapic, gax_java, gener…
Browse files Browse the repository at this point in the history
…ator_java versions (#418)

- [ ] 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
  • Loading branch information
gcf-owl-bot[bot] authored Sep 9, 2022
1 parent 142ad17 commit 3ca8a95
Show file tree
Hide file tree
Showing 5 changed files with 131 additions and 60 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,11 @@
* calls that map to API methods. Sample code to get started:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* String name = "name3373707";
* Policy response = policiesClient.getPolicy(name);
Expand Down Expand Up @@ -82,8 +85,11 @@
* <p>To customize credentials:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PoliciesSettings policiesSettings =
* PoliciesSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -94,8 +100,11 @@
* <p>To customize the endpoint:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PoliciesSettings policiesSettings =
* PoliciesSettings.newBuilder().setEndpoint(myEndpoint).build();
* PoliciesClient policiesClient = PoliciesClient.create(policiesSettings);
Expand All @@ -105,8 +114,11 @@
* the wire:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* PoliciesSettings policiesSettings =
* PoliciesSettings.newBuilder()
* .setTransportChannelProvider(
Expand Down Expand Up @@ -200,8 +212,11 @@ public final OperationsClient getHttpJsonOperationsClient() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* String parent = "parent-995424086";
* for (Policy element : policiesClient.listPolicies(parent).iterateAll()) {
Expand Down Expand Up @@ -233,8 +248,11 @@ public final ListPoliciesPagedResponse listPolicies(String parent) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* ListPoliciesRequest request =
* ListPoliciesRequest.newBuilder()
Expand Down Expand Up @@ -264,8 +282,11 @@ public final ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request)
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* ListPoliciesRequest request =
* ListPoliciesRequest.newBuilder()
Expand Down Expand Up @@ -295,8 +316,11 @@ public final ListPoliciesPagedResponse listPolicies(ListPoliciesRequest request)
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* ListPoliciesRequest request =
* ListPoliciesRequest.newBuilder()
Expand Down Expand Up @@ -330,8 +354,11 @@ public final UnaryCallable<ListPoliciesRequest, ListPoliciesResponse> listPolici
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* String name = "name3373707";
* Policy response = policiesClient.getPolicy(name);
Expand Down Expand Up @@ -359,8 +386,11 @@ public final Policy getPolicy(String name) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
* Policy response = policiesClient.getPolicy(request);
Expand All @@ -381,8 +411,11 @@ public final Policy getPolicy(GetPolicyRequest request) {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* GetPolicyRequest request = GetPolicyRequest.newBuilder().setName("name3373707").build();
* ApiFuture<Policy> future = policiesClient.getPolicyCallable().futureCall(request);
Expand All @@ -402,8 +435,11 @@ public final UnaryCallable<GetPolicyRequest, Policy> getPolicyCallable() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* String parent = "parent-995424086";
* Policy policy = Policy.newBuilder().build();
Expand Down Expand Up @@ -444,8 +480,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> createPolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* CreatePolicyRequest request =
* CreatePolicyRequest.newBuilder()
Expand All @@ -472,8 +511,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> createPolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* CreatePolicyRequest request =
* CreatePolicyRequest.newBuilder()
Expand All @@ -500,8 +542,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> createPolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* CreatePolicyRequest request =
* CreatePolicyRequest.newBuilder()
Expand Down Expand Up @@ -535,8 +580,11 @@ public final UnaryCallable<CreatePolicyRequest, Operation> createPolicyCallable(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* UpdatePolicyRequest request =
* UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
Expand Down Expand Up @@ -568,8 +616,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> updatePolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* UpdatePolicyRequest request =
* UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
Expand Down Expand Up @@ -601,8 +652,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> updatePolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* UpdatePolicyRequest request =
* UpdatePolicyRequest.newBuilder().setPolicy(Policy.newBuilder().build()).build();
Expand All @@ -623,8 +677,11 @@ public final UnaryCallable<UpdatePolicyRequest, Operation> updatePolicyCallable(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* String name = "name3373707";
* Policy response = policiesClient.deletePolicyAsync(name).get();
Expand Down Expand Up @@ -652,8 +709,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> deletePolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* DeletePolicyRequest request =
* DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
Expand All @@ -676,8 +736,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> deletePolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* DeletePolicyRequest request =
* DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
Expand All @@ -700,8 +763,11 @@ public final OperationFuture<Policy, PolicyOperationMetadata> deletePolicyAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* // This snippet has been automatically generated and should be regarded as a code template only.
* // It will require modifications to work:
* // - It may require correct/in-range values for request initialization.
* // - It may require specifying regional endpoints when creating the service client as shown in
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
* try (PoliciesClient policiesClient = PoliciesClient.create()) {
* DeletePolicyRequest request =
* DeletePolicyRequest.newBuilder().setName("name3373707").setEtag("etag3123477").build();
Expand Down
Loading

0 comments on commit 3ca8a95

Please sign in to comment.