diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index a79f062..a454a61 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -13,5 +13,5 @@
# limitations under the License.
docker:
image: gcr.io/cloud-devrel-public-resources/owlbot-java:latest
- digest: sha256:2567a120ce90fadb6201999b87d649d9f67459de28815ad239bce9ebfaa18a74
-# created: 2022-05-19T15:12:45.278246753Z
+ digest: sha256:6d4e3a15c62cfdcb823d60e16da7521e7c6fc00eba07c8ff12e4de9924a57d28
+# created: 2022-06-29T23:17:33.110417661Z
diff --git a/.github/.OwlBot.yaml b/.github/.OwlBot.yaml
index 2f146be..b4b5c48 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-dataplex-$1/src"
- source: "/google/cloud/dataplex/(v.*)/.*-java/gapic-google-.*/src"
dest: "/owl-bot-staging/$1/google-cloud-dataplex/src"
+- source: "/google/cloud/dataplex/(v.*)/.*-java/samples/snippets/generated"
+ dest: "/owl-bot-staging/$1/samples/snippets/generated"
diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml
index 3e09883..ce1a720 100644
--- a/.github/sync-repo-settings.yaml
+++ b/.github/sync-repo-settings.yaml
@@ -44,7 +44,6 @@ branchProtectionRules:
- "dependencies (8)"
- "dependencies (11)"
- "lint"
- - "clirr"
- "units (8)"
- "units (11)"
- "Kokoro - Test: Integration"
diff --git a/.kokoro/common.sh b/.kokoro/common.sh
index ace89f4..f8f957a 100644
--- a/.kokoro/common.sh
+++ b/.kokoro/common.sh
@@ -55,4 +55,6 @@ function retry_with_backoff {
## Helper functionss
function now() { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n'; }
function msg() { println "$*" >&2; }
-function println() { printf '%s\n' "$(now) $*"; }
\ No newline at end of file
+function println() { printf '%s\n' "$(now) $*"; }
+
+## Helper comment to trigger updated repo dependency release
\ No newline at end of file
diff --git a/.kokoro/release/stage.sh b/.kokoro/release/stage.sh
index 77dc4e8..1dba8de 100755
--- a/.kokoro/release/stage.sh
+++ b/.kokoro/release/stage.sh
@@ -32,6 +32,7 @@ retry_with_backoff 3 10 \
mvn clean deploy -B \
--settings ${MAVEN_SETTINGS_FILE} \
-DskipTests=true \
+ -Dclirr.skip=true \
-DperformRelease=true \
-Dgpg.executable=gpg \
-Dgpg.passphrase=${GPG_PASSPHRASE} \
@@ -42,4 +43,4 @@ then
mvn nexus-staging:release -B \
-DperformRelease=true \
--settings=settings.xml
-fi
\ No newline at end of file
+fi
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 080dc89..f2878e1 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -1,5 +1,12 @@
# Changelog
+## [1.0.1](https://github.com/googleapis/java-dataplex/compare/v1.0.0...v1.0.1) (2022-07-01)
+
+
+### Dependencies
+
+* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.13.0 ([#70](https://github.com/googleapis/java-dataplex/issues/70)) ([cf7c340](https://github.com/googleapis/java-dataplex/commit/cf7c340baa1614a4862d0871a5b0816c31d206a3))
+
## [1.0.0](https://github.com/googleapis/java-dataplex/compare/v0.2.2...v1.0.0) (2022-05-23)
diff --git a/README.md b/README.md
index 79be68e..4388cdd 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-dataplex
- 0.2.2
+ 1.0.0
```
If you are using Gradle without BOM, add this to your dependencies
```Groovy
-implementation 'com.google.cloud:google-cloud-dataplex:0.2.2'
+implementation 'com.google.cloud:google-cloud-dataplex:1.0.0'
```
If you are using SBT, add this to your dependencies
```Scala
-libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "0.2.2"
+libraryDependencies += "com.google.cloud" % "google-cloud-dataplex" % "1.0.0"
```
## Authentication
diff --git a/google-cloud-dataplex-bom/pom.xml b/google-cloud-dataplex-bom/pom.xml
index de1f68c..a398eaf 100644
--- a/google-cloud-dataplex-bom/pom.xml
+++ b/google-cloud-dataplex-bom/pom.xml
@@ -3,12 +3,12 @@
4.0.0
com.google.cloud
google-cloud-dataplex-bom
- 1.0.0
+ 1.0.1
pom
com.google.cloud
google-cloud-shared-config
- 1.4.0
+ 1.5.0
Google Cloud Dataplex BOM
@@ -65,17 +65,17 @@
com.google.cloud
google-cloud-dataplex
- 1.0.0
+ 1.0.1
com.google.api.grpc
grpc-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
com.google.api.grpc
proto-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
diff --git a/google-cloud-dataplex/pom.xml b/google-cloud-dataplex/pom.xml
index d74e9a9..856273f 100644
--- a/google-cloud-dataplex/pom.xml
+++ b/google-cloud-dataplex/pom.xml
@@ -3,7 +3,7 @@
4.0.0
com.google.cloud
google-cloud-dataplex
- 1.0.0
+ 1.0.1
jar
Google Cloud Dataplex
https://github.com/googleapis/java-dataplex
@@ -11,7 +11,7 @@
com.google.cloud
google-cloud-dataplex-parent
- 1.0.0
+ 1.0.1
google-cloud-dataplex
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java
index 6038e50..461dcb4 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/ContentServiceClient.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.paging.AbstractFixedSizeCollection;
import com.google.api.gax.paging.AbstractPage;
@@ -125,7 +124,6 @@ public static final ContentServiceClient create(ContentServiceSettings settings)
* Constructs an instance of ContentServiceClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(ContentServiceSettings).
*/
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final ContentServiceClient create(ContentServiceStub stub) {
return new ContentServiceClient(stub);
}
@@ -140,7 +138,6 @@ protected ContentServiceClient(ContentServiceSettings settings) throws IOExcepti
this.stub = ((ContentServiceStubSettings) settings.getStubSettings()).createStub();
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected ContentServiceClient(ContentServiceStub stub) {
this.settings = null;
this.stub = stub;
@@ -150,7 +147,6 @@ public final ContentServiceSettings getSettings() {
return settings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ContentServiceStub getStub() {
return stub;
}
@@ -676,7 +672,7 @@ public final ListContentPagedResponse listContent(ListContentRequest request) {
* .build();
* while (true) {
* ListContentResponse response = contentServiceClient.listContentCallable().call(request);
- * for (Content element : response.getResponsesList()) {
+ * for (Content element : response.getContentList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java
index 2e2b677..8d27263 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/DataplexServiceClient.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;
@@ -135,7 +134,6 @@ public static final DataplexServiceClient create(DataplexServiceSettings setting
* Constructs an instance of DataplexServiceClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(DataplexServiceSettings).
*/
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final DataplexServiceClient create(DataplexServiceStub stub) {
return new DataplexServiceClient(stub);
}
@@ -151,7 +149,6 @@ protected DataplexServiceClient(DataplexServiceSettings settings) throws IOExcep
this.operationsClient = OperationsClient.create(this.stub.getOperationsStub());
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected DataplexServiceClient(DataplexServiceStub stub) {
this.settings = null;
this.stub = stub;
@@ -162,7 +159,6 @@ public final DataplexServiceSettings getSettings() {
return settings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public DataplexServiceStub getStub() {
return stub;
}
@@ -717,7 +713,7 @@ public final UnaryCallable listLakesPa
* .build();
* while (true) {
* ListLakesResponse response = dataplexServiceClient.listLakesCallable().call(request);
- * for (Lake element : response.getResponsesList()) {
+ * for (Lake element : response.getLakesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -965,7 +961,7 @@ public final ListLakeActionsPagedResponse listLakeActions(ListLakeActionsRequest
* while (true) {
* ListActionsResponse response =
* dataplexServiceClient.listLakeActionsCallable().call(request);
- * for (Action element : response.getResponsesList()) {
+ * for (Action element : response.getActionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -1523,7 +1519,7 @@ public final UnaryCallable listZonesPa
* .build();
* while (true) {
* ListZonesResponse response = dataplexServiceClient.listZonesCallable().call(request);
- * for (Zone element : response.getResponsesList()) {
+ * for (Zone element : response.getZonesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -1771,7 +1767,7 @@ public final ListZoneActionsPagedResponse listZoneActions(ListZoneActionsRequest
* while (true) {
* ListActionsResponse response =
* dataplexServiceClient.listZoneActionsCallable().call(request);
- * for (Action element : response.getResponsesList()) {
+ * for (Action element : response.getActionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -2337,7 +2333,7 @@ public final UnaryCallable listAsset
* .build();
* while (true) {
* ListAssetsResponse response = dataplexServiceClient.listAssetsCallable().call(request);
- * for (Asset element : response.getResponsesList()) {
+ * for (Asset element : response.getAssetsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -2593,7 +2589,7 @@ public final ListAssetActionsPagedResponse listAssetActions(ListAssetActionsRequ
* while (true) {
* ListActionsResponse response =
* dataplexServiceClient.listAssetActionsCallable().call(request);
- * for (Action element : response.getResponsesList()) {
+ * for (Action element : response.getActionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -3126,7 +3122,7 @@ public final UnaryCallable listTasksPa
* .build();
* while (true) {
* ListTasksResponse response = dataplexServiceClient.listTasksCallable().call(request);
- * for (Task element : response.getResponsesList()) {
+ * for (Task element : response.getTasksList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -3369,7 +3365,7 @@ public final UnaryCallable listJobsPaged
* .build();
* while (true) {
* ListJobsResponse response = dataplexServiceClient.listJobsCallable().call(request);
- * for (Job element : response.getResponsesList()) {
+ * for (Job element : response.getJobsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -4155,7 +4151,7 @@ public final ListEnvironmentsPagedResponse listEnvironments(ListEnvironmentsRequ
* while (true) {
* ListEnvironmentsResponse response =
* dataplexServiceClient.listEnvironmentsCallable().call(request);
- * for (Environment element : response.getResponsesList()) {
+ * for (Environment element : response.getEnvironmentsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -4418,7 +4414,7 @@ public final ListSessionsPagedResponse listSessions(ListSessionsRequest request)
* .build();
* while (true) {
* ListSessionsResponse response = dataplexServiceClient.listSessionsCallable().call(request);
- * for (Session element : response.getResponsesList()) {
+ * for (Session element : response.getSessionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java
index aed43d7..4164f06 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/MetadataServiceClient.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.paging.AbstractFixedSizeCollection;
import com.google.api.gax.paging.AbstractPage;
@@ -128,7 +127,6 @@ public static final MetadataServiceClient create(MetadataServiceSettings setting
* Constructs an instance of MetadataServiceClient, using the given stub for making calls. This is
* for advanced usage - prefer using create(MetadataServiceSettings).
*/
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public static final MetadataServiceClient create(MetadataServiceStub stub) {
return new MetadataServiceClient(stub);
}
@@ -143,7 +141,6 @@ protected MetadataServiceClient(MetadataServiceSettings settings) throws IOExcep
this.stub = ((MetadataServiceStubSettings) settings.getStubSettings()).createStub();
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
protected MetadataServiceClient(MetadataServiceStub stub) {
this.settings = null;
this.stub = stub;
@@ -153,7 +150,6 @@ public final MetadataServiceSettings getSettings() {
return settings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public MetadataServiceStub getStub() {
return stub;
}
@@ -662,7 +658,7 @@ public final ListEntitiesPagedResponse listEntities(ListEntitiesRequest request)
* .build();
* while (true) {
* ListEntitiesResponse response = metadataServiceClient.listEntitiesCallable().call(request);
- * for (Entity element : response.getResponsesList()) {
+ * for (Entity element : response.getEntitiesList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
@@ -1165,7 +1161,7 @@ public final ListPartitionsPagedResponse listPartitions(ListPartitionsRequest re
* while (true) {
* ListPartitionsResponse response =
* metadataServiceClient.listPartitionsCallable().call(request);
- * for (Partition element : response.getResponsesList()) {
+ * for (Partition element : response.getPartitionsList()) {
* // doThingsWith(element);
* }
* String nextPageToken = response.getNextPageToken();
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java
index 9d8d4c8..50b7ede 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/ContentServiceStubSettings.java
@@ -182,7 +182,6 @@ public UnaryCallSettings getContentSettings() {
return listContentSettings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public ContentServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java
index f219d1d..96f8204 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/DataplexServiceStubSettings.java
@@ -1036,7 +1036,6 @@ public UnaryCallSettings getEnvironmentSetti
return listSessionsSettings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public DataplexServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
diff --git a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java
index 4dfb7a3..e2e5000 100644
--- a/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java
+++ b/google-cloud-dataplex/src/main/java/com/google/cloud/dataplex/v1/stub/MetadataServiceStubSettings.java
@@ -273,7 +273,6 @@ public UnaryCallSettings getPartitionSettings()
return listPartitionsSettings;
}
- @BetaApi("A restructuring of stub classes is planned, so this may break in the future")
public MetadataServiceStub createStub() throws IOException {
if (getTransportChannelProvider()
.getTransportName()
diff --git a/grpc-google-cloud-dataplex-v1/pom.xml b/grpc-google-cloud-dataplex-v1/pom.xml
index 59d53e3..097cce9 100644
--- a/grpc-google-cloud-dataplex-v1/pom.xml
+++ b/grpc-google-cloud-dataplex-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
grpc-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
grpc-google-cloud-dataplex-v1
GRPC library for google-cloud-dataplex
com.google.cloud
google-cloud-dataplex-parent
- 1.0.0
+ 1.0.1
diff --git a/pom.xml b/pom.xml
index ef59248..9f508ba 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
com.google.cloud
google-cloud-dataplex-parent
pom
- 1.0.0
+ 1.0.1
Google Cloud Dataplex Parent
https://github.com/googleapis/java-dataplex
@@ -14,7 +14,7 @@
com.google.cloud
google-cloud-shared-config
- 1.4.0
+ 1.5.0
@@ -69,23 +69,23 @@
com.google.cloud
google-cloud-dataplex
- 1.0.0
+ 1.0.1
com.google.api.grpc
grpc-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
com.google.api.grpc
proto-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
com.google.cloud
google-cloud-shared-dependencies
- 2.12.0
+ 2.13.0
pom
import
diff --git a/proto-google-cloud-dataplex-v1/pom.xml b/proto-google-cloud-dataplex-v1/pom.xml
index d6dbfcb..73fbc48 100644
--- a/proto-google-cloud-dataplex-v1/pom.xml
+++ b/proto-google-cloud-dataplex-v1/pom.xml
@@ -4,13 +4,13 @@
4.0.0
com.google.api.grpc
proto-google-cloud-dataplex-v1
- 1.0.0
+ 1.0.1
proto-google-cloud-dataplex-v1
Proto library for google-cloud-dataplex
com.google.cloud
google-cloud-dataplex-parent
- 1.0.0
+ 1.0.1
diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml
index 9bec575..acb992a 100644
--- a/samples/install-without-bom/pom.xml
+++ b/samples/install-without-bom/pom.xml
@@ -29,7 +29,7 @@
com.google.cloud
google-cloud-dataplex
- 0.2.2
+ 1.0.0
diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml
index e80cda2..8529e2d 100644
--- a/samples/snapshot/pom.xml
+++ b/samples/snapshot/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-dataplex
- 1.0.0
+ 1.0.1
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 3910fb1..166f74f 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -28,7 +28,7 @@
com.google.cloud
google-cloud-dataplex
- 0.2.2
+ 1.0.0
diff --git a/versions.txt b/versions.txt
index 4161868..fd38461 100644
--- a/versions.txt
+++ b/versions.txt
@@ -1,6 +1,6 @@
# Format:
# module:released-version:current-version
-google-cloud-dataplex:1.0.0:1.0.0
-proto-google-cloud-dataplex-v1:1.0.0:1.0.0
-grpc-google-cloud-dataplex-v1:1.0.0:1.0.0
+google-cloud-dataplex:1.0.1:1.0.1
+proto-google-cloud-dataplex-v1:1.0.1:1.0.1
+grpc-google-cloud-dataplex-v1:1.0.1:1.0.1