From b4d429cc9fefcbaf49028003605ee7f1fa8b91d6 Mon Sep 17 00:00:00 2001 From: Tomo Suzuki Date: Tue, 24 Aug 2021 14:48:20 -0400 Subject: [PATCH 01/14] ci: removing linkage-monitor from the required checks (#613) Linkage Monitor is no longer needed, because the Libraries BOM synchronizes with Google Cloud BOM and the shared dependencies BOM https://github.com/GoogleCloudPlatform/cloud-opensource-java/issues/2137 --- .github/sync-repo-settings.yaml | 2 -- README.md | 4 ++-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/sync-repo-settings.yaml b/.github/sync-repo-settings.yaml index ffd39f6f8..32e0ea5a1 100644 --- a/.github/sync-repo-settings.yaml +++ b/.github/sync-repo-settings.yaml @@ -10,7 +10,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (8) @@ -26,7 +25,6 @@ branchProtectionRules: requiredStatusCheckContexts: - dependencies (8) - dependencies (11) - - linkage-monitor - lint - clirr - units (7) diff --git a/README.md b/README.md index b54c2f13a..5b87ffe3b 100644 --- a/README.md +++ b/README.md @@ -61,13 +61,13 @@ compile 'com.google.cloud:google-cloud-securitycenter' If you are using Gradle without BOM, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:2.0.1' +compile 'com.google.cloud:google-cloud-securitycenter:2.0.2' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.0.1" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "2.0.2" ``` ## Authentication From bd3e00eb64ce15f63e324848f5f43fff5d086cc4 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 24 Aug 2021 19:26:24 +0000 Subject: [PATCH 02/14] chore: update gapic-generator-java version to 2.1.0 (#606) - [x] Regenerate this pull request now. PiperOrigin-RevId: 391407209 Source-Link: https://github.com/googleapis/googleapis/commit/e1738ee972b49fd0c4d4718b035444495142b781 Source-Link: https://github.com/googleapis/googleapis-gen/commit/ee19262b2b9bf96e2c5f5f13df60686247be11dd --- .../v1/SecurityCenterClient.java | 30 ++++++++----------- .../v1/stub/SecurityCenterStubSettings.java | 4 ++- .../v1beta1/SecurityCenterClient.java | 24 +++++++-------- .../stub/SecurityCenterStubSettings.java | 4 ++- .../v1p1beta1/SecurityCenterClient.java | 30 ++++++++----------- .../stub/SecurityCenterStubSettings.java | 4 ++- .../v1p1beta1/SecurityCenterClientTest.java | 12 ++++---- 7 files changed, 51 insertions(+), 57 deletions(-) diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java index 6c129cab0..186dceb15 100644 --- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java +++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java @@ -684,7 +684,7 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest reque * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -709,7 +709,7 @@ public final Policy getIamPolicy(ResourceName resource) { * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -733,8 +733,7 @@ public final Policy getIamPolicy(String resource) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString()) + * .setResource(FolderName.of("[FOLDER]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = securityCenterClient.getIamPolicy(request); @@ -758,8 +757,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString()) + * .setResource(FolderName.of("[FOLDER]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = securityCenterClient.getIamPolicyCallable().futureCall(request); @@ -2204,7 +2202,7 @@ public final UnaryCallable setFindingStateCalla * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -2234,7 +2232,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -2263,8 +2261,7 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   Policy response = securityCenterClient.setIamPolicy(request);
@@ -2288,8 +2285,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   ApiFuture future = securityCenterClient.setIamPolicyCallable().futureCall(request);
@@ -2310,7 +2306,7 @@ public final UnaryCallable setIamPolicyCallable() {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -2342,7 +2338,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -2376,8 +2372,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   TestIamPermissionsResponse response = securityCenterClient.testIamPermissions(request);
@@ -2401,8 +2396,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   ApiFuture future =
diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
index c526c031f..73a529581 100644
--- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
+++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
@@ -705,7 +705,9 @@ public static List getDefaultServiceScopes() {
 
   /** Returns a builder for the default credentials for this service. */
   public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
-    return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
+    return GoogleCredentialsProvider.newBuilder()
+        .setScopesToApply(DEFAULT_SERVICE_SCOPES)
+        .setUseJwtAccessWithScope(true);
   }
 
   /** Returns a builder for the default ChannelProvider for this service. */
diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java
index e5bab9d75..2dcbf0e6c 100644
--- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java
+++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/SecurityCenterClient.java
@@ -398,7 +398,7 @@ public final UnaryCallable createFindingCallable(
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
+   *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -423,7 +423,7 @@ public final Policy getIamPolicy(ResourceName resource) { * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
+   *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -447,7 +447,7 @@ public final Policy getIamPolicy(String resource) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString()) + * .setResource(OrganizationName.of("[ORGANIZATION]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = securityCenterClient.getIamPolicy(request); @@ -471,7 +471,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString()) + * .setResource(OrganizationName.of("[ORGANIZATION]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = securityCenterClient.getIamPolicyCallable().futureCall(request); @@ -1566,7 +1566,7 @@ public final UnaryCallable setFindingStateCalla * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
+   *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -1596,7 +1596,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
+   *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -1625,7 +1625,7 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString())
+   *           .setResource(OrganizationName.of("[ORGANIZATION]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   Policy response = securityCenterClient.setIamPolicy(request);
@@ -1649,7 +1649,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString())
+   *           .setResource(OrganizationName.of("[ORGANIZATION]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   ApiFuture future = securityCenterClient.setIamPolicyCallable().futureCall(request);
@@ -1670,7 +1670,7 @@ public final UnaryCallable setIamPolicyCallable() {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = SourceName.of("[ORGANIZATION]", "[SOURCE]");
+   *   ResourceName resource = OrganizationName.of("[ORGANIZATION]");
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -1702,7 +1702,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = SourceName.of("[ORGANIZATION]", "[SOURCE]").toString();
+   *   String resource = OrganizationName.of("[ORGANIZATION]").toString();
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -1736,7 +1736,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString())
+   *           .setResource(OrganizationName.of("[ORGANIZATION]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   TestIamPermissionsResponse response = securityCenterClient.testIamPermissions(request);
@@ -1760,7 +1760,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(SourceName.of("[ORGANIZATION]", "[SOURCE]").toString())
+   *           .setResource(OrganizationName.of("[ORGANIZATION]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   ApiFuture future =
diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
index 10d491150..40f4f109c 100644
--- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
+++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1beta1/stub/SecurityCenterStubSettings.java
@@ -570,7 +570,9 @@ public static List getDefaultServiceScopes() {
 
   /** Returns a builder for the default credentials for this service. */
   public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
-    return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
+    return GoogleCredentialsProvider.newBuilder()
+        .setScopesToApply(DEFAULT_SERVICE_SCOPES)
+        .setUseJwtAccessWithScope(true);
   }
 
   /** Returns a builder for the default ChannelProvider for this service. */
diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
index 6f46612d5..49f93704b 100644
--- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
+++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClient.java
@@ -745,7 +745,7 @@ public final void deleteNotificationConfig(DeleteNotificationConfigRequest reque
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -770,7 +770,7 @@ public final Policy getIamPolicy(ResourceName resource) { * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy response = securityCenterClient.getIamPolicy(resource);
    * }
    * }
@@ -794,8 +794,7 @@ public final Policy getIamPolicy(String resource) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString()) + * .setResource(FolderName.of("[FOLDER]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * Policy response = securityCenterClient.getIamPolicy(request); @@ -819,8 +818,7 @@ public final Policy getIamPolicy(GetIamPolicyRequest request) { * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) { * GetIamPolicyRequest request = * GetIamPolicyRequest.newBuilder() - * .setResource( - * AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString()) + * .setResource(FolderName.of("[FOLDER]").toString()) * .setOptions(GetPolicyOptions.newBuilder().build()) * .build(); * ApiFuture future = securityCenterClient.getIamPolicyCallable().futureCall(request); @@ -2435,7 +2433,7 @@ public final UnaryCallable setFindingStateCalla * *
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -2465,7 +2463,7 @@ public final Policy setIamPolicy(ResourceName resource, Policy policy) {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   Policy policy = Policy.newBuilder().build();
    *   Policy response = securityCenterClient.setIamPolicy(resource, policy);
    * }
@@ -2494,8 +2492,7 @@ public final Policy setIamPolicy(String resource, Policy policy) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   Policy response = securityCenterClient.setIamPolicy(request);
@@ -2519,8 +2516,7 @@ public final Policy setIamPolicy(SetIamPolicyRequest request) {
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   SetIamPolicyRequest request =
    *       SetIamPolicyRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .setPolicy(Policy.newBuilder().build())
    *           .build();
    *   ApiFuture future = securityCenterClient.setIamPolicyCallable().futureCall(request);
@@ -2541,7 +2537,7 @@ public final UnaryCallable setIamPolicyCallable() {
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+   *   ResourceName resource = FolderName.of("[FOLDER]");
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -2573,7 +2569,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    *
    * 
{@code
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
-   *   String resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString();
+   *   String resource = FolderName.of("[FOLDER]").toString();
    *   List permissions = new ArrayList<>();
    *   TestIamPermissionsResponse response =
    *       securityCenterClient.testIamPermissions(resource, permissions);
@@ -2607,8 +2603,7 @@ public final TestIamPermissionsResponse testIamPermissions(
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   TestIamPermissionsResponse response = securityCenterClient.testIamPermissions(request);
@@ -2632,8 +2627,7 @@ public final TestIamPermissionsResponse testIamPermissions(TestIamPermissionsReq
    * try (SecurityCenterClient securityCenterClient = SecurityCenterClient.create()) {
    *   TestIamPermissionsRequest request =
    *       TestIamPermissionsRequest.newBuilder()
-   *           .setResource(
-   *               AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]").toString())
+   *           .setResource(FolderName.of("[FOLDER]").toString())
    *           .addAllPermissions(new ArrayList())
    *           .build();
    *   ApiFuture future =
diff --git a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
index d16606d38..4a37f8d2c 100644
--- a/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
+++ b/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1p1beta1/stub/SecurityCenterStubSettings.java
@@ -706,7 +706,9 @@ public static List getDefaultServiceScopes() {
 
   /** Returns a builder for the default credentials for this service. */
   public static GoogleCredentialsProvider.Builder defaultCredentialsProviderBuilder() {
-    return GoogleCredentialsProvider.newBuilder().setScopesToApply(DEFAULT_SERVICE_SCOPES);
+    return GoogleCredentialsProvider.newBuilder()
+        .setScopesToApply(DEFAULT_SERVICE_SCOPES)
+        .setUseJwtAccessWithScope(true);
   }
 
   /** Returns a builder for the default ChannelProvider for this service. */
diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java b/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java
index 3dbfab47c..3cfba6d00 100644
--- a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java
+++ b/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterClientTest.java
@@ -688,7 +688,7 @@ public void getIamPolicyTest() throws Exception {
             .build();
     mockSecurityCenter.addResponse(expectedResponse);
 
-    ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+    ResourceName resource = ProjectName.of("[PROJECT]");
 
     Policy actualResponse = client.getIamPolicy(resource);
     Assert.assertEquals(expectedResponse, actualResponse);
@@ -710,7 +710,7 @@ public void getIamPolicyExceptionTest() throws Exception {
     mockSecurityCenter.addException(exception);
 
     try {
-      ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+      ResourceName resource = ProjectName.of("[PROJECT]");
       client.getIamPolicy(resource);
       Assert.fail("No exception raised");
     } catch (InvalidArgumentException e) {
@@ -1926,7 +1926,7 @@ public void setIamPolicyTest() throws Exception {
             .build();
     mockSecurityCenter.addResponse(expectedResponse);
 
-    ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+    ResourceName resource = ProjectName.of("[PROJECT]");
     Policy policy = Policy.newBuilder().build();
 
     Policy actualResponse = client.setIamPolicy(resource, policy);
@@ -1950,7 +1950,7 @@ public void setIamPolicyExceptionTest() throws Exception {
     mockSecurityCenter.addException(exception);
 
     try {
-      ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+      ResourceName resource = ProjectName.of("[PROJECT]");
       Policy policy = Policy.newBuilder().build();
       client.setIamPolicy(resource, policy);
       Assert.fail("No exception raised");
@@ -2008,7 +2008,7 @@ public void testIamPermissionsTest() throws Exception {
         TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build();
     mockSecurityCenter.addResponse(expectedResponse);
 
-    ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+    ResourceName resource = ProjectName.of("[PROJECT]");
     List permissions = new ArrayList<>();
 
     TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions);
@@ -2032,7 +2032,7 @@ public void testIamPermissionsExceptionTest() throws Exception {
     mockSecurityCenter.addException(exception);
 
     try {
-      ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]");
+      ResourceName resource = ProjectName.of("[PROJECT]");
       List permissions = new ArrayList<>();
       client.testIamPermissions(resource, permissions);
       Assert.fail("No exception raised");

From b19ee1903460be4729116321adba5396780f1df8 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Wed, 25 Aug 2021 23:24:50 +0000
Subject: [PATCH 03/14] chore: enable release-trigger bot (#1192) (#614)

---
 .github/.OwlBot.lock.yaml   | 2 +-
 .github/release-trigger.yml | 1 +
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 100644 .github/release-trigger.yml

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 1830d09a2..34f691d32 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
 docker:
   image: gcr.io/repo-automation-bots/owlbot-java:latest
-  digest: sha256:8e27e5a7297b40eca3ab46ae67f10c575813a85c673839030aa161d0818f3a24
+  digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32
diff --git a/.github/release-trigger.yml b/.github/release-trigger.yml
new file mode 100644
index 000000000..d4ca94189
--- /dev/null
+++ b/.github/release-trigger.yml
@@ -0,0 +1 @@
+enabled: true

From 95dc4aac93d2402f4f6b5f6919dcfcbee11197fa Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Fri, 27 Aug 2021 17:01:24 +0200
Subject: [PATCH 04/14] chore(deps): update dependency
 com.google.cloud:libraries-bom to v22 (#617)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:libraries-bom](https://togithub.com/GoogleCloudPlatform/cloud-opensource-java) | `21.0.0` -> `22.0.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/compatibility-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:libraries-bom/22.0.0/confidence-slim/21.0.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Configuration

📅 **Schedule**: At any time (no schedule defined).

🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied.

â™» **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found.

🔕 **Ignore**: Close this PR and you won't be reminded about this update again.

---

 - [ ] If you want to rebase/retry this PR, check this box.

---

This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter).
---
 README.md                | 4 ++--
 samples/snippets/pom.xml | 2 +-
 2 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/README.md b/README.md
index 5b87ffe3b..1618af669 100644
--- a/README.md
+++ b/README.md
@@ -19,7 +19,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file
     
       com.google.cloud
       libraries-bom
-      21.0.0
+      22.0.0
       pom
       import
     
@@ -54,7 +54,7 @@ If you are using Maven without BOM, add this to your dependencies:
 If you are using Gradle 5.x or later, add this to your dependencies
 
 ```Groovy
-implementation platform('com.google.cloud:libraries-bom:21.0.0')
+implementation platform('com.google.cloud:libraries-bom:22.0.0')
 
 compile 'com.google.cloud:google-cloud-securitycenter'
 ```
diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml
index 7906065b6..15fd3381b 100644
--- a/samples/snippets/pom.xml
+++ b/samples/snippets/pom.xml
@@ -30,7 +30,7 @@
       
         com.google.cloud
         libraries-bom
-        21.0.0
+        22.0.0
         pom
         import
       

From 16f63dfc93e36599d0c02eefad38d153c3b2315d Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Mon, 30 Aug 2021 19:16:28 +0000
Subject: [PATCH 05/14] feat: Remove use of deprecated gradle command in java
 README (#1196) (#618)

---
 .github/.OwlBot.lock.yaml |  2 +-
 .github/workflows/ci.yaml | 13 -------------
 README.md                 |  4 ++--
 3 files changed, 3 insertions(+), 16 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 34f691d32..33207c57c 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
 docker:
   image: gcr.io/repo-automation-bots/owlbot-java:latest
-  digest: sha256:677e79291a12251a7c7e9c24db87f50ae0428bbb79c2bebc50e4fc5e9ed1ee32
+  digest: sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928
diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml
index 65ae6ecdd..d510359d9 100644
--- a/.github/workflows/ci.yaml
+++ b/.github/workflows/ci.yaml
@@ -42,19 +42,6 @@ jobs:
         java-version: ${{matrix.java}}
     - run: java -version
     - run: .kokoro/dependencies.sh
-  linkage-monitor:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v2
-    - uses: actions/setup-java@v1
-      with:
-        java-version: 8
-    - run: java -version
-    - name: Install artifacts to local Maven repository
-      run: .kokoro/build.sh
-      shell: bash
-    - name: Validate any conflicts with regard to com.google.cloud:libraries-bom (latest release)
-      uses: GoogleCloudPlatform/cloud-opensource-java/linkage-monitor@v1-linkagemonitor
   lint:
     runs-on: ubuntu-latest
     steps:
diff --git a/README.md b/README.md
index 1618af669..fb3cbd96f 100644
--- a/README.md
+++ b/README.md
@@ -56,12 +56,12 @@ If you are using Gradle 5.x or later, add this to your dependencies
 ```Groovy
 implementation platform('com.google.cloud:libraries-bom:22.0.0')
 
-compile 'com.google.cloud:google-cloud-securitycenter'
+implementation 'com.google.cloud:google-cloud-securitycenter'
 ```
 If you are using Gradle without BOM, add this to your dependencies
 
 ```Groovy
-compile 'com.google.cloud:google-cloud-securitycenter:2.0.2'
+implementation 'com.google.cloud:google-cloud-securitycenter:2.0.2'
 ```
 
 If you are using SBT, add this to your dependencies

From dbff9db1fe3957c3a56fe83e011469dfd7b08ebf Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Tue, 31 Aug 2021 22:02:33 +0000
Subject: [PATCH 06/14] build(java): update renovate config to mark conformance
 tests as a test commit type (#1199) (#619)

---
 .github/.OwlBot.lock.yaml | 2 +-
 renovate.json             | 3 ++-
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/.github/.OwlBot.lock.yaml b/.github/.OwlBot.lock.yaml
index 33207c57c..fb70e14d4 100644
--- a/.github/.OwlBot.lock.yaml
+++ b/.github/.OwlBot.lock.yaml
@@ -1,3 +1,3 @@
 docker:
   image: gcr.io/repo-automation-bots/owlbot-java:latest
-  digest: sha256:8a486672c9a4ae5e7d55b9ac252ce1741582b8c2ceeda40efa32376325809928
+  digest: sha256:2595f321d9a9acf34c2d02e4dc5ec214ce07eecdb43978382d8a88476dec0c16
diff --git a/renovate.json b/renovate.json
index ab3481d3f..7b5c01ba6 100644
--- a/renovate.json
+++ b/renovate.json
@@ -50,7 +50,8 @@
         "^junit:junit",
         "^com.google.truth:truth",
         "^org.mockito:mockito-core",
-        "^org.objenesis:objenesis"
+        "^org.objenesis:objenesis",
+        "^com.google.cloud:google-cloud-conformance-tests"
       ],
       "semanticCommitType": "test",
       "semanticCommitScope": "deps"

From 1a720e4e0aacda802094b9025a0b34ca7b2f6051 Mon Sep 17 00:00:00 2001
From: WhiteSource Renovate 
Date: Wed, 1 Sep 2021 00:08:42 +0200
Subject: [PATCH 07/14] chore(deps): update dependency
 com.google.cloud:google-cloud-securitycenter to v2.0.1 (#603)
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

[![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com)

This PR contains the following updates:

| Package | Change | Age | Adoption | Passing | Confidence |
|---|---|---|---|---|---|
| [com.google.cloud:google-cloud-securitycenter](https://togithub.com/googleapis/java-securitycenter) | `2.0.0` -> `2.0.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-securitycenter/2.0.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-securitycenter/2.0.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-securitycenter/2.0.1/compatibility-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-securitycenter/2.0.1/confidence-slim/2.0.0)](https://docs.renovatebot.com/merge-confidence/) |

---

### Release Notes

googleapis/java-securitycenter ### [`v2.0.1`](https://togithub.com/googleapis/java-securitycenter/blob/master/CHANGELOG.md#​201-httpswwwgithubcomgoogleapisjava-securitycentercomparev200v201-2021-08-12) [Compare Source](https://togithub.com/googleapis/java-securitycenter/compare/v2.0.0...v2.0.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter). --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index fb3cbd96f..45c2cada1 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.0.0 + 2.0.1 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 07ce281fd..8e6ce409f 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-securitycenter - 2.0.0 + 2.0.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 2be7d61de..14bbe72ea 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-securitycenter - 2.0.0 + 2.0.1 From f702dc08daab477f879b7cf786f4fda519c774e0 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Sep 2021 01:31:32 +0200 Subject: [PATCH 08/14] chore(deps): update dependency com.google.cloud:google-cloud-securitycenter to v2.0.2 (#621) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore(deps): update dependency com.google.cloud:google-cloud-securitycenter to v2.0.2 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- README.md | 2 +- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 45c2cada1..618591905 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 2.0.1 + 2.0.2 ``` diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 8e6ce409f..890e07ee7 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -29,7 +29,7 @@ com.google.cloud google-cloud-securitycenter - 2.0.1 + 2.0.2 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 14bbe72ea..a8ee11006 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-securitycenter - 2.0.1 + 2.0.2 From 31419536b9718a86849a2ba7578b6487ae437bd9 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Sep 2021 01:36:32 +0200 Subject: [PATCH 09/14] deps: update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 (#620) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-shared-dependencies](https://togithub.com/googleapis/java-shared-dependencies) | `2.1.0` -> `2.2.0` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/compatibility-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-shared-dependencies/2.2.0/confidence-slim/2.1.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-shared-dependencies ### [`v2.2.0`](https://togithub.com/googleapis/java-shared-dependencies/blob/master/CHANGELOG.md#​220-httpswwwgithubcomgoogleapisjava-shared-dependenciescompare210v220-2021-08-31) [Compare Source](https://togithub.com/googleapis/java-shared-dependencies/compare/v2.1.0...v2.2.0) ##### Dependencies - update dependency com.fasterxml.jackson:jackson-bom to v2.12.5 ([#​456](https://www.togithub.com/googleapis/java-shared-dependencies/issues/456)) ([05b58e8](https://www.github.com/googleapis/java-shared-dependencies/commit/05b58e84ff6617bdcbb1ea644aa6e061bdea0319)) - update dependency com.google.api:api-common to v2.0.2 ([#​450](https://www.togithub.com/googleapis/java-shared-dependencies/issues/450)) ([51caebe](https://www.github.com/googleapis/java-shared-dependencies/commit/51caebe89bfade98866f63952bf82bc663a0179a)) - update dependency com.google.http-client:google-http-client-bom to v1.40.0 ([#​455](https://www.togithub.com/googleapis/java-shared-dependencies/issues/455)) ([82a5e42](https://www.github.com/googleapis/java-shared-dependencies/commit/82a5e42b06570a2c7c9d53b03161b110a44487a1)) - update dependency com.google.oauth-client:google-oauth-client-bom to v1.32.1 ([#​447](https://www.togithub.com/googleapis/java-shared-dependencies/issues/447)) ([9d2b895](https://www.github.com/googleapis/java-shared-dependencies/commit/9d2b8958f62daa6a3015a8ac052762fb3d79b35b)) - update dependency io.grpc:grpc-bom to v1.40.1 ([#​451](https://www.togithub.com/googleapis/java-shared-dependencies/issues/451)) ([df668ea](https://www.github.com/googleapis/java-shared-dependencies/commit/df668ead8830a40acf9d5605d47f93c465b779c0)) - update gax.version to v2.4.0 ([#​458](https://www.togithub.com/googleapis/java-shared-dependencies/issues/458)) ([a797d9e](https://www.github.com/googleapis/java-shared-dependencies/commit/a797d9eb8a4bcb3025a9511eae61271278a4a5c9)) - update google.common-protos.version to v2.5.0 ([#​457](https://www.togithub.com/googleapis/java-shared-dependencies/issues/457)) ([38c7bb9](https://www.github.com/googleapis/java-shared-dependencies/commit/38c7bb925414d90ff3065650d06589f79bcab9b6)) - update google.core.version to v2.1.1 ([#​449](https://www.togithub.com/googleapis/java-shared-dependencies/issues/449)) ([b28723a](https://www.github.com/googleapis/java-shared-dependencies/commit/b28723ace0c27ebc73f23a2d094e0fe9ba8a9075)) - update google.core.version to v2.1.2 ([#​459](https://www.togithub.com/googleapis/java-shared-dependencies/issues/459)) ([df4d5b7](https://www.github.com/googleapis/java-shared-dependencies/commit/df4d5b7717386f5e0e2cca87bd9afc56b2c7aee8)) - update iam.version to v1.1.0 ([#​448](https://www.togithub.com/googleapis/java-shared-dependencies/issues/448)) ([3967928](https://www.github.com/googleapis/java-shared-dependencies/commit/39679287f3ef8c1cbca5dfc8aca3f69cfee3d4a6))
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter). --- pom.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pom.xml b/pom.xml index 5616c8115..c4ab2528f 100644 --- a/pom.xml +++ b/pom.xml @@ -97,7 +97,7 @@ com.google.cloud google-cloud-shared-dependencies - 2.1.0 + 2.2.0 pom import From 8fc790b3ca2a6f0952c08d7578927fa7a8b51227 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Sep 2021 01:38:30 +0200 Subject: [PATCH 10/14] deps: update dependency com.google.cloud:google-cloud-pubsub to v1.114.1 (#611) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.114.0` -> `1.114.1` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.1/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.1/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.1/compatibility-slim/1.114.0)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.1/confidence-slim/1.114.0)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-pubsub ### [`v1.114.1`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#​11141-httpswwwgithubcomgoogleapisjava-pubsubcomparev11140v11141-2021-08-23) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.114.0...v1.114.1)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Renovate will not automatically rebase this PR, because other commits have been found. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index 890e07ee7..dc9c41baa 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-pubsub - 1.114.0 + 1.114.1 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index a8ee11006..45e0e8e22 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ com.google.cloud google-cloud-pubsub - 1.114.0 + 1.114.1 From dacada43de25debb7b44cc613f2e95f6b79eafa7 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 23:40:31 +0000 Subject: [PATCH 11/14] feat: generate java files for error_reason.proto, bigquery_audit_metadata.proto and localized_text.proto (#616) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 393186792 Source-Link: https://github.com/googleapis/googleapis/commit/9e36f4ec3accbe70c7d11e8242cf5f4e2a1e0957 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1bb34f9bedf6f864d69716ec0cc5b4322bb05e70 --- .../securitycenter/v1/SecurityCenterClientTest.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java b/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java index 91ca84f2a..12311bea4 100644 --- a/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java +++ b/google-cloud-securitycenter/src/test/java/com/google/cloud/securitycenter/v1/SecurityCenterClientTest.java @@ -578,7 +578,7 @@ public void getIamPolicyTest() throws Exception { .build(); mockSecurityCenter.addResponse(expectedResponse); - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); Policy actualResponse = client.getIamPolicy(resource); Assert.assertEquals(expectedResponse, actualResponse); @@ -600,7 +600,7 @@ public void getIamPolicyExceptionTest() throws Exception { mockSecurityCenter.addException(exception); try { - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); client.getIamPolicy(resource); Assert.fail("No exception raised"); } catch (InvalidArgumentException e) { @@ -1689,7 +1689,7 @@ public void setIamPolicyTest() throws Exception { .build(); mockSecurityCenter.addResponse(expectedResponse); - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); Policy policy = Policy.newBuilder().build(); Policy actualResponse = client.setIamPolicy(resource, policy); @@ -1713,7 +1713,7 @@ public void setIamPolicyExceptionTest() throws Exception { mockSecurityCenter.addException(exception); try { - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); Policy policy = Policy.newBuilder().build(); client.setIamPolicy(resource, policy); Assert.fail("No exception raised"); @@ -1771,7 +1771,7 @@ public void testIamPermissionsTest() throws Exception { TestIamPermissionsResponse.newBuilder().addAllPermissions(new ArrayList()).build(); mockSecurityCenter.addResponse(expectedResponse); - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); List permissions = new ArrayList<>(); TestIamPermissionsResponse actualResponse = client.testIamPermissions(resource, permissions); @@ -1795,7 +1795,7 @@ public void testIamPermissionsExceptionTest() throws Exception { mockSecurityCenter.addException(exception); try { - ResourceName resource = AssetName.ofOrganizationAssetName("[ORGANIZATION]", "[ASSET]"); + ResourceName resource = SourceName.ofOrganizationSourceName("[ORGANIZATION]", "[SOURCE]"); List permissions = new ArrayList<>(); client.testIamPermissions(resource, permissions); Assert.fail("No exception raised"); From 85cc9a20f204319a443b549cf14ce100f1304662 Mon Sep 17 00:00:00 2001 From: WhiteSource Renovate Date: Wed, 1 Sep 2021 01:44:35 +0200 Subject: [PATCH 12/14] deps: update dependency com.google.cloud:google-cloud-pubsub to v1.114.2 (#622) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit [![WhiteSource Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Package | Change | Age | Adoption | Passing | Confidence | |---|---|---|---|---|---| | [com.google.cloud:google-cloud-pubsub](https://togithub.com/googleapis/java-pubsub) | `1.114.1` -> `1.114.2` | [![age](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.2/age-slim)](https://docs.renovatebot.com/merge-confidence/) | [![adoption](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.2/adoption-slim)](https://docs.renovatebot.com/merge-confidence/) | [![passing](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.2/compatibility-slim/1.114.1)](https://docs.renovatebot.com/merge-confidence/) | [![confidence](https://badges.renovateapi.com/packages/maven/com.google.cloud:google-cloud-pubsub/1.114.2/confidence-slim/1.114.1)](https://docs.renovatebot.com/merge-confidence/) | --- ### Release Notes
googleapis/java-pubsub ### [`v1.114.2`](https://togithub.com/googleapis/java-pubsub/blob/master/CHANGELOG.md#​11142-httpswwwgithubcomgoogleapisjava-pubsubcomparev11141v11142-2021-08-24) [Compare Source](https://togithub.com/googleapis/java-pubsub/compare/v1.114.1...v1.114.2)
--- ### Configuration 📅 **Schedule**: At any time (no schedule defined). 🚦 **Automerge**: Disabled by config. Please merge this manually once you are satisfied. ♻ **Rebasing**: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox. 🔕 **Ignore**: Close this PR and you won't be reminded about this update again. --- - [ ] If you want to rebase/retry this PR, check this box. --- This PR has been generated by [WhiteSource Renovate](https://renovate.whitesourcesoftware.com). View repository job log [here](https://app.renovatebot.com/dashboard#github/googleapis/java-securitycenter). --- samples/install-without-bom/pom.xml | 2 +- samples/snapshot/pom.xml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index dc9c41baa..f5edf554a 100644 --- a/samples/install-without-bom/pom.xml +++ b/samples/install-without-bom/pom.xml @@ -36,7 +36,7 @@ com.google.cloud google-cloud-pubsub - 1.114.1 + 1.114.2 diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index 45e0e8e22..4e1dc28ca 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -34,7 +34,7 @@ com.google.cloud google-cloud-pubsub - 1.114.1 + 1.114.2 From 5e90636a10959c3aea736094cdb6aa01ac7f1646 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Tue, 31 Aug 2021 17:33:15 -0700 Subject: [PATCH 13/14] chore: release 2.0.3-SNAPSHOT (#610) Co-authored-by: release-please[bot] <55107282+release-please[bot]@users.noreply.github.com> --- google-cloud-securitycenter-bom/pom.xml | 16 ++++++++-------- google-cloud-securitycenter/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1beta1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-securitycenter-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 14 +++++++------- 10 files changed, 37 insertions(+), 37 deletions(-) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index fe81e4457..ca2bfbb83 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 2.0.2 + 2.0.3-SNAPSHOT pom com.google.cloud @@ -53,37 +53,37 @@ com.google.cloud google-cloud-securitycenter - 2.0.2 + 2.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index a36c122c7..a2975444f 100644 --- a/google-cloud-securitycenter/pom.xml +++ b/google-cloud-securitycenter/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter - 2.0.2 + 2.0.3-SNAPSHOT jar Google Cloud Security Command Center https://github.com/googleapis/java-securitycenter @@ -11,7 +11,7 @@ com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT google-cloud-securitycenter diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index 22f417097..cf5d777a1 100644 --- a/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 44f1feefc..8d043e329 100644 --- a/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 0bd46d545..0164faf2d 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/pom.xml b/pom.xml index c4ab2528f..6358e1803 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 2.0.2 + 2.0.3-SNAPSHOT Google Cloud Security Command Center Parent https://github.com/googleapis/java-securitycenter @@ -61,37 +61,37 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT com.google.cloud google-cloud-securitycenter - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index 4a7e88c03..d6b1a6e98 100644 --- a/proto-google-cloud-securitycenter-v1/pom.xml +++ b/proto-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.2 + 2.0.3-SNAPSHOT proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index 02fe959b5..4aed8fe01 100644 --- a/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.2 + 0.95.3-SNAPSHOT proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index 2c414919e..c91e86399 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.2 + 0.95.3-SNAPSHOT proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.2 + 2.0.3-SNAPSHOT diff --git a/versions.txt b/versions.txt index b11d17e4c..48c395d50 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-securitycenter:2.0.2:2.0.2 -grpc-google-cloud-securitycenter-v1:2.0.2:2.0.2 -grpc-google-cloud-securitycenter-v1beta1:0.95.2:0.95.2 -grpc-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.2 -proto-google-cloud-securitycenter-v1:2.0.2:2.0.2 -proto-google-cloud-securitycenter-v1beta1:0.95.2:0.95.2 -proto-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.2 +google-cloud-securitycenter:2.0.2:2.0.3-SNAPSHOT +grpc-google-cloud-securitycenter-v1:2.0.2:2.0.3-SNAPSHOT +grpc-google-cloud-securitycenter-v1beta1:0.95.2:0.95.3-SNAPSHOT +grpc-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.3-SNAPSHOT +proto-google-cloud-securitycenter-v1:2.0.2:2.0.3-SNAPSHOT +proto-google-cloud-securitycenter-v1beta1:0.95.2:0.95.3-SNAPSHOT +proto-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.3-SNAPSHOT From 9b80cb4e3a5eb8f86f9fd5f7a671c1721bc32649 Mon Sep 17 00:00:00 2001 From: "release-please[bot]" <55107282+release-please[bot]@users.noreply.github.com> Date: Wed, 1 Sep 2021 19:08:27 +0000 Subject: [PATCH 14/14] chore: release 2.1.0 (#623) :robot: I have created a release \*beep\* \*boop\* --- ## [2.1.0](https://www.github.com/googleapis/java-securitycenter/compare/v2.0.2...v2.1.0) (2021-09-01) ### Features * generate java files for error_reason.proto, bigquery_audit_metadata.proto and localized_text.proto ([#616](https://www.github.com/googleapis/java-securitycenter/issues/616)) ([dacada4](https://www.github.com/googleapis/java-securitycenter/commit/dacada43de25debb7b44cc613f2e95f6b79eafa7)) * Remove use of deprecated gradle command in java README ([#1196](https://www.github.com/googleapis/java-securitycenter/issues/1196)) ([#618](https://www.github.com/googleapis/java-securitycenter/issues/618)) ([16f63df](https://www.github.com/googleapis/java-securitycenter/commit/16f63dfc93e36599d0c02eefad38d153c3b2315d)) ### Dependencies * update dependency com.google.cloud:google-cloud-pubsub to v1.114.1 ([#611](https://www.github.com/googleapis/java-securitycenter/issues/611)) ([8fc790b](https://www.github.com/googleapis/java-securitycenter/commit/8fc790b3ca2a6f0952c08d7578927fa7a8b51227)) * update dependency com.google.cloud:google-cloud-pubsub to v1.114.2 ([#622](https://www.github.com/googleapis/java-securitycenter/issues/622)) ([85cc9a2](https://www.github.com/googleapis/java-securitycenter/commit/85cc9a20f204319a443b549cf14ce100f1304662)) * update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#620](https://www.github.com/googleapis/java-securitycenter/issues/620)) ([3141953](https://www.github.com/googleapis/java-securitycenter/commit/31419536b9718a86849a2ba7578b6487ae437bd9)) --- This PR was generated with [Release Please](https://github.com/googleapis/release-please). See [documentation](https://github.com/googleapis/release-please#release-please). --- CHANGELOG.md | 15 +++++++++++++++ google-cloud-securitycenter-bom/pom.xml | 16 ++++++++-------- google-cloud-securitycenter/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1/pom.xml | 4 ++-- grpc-google-cloud-securitycenter-v1beta1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- pom.xml | 16 ++++++++-------- proto-google-cloud-securitycenter-v1/pom.xml | 4 ++-- .../pom.xml | 4 ++-- .../pom.xml | 4 ++-- versions.txt | 14 +++++++------- 11 files changed, 52 insertions(+), 37 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 41eb5bf6c..2888d07b3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## [2.1.0](https://www.github.com/googleapis/java-securitycenter/compare/v2.0.2...v2.1.0) (2021-09-01) + + +### Features + +* generate java files for error_reason.proto, bigquery_audit_metadata.proto and localized_text.proto ([#616](https://www.github.com/googleapis/java-securitycenter/issues/616)) ([dacada4](https://www.github.com/googleapis/java-securitycenter/commit/dacada43de25debb7b44cc613f2e95f6b79eafa7)) +* Remove use of deprecated gradle command in java README ([#1196](https://www.github.com/googleapis/java-securitycenter/issues/1196)) ([#618](https://www.github.com/googleapis/java-securitycenter/issues/618)) ([16f63df](https://www.github.com/googleapis/java-securitycenter/commit/16f63dfc93e36599d0c02eefad38d153c3b2315d)) + + +### Dependencies + +* update dependency com.google.cloud:google-cloud-pubsub to v1.114.1 ([#611](https://www.github.com/googleapis/java-securitycenter/issues/611)) ([8fc790b](https://www.github.com/googleapis/java-securitycenter/commit/8fc790b3ca2a6f0952c08d7578927fa7a8b51227)) +* update dependency com.google.cloud:google-cloud-pubsub to v1.114.2 ([#622](https://www.github.com/googleapis/java-securitycenter/issues/622)) ([85cc9a2](https://www.github.com/googleapis/java-securitycenter/commit/85cc9a20f204319a443b549cf14ce100f1304662)) +* update dependency com.google.cloud:google-cloud-shared-dependencies to v2.2.0 ([#620](https://www.github.com/googleapis/java-securitycenter/issues/620)) ([3141953](https://www.github.com/googleapis/java-securitycenter/commit/31419536b9718a86849a2ba7578b6487ae437bd9)) + ### [2.0.2](https://www.github.com/googleapis/java-securitycenter/compare/v2.0.1...v2.0.2) (2021-08-23) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index ca2bfbb83..f62c150a4 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 2.0.3-SNAPSHOT + 2.1.0 pom com.google.cloud @@ -53,37 +53,37 @@ com.google.cloud google-cloud-securitycenter - 2.0.3-SNAPSHOT + 2.1.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index a2975444f..35aede34b 100644 --- a/google-cloud-securitycenter/pom.xml +++ b/google-cloud-securitycenter/pom.xml @@ -3,7 +3,7 @@ 4.0.0 com.google.cloud google-cloud-securitycenter - 2.0.3-SNAPSHOT + 2.1.0 jar Google Cloud Security Command Center https://github.com/googleapis/java-securitycenter @@ -11,7 +11,7 @@ com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 google-cloud-securitycenter diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index cf5d777a1..ebc246973 100644 --- a/grpc-google-cloud-securitycenter-v1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 8d043e329..d92f6958b 100644 --- a/grpc-google-cloud-securitycenter-v1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 0164faf2d..5e15a8b70 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/pom.xml b/pom.xml index 6358e1803..82ea3b3fa 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 2.0.3-SNAPSHOT + 2.1.0 Google Cloud Security Command Center Parent https://github.com/googleapis/java-securitycenter @@ -61,37 +61,37 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 com.google.cloud google-cloud-securitycenter - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index d6b1a6e98..ba86ddf75 100644 --- a/proto-google-cloud-securitycenter-v1/pom.xml +++ b/proto-google-cloud-securitycenter-v1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 2.0.3-SNAPSHOT + 2.1.0 proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index 4aed8fe01..eb8b7f6e6 100644 --- a/proto-google-cloud-securitycenter-v1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.95.3-SNAPSHOT + 0.96.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index c91e86399..8607b8e9e 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml +++ b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml @@ -4,13 +4,13 @@ 4.0.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.95.3-SNAPSHOT + 0.96.0 proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 2.0.3-SNAPSHOT + 2.1.0 diff --git a/versions.txt b/versions.txt index 48c395d50..1ebd0942f 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -google-cloud-securitycenter:2.0.2:2.0.3-SNAPSHOT -grpc-google-cloud-securitycenter-v1:2.0.2:2.0.3-SNAPSHOT -grpc-google-cloud-securitycenter-v1beta1:0.95.2:0.95.3-SNAPSHOT -grpc-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.3-SNAPSHOT -proto-google-cloud-securitycenter-v1:2.0.2:2.0.3-SNAPSHOT -proto-google-cloud-securitycenter-v1beta1:0.95.2:0.95.3-SNAPSHOT -proto-google-cloud-securitycenter-v1p1beta1:0.95.2:0.95.3-SNAPSHOT +google-cloud-securitycenter:2.1.0:2.1.0 +grpc-google-cloud-securitycenter-v1:2.1.0:2.1.0 +grpc-google-cloud-securitycenter-v1beta1:0.96.0:0.96.0 +grpc-google-cloud-securitycenter-v1p1beta1:0.96.0:0.96.0 +proto-google-cloud-securitycenter-v1:2.1.0:2.1.0 +proto-google-cloud-securitycenter-v1beta1:0.96.0:0.96.0 +proto-google-cloud-securitycenter-v1p1beta1:0.96.0:0.96.0