diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml
index fce86de..e5efcb4 100644
--- a/.github/.OwlBot.yaml
+++ b/.github/.OwlBot.yaml
@@ -16,6 +16,7 @@ docker:
image: "gcr.io/cloud-devrel-public-resources/owlbot-java:latest"
deep-remove-regex:
+- "/samples/snippets/generated"
- "/grpc-google-.*/src"
- "/proto-google-.*/src"
- "/google-.*/src"
@@ -30,3 +31,5 @@ deep-copy-regex:
dest: "/owl-bot-staging/$1/grpc-google-cloud-api-gateway-$1/src"
- source: "/google/cloud/apigateway/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-api-gateway/src"
+- source: "/google/cloud/apigateway/(v.*)/.*-java/samples/snippets/generated"
+ dest: "/owl-bot-staging/$1/samples/snippets/generated"
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 57aa057..7c47536 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [2.2.1](https://github.com/googleapis/java-api-gateway/compare/v2.2.0...v2.2.1) (2022-06-23)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#261](https://github.com/googleapis/java-api-gateway/issues/261)) ([09b7041](https://github.com/googleapis/java-api-gateway/commit/09b7041b971f201b1d1b1c473fdc12e24e89d750))
+
## [2.2.0](https://github.com/googleapis/java-api-gateway/compare/v2.1.12...v2.2.0) (2022-05-19)
diff --git a/README.md b/README.md
index 456671f..1b43e27 100644
--- a/README.md
+++ b/README.md
@@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file:
com.google.cloud
google-cloud-api-gateway
- 2.1.12
+ 2.2.0
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-implementation 'com.google.cloud:google-cloud-api-gateway:2.1.12'
+implementation 'com.google.cloud:google-cloud-api-gateway:2.2.0'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.1.12"
+libraryDependencies += "com.google.cloud" % "google-cloud-api-gateway" % "2.2.0"
```
## Authentication
diff --git a/google-cloud-api-gateway-bom/pom.xml b/google-cloud-api-gateway-bom/pom.xml
index c72032f..c01063a 100644
--- a/google-cloud-api-gateway-bom/pom.xml
+++ b/google-cloud-api-gateway-bom/pom.xml
@@ -3,12 +3,12 @@
4.0.0
com.google.cloud
google-cloud-api-gateway-bom
- 2.2.0
+ 2.2.1
pom
com.google.cloud
google-cloud-shared-config
- 1.4.0
+ 1.5.0
Google API Gateway BOM
@@ -56,17 +56,17 @@
com.google.cloud
google-cloud-api-gateway
- 2.2.0
+ 2.2.1
com.google.api.grpc
grpc-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
com.google.api.grpc
proto-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
diff --git a/google-cloud-api-gateway/pom.xml b/google-cloud-api-gateway/pom.xml
index bb9a4d1..943cbc0 100644
--- a/google-cloud-api-gateway/pom.xml
+++ b/google-cloud-api-gateway/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-api-gateway
- 2.2.0
+ 2.2.1
jar
Google API Gateway
https://github.com/googleapis/java-api-gateway
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-api-gateway-parent
- 2.2.0
+ 2.2.1
google-cloud-api-gateway
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java
index 237e55e..b8b2403 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/ApiGatewayServiceClient.java
@@ -18,7 +18,6 @@
import com.google.api.core.ApiFuture;
import com.google.api.core.ApiFutures;
-import com.google.api.core.BetaApi;
import com.google.api.gax.core.BackgroundResource;
import com.google.api.gax.longrunning.OperationFuture;
import com.google.api.gax.paging.AbstractFixedSizeCollection;
@@ -132,7 +131,6 @@ public static final ApiGatewayServiceClient create(ApiGatewayServiceSettings set
* Constructs an instance of ApiGatewayServiceClient, using the given stub for making calls. This
* is for advanced usage - prefer using create(ApiGatewayServiceSettings).
*/
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final ApiGatewayServiceClient create(ApiGatewayServiceStub stub) {
return new ApiGatewayServiceClient(stub);
}
@@ -148,7 +146,6 @@ protected ApiGatewayServiceClient(ApiGatewayServiceSettings settings) throws IOE
this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected ApiGatewayServiceClient(ApiGatewayServiceStub stub) {
this.settings = null;
this.stub = stub;
@@ -159,7 +156,6 @@ public final ApiGatewayServiceSettings getSettings() {
return settings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ApiGatewayServiceStub getStub() {
return stub;
}
@@ -311,7 +307,7 @@ public final ListGatewaysPagedResponse listGateways(ListGatewaysRequest request)
* while (true) {
* ListGatewaysResponse response =
* apiGatewayServiceClient.listGatewaysCallable().call(request);
- * for (Gateway element : response.getResponsesList()) {
+ * for (Gateway element : response.getGatewaysList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -951,7 +947,7 @@ public final UnaryCallable listApisPaged
* .build();
* while (true) {
* ListApisResponse response = apiGatewayServiceClient.listApisCallable().call(request);
- * for (Api element : response.getResponsesList()) {
+ * for (Api element : response.getApisList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -1576,7 +1572,7 @@ public final ListApiConfigsPagedResponse listApiConfigs(ListApiConfigsRequest re
* while (true) {
* ListApiConfigsResponse response =
* apiGatewayServiceClient.listApiConfigsCallable().call(request);
- * for (ApiConfig element : response.getResponsesList()) {
+ * for (ApiConfig element : response.getApiConfigsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
diff --git a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
index 758eb78..0861394 100644
--- a/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
+++ b/google-cloud-api-gateway/src/main/java/com/google/cloud/apigateway/v1/stub/ApiGatewayServiceStubSettings.java
@@ -451,7 +451,6 @@ public UnaryCallSettings deleteApiConfigSetti
return deleteApiConfigOperationSettings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ApiGatewayServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
diff --git a/grpc-google-cloud-api-gateway-v1/pom.xml b/grpc-google-cloud-api-gateway-v1/pom.xml
index 9d5294a..0a109e6 100644
--- a/grpc-google-cloud-api-gateway-v1/pom.xml
+++ b/grpc-google-cloud-api-gateway-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
grpc-google-cloud-api-gateway-v1
GRPC library for google-cloud-api-gateway
com.google.cloud
google-cloud-api-gateway-parent
- 2.2.0
+ 2.2.1
diff --git a/pom.xml b/pom.xml
index c4375af..ea817ad 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-api-gateway-parent
pom
- 2.2.0
+ 2.2.1
Google API Gateway Parent
https://github.com/googleapis/java-api-gateway
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.4.0
+ 1.5.0
@@ -60,23 +60,23 @@
com.google.cloud
google-cloud-api-gateway
- 2.2.0
+ 2.2.1
com.google.api.grpc
grpc-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
com.google.api.grpc
proto-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
com.google.cloud
google-cloud-shared-dependencies
- 2.12.0
+ 2.13.0
pom
import
diff --git a/proto-google-cloud-api-gateway-v1/pom.xml b/proto-google-cloud-api-gateway-v1/pom.xml
index 7ff009f..ab0db9c 100644
--- a/proto-google-cloud-api-gateway-v1/pom.xml
+++ b/proto-google-cloud-api-gateway-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-api-gateway-v1
- 2.2.0
+ 2.2.1
proto-google-cloud-api-gateway-v1
Proto library for google-cloud-api-gateway
com.google.cloud
google-cloud-api-gateway-parent
- 2.2.0
+ 2.2.1
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 4c3bdbe..e25c26e 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-api-gateway
- 2.1.12
+ 2.2.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 48dd5aa..52cdc93 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-api-gateway
- 2.1.12
+ 2.2.0
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 9657d9c..138f3f6 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-api-gateway
- 2.1.12
+ 2.2.0
diff --git a/versions.txt b/versions.txt
index ffe923a..ed003ec 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-api-gateway:2.2.0:2.2.0
-grpc-google-cloud-api-gateway-v1:2.2.0:2.2.0
-proto-google-cloud-api-gateway-v1:2.2.0:2.2.0
+google-cloud-api-gateway:2.2.1:2.2.1
+grpc-google-cloud-api-gateway-v1:2.2.1:2.2.1
+proto-google-cloud-api-gateway-v1:2.2.1:2.2.1