diff --git a/.github/readme/synth.metadata/synth.metadata b/.github/readme/synth.metadata/synth.metadata
index 9ab93519..ced9b17b 100644
--- a/.github/readme/synth.metadata/synth.metadata
+++ b/.github/readme/synth.metadata/synth.metadata
@@ -4,14 +4,14 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "be50511852419d0a39a287df867d7376c0f8fe28"
+ "sha": "baa7fe9b4bba2f4b9532ae3108ea61db4f91c91b"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "c0edb1b97d81f56eaba1e896e9756268940c56c1"
+ "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1"
}
}
]
diff --git a/.kokoro/release/publish_javadoc11.sh b/.kokoro/release/publish_javadoc11.sh
index 842e70e9..e76e317c 100755
--- a/.kokoro/release/publish_javadoc11.sh
+++ b/.kokoro/release/publish_javadoc11.sh
@@ -42,6 +42,8 @@ mvn clean site -B -q -P docFX
# copy README to docfx-yml dir and rename index.md
cp README.md target/docfx-yml/index.md
+# copy CHANGELOG to docfx-yml dir and rename history.md
+cp CHANGELOG.md target/docfx-yml/history.md
pushd target/docfx-yml
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 9f6d6b98..b808fa31 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+### [1.0.18](https://www.github.com/googleapis/java-bigqueryconnection/compare/v1.0.17...v1.0.18) (2021-05-19)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v1.2.0 ([#408](https://www.github.com/googleapis/java-bigqueryconnection/issues/408)) ([66990e0](https://www.github.com/googleapis/java-bigqueryconnection/commit/66990e0266a8e7936879237c0ab144943e8ebd24))
+
### [1.0.17](https://www.github.com/googleapis/java-bigqueryconnection/compare/v1.0.16...v1.0.17) (2021-05-14)
diff --git a/README.md b/README.md
index ca722d23..0d0897f8 100644
--- a/README.md
+++ b/README.md
@@ -17,19 +17,19 @@ If you are using Maven, add this to your pom.xml file:
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.16
+ 1.0.17
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-compile 'com.google.cloud:google-cloud-bigqueryconnection:1.0.16'
+compile 'com.google.cloud:google-cloud-bigqueryconnection:1.0.17'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "1.0.16"
+libraryDependencies += "com.google.cloud" % "google-cloud-bigqueryconnection" % "1.0.17"
```
## Authentication
diff --git a/google-cloud-bigqueryconnection-bom/pom.xml b/google-cloud-bigqueryconnection-bom/pom.xml
index aa15f7a6..e471ca6c 100644
--- a/google-cloud-bigqueryconnection-bom/pom.xml
+++ b/google-cloud-bigqueryconnection-bom/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection-bom
- 1.0.17
+ 1.0.18
pom
com.google.cloud
@@ -64,27 +64,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.17
+ 1.0.18
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
diff --git a/google-cloud-bigqueryconnection/pom.xml b/google-cloud-bigqueryconnection/pom.xml
index 7949df78..45f905fb 100644
--- a/google-cloud-bigqueryconnection/pom.xml
+++ b/google-cloud-bigqueryconnection/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.17
+ 1.0.18
jar
Google Cloud BigQuery Connections
https://github.com/googleapis/java-bigqueryconnection
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
- 1.0.17
+ 1.0.18
google-cloud-bigqueryconnection
diff --git a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java
index dad43bdb..62a6cf79 100644
--- a/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java
+++ b/google-cloud-bigqueryconnection/src/main/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClient.java
@@ -234,6 +234,7 @@ public final ConnectionProto.Connection createConnection(
* ConnectionProto.CreateConnectionRequest.newBuilder()
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setConnectionId("connectionId1923106969")
+ * .setConnection(ConnectionProto.Connection.newBuilder().build())
* .build();
* ConnectionProto.Connection response = connectionServiceClient.createConnection(request);
* }
@@ -259,6 +260,7 @@ public final ConnectionProto.Connection createConnection(
* ConnectionProto.CreateConnectionRequest.newBuilder()
* .setParent(LocationName.of("[PROJECT]", "[LOCATION]").toString())
* .setConnectionId("connectionId1923106969")
+ * .setConnection(ConnectionProto.Connection.newBuilder().build())
* .build();
* ApiFuture future =
* connectionServiceClient.createConnectionCallable().futureCall(request);
@@ -562,6 +564,7 @@ public final ConnectionProto.Connection updateConnection(
* ConnectionProto.UpdateConnectionRequest request =
* ConnectionProto.UpdateConnectionRequest.newBuilder()
* .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ * .setConnection(ConnectionProto.Connection.newBuilder().build())
* .setUpdateMask(FieldMask.newBuilder().build())
* .build();
* ConnectionProto.Connection response = connectionServiceClient.updateConnection(request);
@@ -588,6 +591,7 @@ public final ConnectionProto.Connection updateConnection(
* ConnectionProto.UpdateConnectionRequest request =
* ConnectionProto.UpdateConnectionRequest.newBuilder()
* .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ * .setConnection(ConnectionProto.Connection.newBuilder().build())
* .setUpdateMask(FieldMask.newBuilder().build())
* .build();
* ApiFuture future =
@@ -643,6 +647,7 @@ public final void updateConnectionCredential(
* ConnectionProto.UpdateConnectionCredentialRequest request =
* ConnectionProto.UpdateConnectionCredentialRequest.newBuilder()
* .setName("name3373707")
+ * .setCredential(ConnectionProto.ConnectionCredential.newBuilder().build())
* .build();
* connectionServiceClient.updateConnectionCredential(request);
* }
@@ -667,6 +672,7 @@ public final void updateConnectionCredential(
* ConnectionProto.UpdateConnectionCredentialRequest request =
* ConnectionProto.UpdateConnectionCredentialRequest.newBuilder()
* .setName("name3373707")
+ * .setCredential(ConnectionProto.ConnectionCredential.newBuilder().build())
* .build();
* ApiFuture future =
* connectionServiceClient.updateConnectionCredentialCallable().futureCall(request);
diff --git a/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClientTest.java b/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClientTest.java
index 7a052d8f..e58db7a6 100644
--- a/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClientTest.java
+++ b/google-cloud-bigqueryconnection/src/test/java/com/google/cloud/bigquery/connection/v1beta1/ConnectionServiceClientTest.java
@@ -90,7 +90,15 @@ public void tearDown() throws Exception {
@Test
public void createConnectionTest() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -133,7 +141,15 @@ public void createConnectionExceptionTest() throws Exception {
@Test
public void createConnectionTest2() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
String parent = "parent-995424086";
@@ -176,7 +192,15 @@ public void createConnectionExceptionTest2() throws Exception {
@Test
public void getConnectionTest() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
@@ -212,7 +236,15 @@ public void getConnectionExceptionTest() throws Exception {
@Test
public void getConnectionTest2() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
String name = "name3373707";
@@ -249,7 +281,10 @@ public void getConnectionExceptionTest2() throws Exception {
@Test
public void listConnectionsTest() throws Exception {
ConnectionProto.ListConnectionsResponse expectedResponse =
- ConnectionProto.ListConnectionsResponse.newBuilder().build();
+ ConnectionProto.ListConnectionsResponse.newBuilder()
+ .setNextPageToken("nextPageToken-1386094857")
+ .addAllConnections(new ArrayList())
+ .build();
mockConnectionService.addResponse(expectedResponse);
LocationName parent = LocationName.of("[PROJECT]", "[LOCATION]");
@@ -290,7 +325,10 @@ public void listConnectionsExceptionTest() throws Exception {
@Test
public void listConnectionsTest2() throws Exception {
ConnectionProto.ListConnectionsResponse expectedResponse =
- ConnectionProto.ListConnectionsResponse.newBuilder().build();
+ ConnectionProto.ListConnectionsResponse.newBuilder()
+ .setNextPageToken("nextPageToken-1386094857")
+ .addAllConnections(new ArrayList())
+ .build();
mockConnectionService.addResponse(expectedResponse);
String parent = "parent-995424086";
@@ -330,7 +368,15 @@ public void listConnectionsExceptionTest2() throws Exception {
@Test
public void updateConnectionTest() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
ConnectionName name = ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]");
@@ -373,7 +419,15 @@ public void updateConnectionExceptionTest() throws Exception {
@Test
public void updateConnectionTest2() throws Exception {
- ConnectionProto.Connection expectedResponse = ConnectionProto.Connection.newBuilder().build();
+ ConnectionProto.Connection expectedResponse =
+ ConnectionProto.Connection.newBuilder()
+ .setName(ConnectionName.of("[PROJECT]", "[LOCATION]", "[CONNECTION]").toString())
+ .setFriendlyName("friendlyName461933014")
+ .setDescription("description-1724546052")
+ .setCreationTime(1932333101)
+ .setLastModifiedTime(-671513446)
+ .setHasCredential(true)
+ .build();
mockConnectionService.addResponse(expectedResponse);
String name = "name3373707";
diff --git a/grpc-google-cloud-bigqueryconnection-v1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
index b8689668..16c1488f 100644
--- a/grpc-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
grpc-google-cloud-bigqueryconnection-v1
GRPC library for grpc-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 1.0.17
+ 1.0.18
diff --git a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 7ad52240..ba839f58 100644
--- a/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/grpc-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
grpc-google-cloud-bigqueryconnection-v1beta1
GRPC library for grpc-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 1.0.17
+ 1.0.18
diff --git a/pom.xml b/pom.xml
index 2da4803c..0dc3c514 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-bigqueryconnection-parent
pom
- 1.0.17
+ 1.0.18
Google Cloud BigQuery Connections Parent
https://github.com/googleapis/java-bigqueryconnection
@@ -63,7 +63,7 @@
UTF-8
github
google-cloud-bigqueryconnection-parent
- 1.1.0
+ 1.2.0
@@ -71,27 +71,27 @@
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.17
+ 1.0.18
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
com.google.api.grpc
grpc-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
diff --git a/proto-google-cloud-bigqueryconnection-v1/pom.xml b/proto-google-cloud-bigqueryconnection-v1/pom.xml
index 7b510b0e..308e3672 100644
--- a/proto-google-cloud-bigqueryconnection-v1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1
- 1.0.17
+ 1.0.18
proto-google-cloud-bigqueryconnection-v1
PROTO library for proto-google-cloud-bigqueryconnection-v1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 1.0.17
+ 1.0.18
diff --git a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
index 22524257..b03b312c 100644
--- a/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
+++ b/proto-google-cloud-bigqueryconnection-v1beta1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-bigqueryconnection-v1beta1
- 0.5.17
+ 0.5.18
proto-google-cloud-bigqueryconnection-v1beta1
PROTO library for proto-google-cloud-bigqueryconnection-v1beta1
com.google.cloud
google-cloud-bigqueryconnection-parent
- 1.0.17
+ 1.0.18
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 18a90da0..1db8cf00 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.16
+ 1.0.17
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index 957c1ddb..f12b7d02 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.17
+ 1.0.18
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index c5b44d49..7d29cd82 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
libraries-bom
- 20.2.0
+ 20.4.0
pom
import
@@ -40,7 +40,7 @@
com.google.cloud
google-cloud-bigqueryconnection
- 1.0.16
+ 1.0.17
diff --git a/synth.metadata b/synth.metadata
index 241908fa..28587804 100644
--- a/synth.metadata
+++ b/synth.metadata
@@ -4,30 +4,30 @@
"git": {
"name": ".",
"remote": "https://github.com/googleapis/java-bigqueryconnection.git",
- "sha": "dee58d6802de4b9ffc4cb1793694c99e4861ea01"
+ "sha": "e53dccbd7ab455652796b69c76128318a69d7eda"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
- "internalRef": "362856902"
+ "sha": "131ae3e375c05856d7d77cd146dc2af92650eb38",
+ "internalRef": "374252908"
}
},
{
"git": {
"name": "googleapis",
"remote": "https://github.com/googleapis/googleapis.git",
- "sha": "1305ca41d554eb0725237561e34129373bb8cbc1",
- "internalRef": "362856902"
+ "sha": "131ae3e375c05856d7d77cd146dc2af92650eb38",
+ "internalRef": "374252908"
}
},
{
"git": {
"name": "synthtool",
"remote": "https://github.com/googleapis/synthtool.git",
- "sha": "4f4b1b9b8d8b52f1e9e4a76165896debce5ab7f1"
+ "sha": "c86c7a60985644eab557949363a38301d40d78d2"
}
}
],
diff --git a/versions.txt b/versions.txt
index c3ae4f20..cbba8314 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,8 +1,8 @@
# Format:
# module:released-version:current-version
-google-cloud-bigqueryconnection:1.0.17:1.0.17
-proto-google-cloud-bigqueryconnection-v1:1.0.17:1.0.17
-grpc-google-cloud-bigqueryconnection-v1:1.0.17:1.0.17
-proto-google-cloud-bigqueryconnection-v1beta1:0.5.17:0.5.17
-grpc-google-cloud-bigqueryconnection-v1beta1:0.5.17:0.5.17
+google-cloud-bigqueryconnection:1.0.18:1.0.18
+proto-google-cloud-bigqueryconnection-v1:1.0.18:1.0.18
+grpc-google-cloud-bigqueryconnection-v1:1.0.18:1.0.18
+proto-google-cloud-bigqueryconnection-v1beta1:0.5.18:0.5.18
+grpc-google-cloud-bigqueryconnection-v1beta1:0.5.18:0.5.18