Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

Commit

Permalink
chore(deps): upgrade gapic-generator-java to 2.7.0 and update gax-jav…
Browse files Browse the repository at this point in the history
…a to 2.16.0 (#194)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 446250659

Source-Link: googleapis/googleapis@dc4ef31

Source-Link: https://github.com/googleapis/googleapis-gen/commit/5fdda4ddfbab87998e77e4a453e0ff87986d2db8
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNWZkZGE0ZGRmYmFiODc5OThlNzdlNGE0NTNlMGZmODc5ODZkMmRiOCJ9
  • Loading branch information
gcf-owl-bot[bot] authored May 5, 2022
1 parent 97f48cf commit 3ace23b
Show file tree
Hide file tree
Showing 12 changed files with 62 additions and 12 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -48,6 +48,8 @@
* 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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ConnectorName name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]");
* Connector response = vpcAccessServiceClient.getConnector(name);
Expand Down Expand Up @@ -84,6 +86,8 @@
* <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.
* VpcAccessServiceSettings vpcAccessServiceSettings =
* VpcAccessServiceSettings.newBuilder()
* .setCredentialsProvider(FixedCredentialsProvider.create(myCredentials))
Expand All @@ -95,6 +99,8 @@
* <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.
* VpcAccessServiceSettings vpcAccessServiceSettings =
* VpcAccessServiceSettings.newBuilder().setEndpoint(myEndpoint).build();
* VpcAccessServiceClient vpcAccessServiceClient =
Expand Down Expand Up @@ -174,6 +180,8 @@ public final OperationsClient getOperationsClient() {
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* String connectorId = "connectorId1724784200";
Expand Down Expand Up @@ -207,6 +215,8 @@ public final OperationFuture<Connector, OperationMetadata> createConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* String connectorId = "connectorId1724784200";
Expand Down Expand Up @@ -240,6 +250,8 @@ public final OperationFuture<Connector, OperationMetadata> createConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* CreateConnectorRequest request =
* CreateConnectorRequest.newBuilder()
Expand All @@ -266,6 +278,8 @@ public final OperationFuture<Connector, OperationMetadata> createConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* CreateConnectorRequest request =
* CreateConnectorRequest.newBuilder()
Expand All @@ -292,6 +306,8 @@ public final OperationFuture<Connector, OperationMetadata> createConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* CreateConnectorRequest request =
* CreateConnectorRequest.newBuilder()
Expand All @@ -317,6 +333,8 @@ public final UnaryCallable<CreateConnectorRequest, Operation> createConnectorCal
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ConnectorName name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]");
* Connector response = vpcAccessServiceClient.getConnector(name);
Expand All @@ -339,6 +357,8 @@ public final Connector getConnector(ConnectorName 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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* String name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]").toString();
* Connector response = vpcAccessServiceClient.getConnector(name);
Expand All @@ -360,6 +380,8 @@ public final Connector getConnector(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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* GetConnectorRequest request =
* GetConnectorRequest.newBuilder()
Expand All @@ -383,6 +405,8 @@ public final Connector getConnector(GetConnectorRequest 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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* GetConnectorRequest request =
* GetConnectorRequest.newBuilder()
Expand All @@ -406,6 +430,8 @@ public final UnaryCallable<GetConnectorRequest, Connector> getConnectorCallable(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
* for (Connector element : vpcAccessServiceClient.listConnectors(parent).iterateAll()) {
Expand All @@ -432,6 +458,8 @@ public final ListConnectorsPagedResponse listConnectors(LocationName 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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* String parent = LocationName.of("[PROJECT]", "[LOCATION]").toString();
* for (Connector element : vpcAccessServiceClient.listConnectors(parent).iterateAll()) {
Expand All @@ -455,6 +483,8 @@ public final ListConnectorsPagedResponse listConnectors(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.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ListConnectorsRequest request =
* ListConnectorsRequest.newBuilder()
Expand Down Expand Up @@ -482,6 +512,8 @@ public final ListConnectorsPagedResponse listConnectors(ListConnectorsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ListConnectorsRequest request =
* ListConnectorsRequest.newBuilder()
Expand Down Expand Up @@ -510,6 +542,8 @@ public final ListConnectorsPagedResponse listConnectors(ListConnectorsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ListConnectorsRequest request =
* ListConnectorsRequest.newBuilder()
Expand Down Expand Up @@ -545,6 +579,8 @@ public final ListConnectorsPagedResponse listConnectors(ListConnectorsRequest re
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ConnectorName name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]");
* vpcAccessServiceClient.deleteConnectorAsync(name).get();
Expand All @@ -567,6 +603,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectorAsync(Conn
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* String name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]").toString();
* vpcAccessServiceClient.deleteConnectorAsync(name).get();
Expand All @@ -588,6 +626,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectorAsync(Stri
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* DeleteConnectorRequest request =
* DeleteConnectorRequest.newBuilder()
Expand All @@ -612,6 +652,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* DeleteConnectorRequest request =
* DeleteConnectorRequest.newBuilder()
Expand All @@ -636,6 +678,8 @@ public final OperationFuture<Empty, OperationMetadata> deleteConnectorAsync(
* <p>Sample code:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* DeleteConnectorRequest request =
* DeleteConnectorRequest.newBuilder()
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -55,6 +55,8 @@
* <p>For example, to set the total timeout of getConnector to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* VpcAccessServiceSettings.Builder vpcAccessServiceSettingsBuilder =
* VpcAccessServiceSettings.newBuilder();
* vpcAccessServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand All @@ -26,6 +26,8 @@
* <p>Sample for VpcAccessServiceClient:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* try (VpcAccessServiceClient vpcAccessServiceClient = VpcAccessServiceClient.create()) {
* ConnectorName name = ConnectorName.of("[PROJECT]", "[LOCATION]", "[CONNECTOR]");
* Connector response = vpcAccessServiceClient.getConnector(name);
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -80,6 +80,8 @@
* <p>For example, to set the total timeout of getConnector to 30 seconds:
*
* <pre>{@code
* // This snippet has been automatically generated for illustrative purposes only.
* // It may require modifications to work in your environment.
* VpcAccessServiceStubSettings.Builder vpcAccessServiceSettingsBuilder =
* VpcAccessServiceStubSettings.newBuilder();
* vpcAccessServiceSettingsBuilder
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2021 Google LLC
* Copyright 2022 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down

0 comments on commit 3ace23b

Please sign in to comment.