diff --git a/.gitignore b/.gitignore index c0af21a6a..83e19de62 100644 --- a/.gitignore +++ b/.gitignore @@ -40,4 +40,6 @@ api_key # Python utilities *.pyc artman-genfiles -venv \ No newline at end of file +venv + +.flattened-pom.xml diff --git a/.kokoro/build.sh b/.kokoro/build.sh index 756508737..4d7a6f1c2 100755 --- a/.kokoro/build.sh +++ b/.kokoro/build.sh @@ -39,7 +39,7 @@ retry_with_backoff 3 10 \ # if GOOGLE_APPLICATION_CREDIENTIALS is specified as a relative path prepend Kokoro root directory onto it if [[ ! -z "${GOOGLE_APPLICATION_CREDENTIALS}" && "${GOOGLE_APPLICATION_CREDENTIALS}" != /* ]]; then - export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_ROOT}/src/${GOOGLE_APPLICATION_CREDENTIALS}) + export GOOGLE_APPLICATION_CREDENTIALS=$(realpath ${KOKORO_GFILE_DIR}/${GOOGLE_APPLICATION_CREDENTIALS}) fi RETURN_CODE=0 diff --git a/.kokoro/nightly/integration.cfg b/.kokoro/nightly/integration.cfg index 40c4abb7b..0048c8ece 100644 --- a/.kokoro/nightly/integration.cfg +++ b/.kokoro/nightly/integration.cfg @@ -28,14 +28,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/nightly/samples.cfg b/.kokoro/nightly/samples.cfg index 20aabd55d..f25429314 100644 --- a/.kokoro/nightly/samples.cfg +++ b/.kokoro/nightly/samples.cfg @@ -24,19 +24,15 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } env_vars: { - key: "ENABLE_BUILD_COP" - value: "true" + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "ENABLE_BUILD_COP" + value: "true" } diff --git a/.kokoro/populate-secrets.sh b/.kokoro/populate-secrets.sh new file mode 100755 index 000000000..f52514257 --- /dev/null +++ b/.kokoro/populate-secrets.sh @@ -0,0 +1,43 @@ +#!/bin/bash +# Copyright 2020 Google LLC. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. + +set -eo pipefail + +function now { date +"%Y-%m-%d %H:%M:%S" | tr -d '\n' ;} +function msg { println "$*" >&2 ;} +function println { printf '%s\n' "$(now) $*" ;} + + +# Populates requested secrets set in SECRET_MANAGER_KEYS from service account: +# kokoro-trampoline@cloud-devrel-kokoro-resources.iam.gserviceaccount.com +SECRET_LOCATION="${KOKORO_GFILE_DIR}/secret_manager" +msg "Creating folder on disk for secrets: ${SECRET_LOCATION}" +mkdir -p ${SECRET_LOCATION} +for key in $(echo ${SECRET_MANAGER_KEYS} | sed "s/,/ /g") +do + msg "Retrieving secret ${key}" + docker run --entrypoint=gcloud \ + --volume=${KOKORO_GFILE_DIR}:${KOKORO_GFILE_DIR} \ + gcr.io/google.com/cloudsdktool/cloud-sdk \ + secrets versions access latest \ + --project cloud-devrel-kokoro-resources \ + --secret ${key} > \ + "${SECRET_LOCATION}/${key}" + if [[ $? == 0 ]]; then + msg "Secret written to ${SECRET_LOCATION}/${key}" + else + msg "Error retrieving secret ${key}" + fi +done diff --git a/.kokoro/presubmit/integration.cfg b/.kokoro/presubmit/integration.cfg index 522e5b101..dded67a9d 100644 --- a/.kokoro/presubmit/integration.cfg +++ b/.kokoro/presubmit/integration.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-it-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-it-service-account" } diff --git a/.kokoro/presubmit/samples.cfg b/.kokoro/presubmit/samples.cfg index 1171aead0..01e096004 100644 --- a/.kokoro/presubmit/samples.cfg +++ b/.kokoro/presubmit/samples.cfg @@ -24,14 +24,10 @@ env_vars: { env_vars: { key: "GOOGLE_APPLICATION_CREDENTIALS" - value: "keystore/73713_java_it_service_account" + value: "secret_manager/java-docs-samples-service-account" } -before_action { - fetch_keystore { - keystore_resource { - keystore_config_id: 73713 - keyname: "java_it_service_account" - } - } -} +env_vars: { + key: "SECRET_MANAGER_KEYS" + value: "java-docs-samples-service-account" +} \ No newline at end of file diff --git a/.kokoro/trampoline.sh b/.kokoro/trampoline.sh index ba17ce014..9da0f8398 100644 --- a/.kokoro/trampoline.sh +++ b/.kokoro/trampoline.sh @@ -21,4 +21,6 @@ function cleanup() { echo "cleanup"; } trap cleanup EXIT + +$(dirname $0)/populate-secrets.sh # Secret Manager secrets. python3 "${KOKORO_GFILE_DIR}/trampoline_v1.py" diff --git a/CHANGELOG.md b/CHANGELOG.md index ed5ebcb78..4b144c802 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # Changelog +## [1.1.0](https://www.github.com/googleapis/java-securitycenter/compare/v1.0.0...v1.1.0) (2020-06-22) + + +### Features + +* **deps:** adopt flatten plugin and google-cloud-shared-dependencies ([#181](https://www.github.com/googleapis/java-securitycenter/issues/181)) ([f11d67b](https://www.github.com/googleapis/java-securitycenter/commit/f11d67bc730214d3170929e4e8872ea23ab8099f)) + + +### Documentation + +* specify allowed fields for UpdateNotificationConfig ([#174](https://www.github.com/googleapis/java-securitycenter/issues/174)) ([2bdf201](https://www.github.com/googleapis/java-securitycenter/commit/2bdf20193d74f4d33e7519f12afe027cc23e4647)) + ## [1.0.0](https://www.github.com/googleapis/java-securitycenter/compare/v0.122.0...v1.0.0) (2020-06-12) diff --git a/README.md b/README.md index d18b00ccf..d64767186 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file com.google.cloud libraries-bom - 5.7.0 + 7.0.0 pom import @@ -38,7 +38,7 @@ If you are using Maven without BOM, add this to your dependencies: com.google.cloud google-cloud-securitycenter - 0.122.0 + 1.0.0 ``` @@ -47,11 +47,11 @@ If you are using Maven without BOM, add this to your dependencies: If you are using Gradle, add this to your dependencies ```Groovy -compile 'com.google.cloud:google-cloud-securitycenter:1.0.0' +compile 'com.google.cloud:google-cloud-securitycenter:1.1.0' ``` If you are using SBT, add this to your dependencies ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "1.0.0" +libraryDependencies += "com.google.cloud" % "google-cloud-securitycenter" % "1.1.0" ``` [//]: # ({x-version-update-end}) diff --git a/google-cloud-securitycenter-bom/pom.xml b/google-cloud-securitycenter-bom/pom.xml index f97a959cf..60697cd3e 100644 --- a/google-cloud-securitycenter-bom/pom.xml +++ b/google-cloud-securitycenter-bom/pom.xml @@ -3,12 +3,12 @@ 4.0.0 com.google.cloud google-cloud-securitycenter-bom - 1.0.0 + 1.1.0 pom com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 Google Cloud Security Command Center BOM @@ -64,37 +64,37 @@ com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.0 + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.0 + 1.1.0 com.google.cloud google-cloud-securitycenter - 1.0.0 + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.89.0 diff --git a/google-cloud-securitycenter/pom.xml b/google-cloud-securitycenter/pom.xml index 42616d5c2..4fe77f5d8 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 - 1.0.0 + 1.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 - 1.0.0 + 1.1.0 google-cloud-securitycenter @@ -120,4 +120,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file 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 23a48814a..2cfbf9734 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 @@ -2302,7 +2302,8 @@ public final UnaryCallable updateFindingCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2326,7 +2327,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2355,7 +2357,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2379,7 +2382,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * 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 e3f558dc7..7f3c78952 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 @@ -2443,7 +2443,8 @@ public final UnaryCallable updateFindingCallable( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2467,7 +2468,8 @@ public final NotificationConfig updateNotificationConfig(NotificationConfig noti // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2496,7 +2498,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * @@ -2520,7 +2523,8 @@ public final NotificationConfig updateNotificationConfig( // AUTO-GENERATED DOCUMENTATION AND METHOD /** - * Updates a notification config. + * Updates a notification config. The following update fields are allowed: description, + * pubsub_topic, streaming_config.filter * *

Sample code: * diff --git a/grpc-google-cloud-securitycenter-v1/pom.xml b/grpc-google-cloud-securitycenter-v1/pom.xml index 3184fee2c..08fc657de 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 - 1.0.0 + 1.1.0 grpc-google-cloud-securitycenter-v1 GRPC library for grpc-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -61,4 +61,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java index f7b15f469..de538e958 100644 --- a/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java +++ b/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java @@ -1443,7 +1443,8 @@ public void updateFinding( * * *

-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -1998,7 +1999,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2331,7 +2333,8 @@ public com.google.cloud.securitycenter.v1.Finding updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.cloud.securitycenter.v1.NotificationConfig updateNotificationConfig( @@ -2680,7 +2683,8 @@ protected SecurityCenterFutureStub build( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/grpc-google-cloud-securitycenter-v1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1beta1/pom.xml index 8e41ceaf5..5844dc64b 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.88.0 + 0.89.0 grpc-google-cloud-securitycenter-v1beta1 GRPC library for grpc-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -61,4 +61,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml b/grpc-google-cloud-securitycenter-v1p1beta1/pom.xml index 493732d04..65aa7e689 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.88.0 + 0.89.0 grpc-google-cloud-securitycenter-v1p1beta1 GRPC library for grpc-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -61,4 +61,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java b/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java index 76d9c151a..34b9d30e4 100644 --- a/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java +++ b/grpc-google-cloud-securitycenter-v1p1beta1/src/main/java/com/google/cloud/securitycenter/v1p1beta1/SecurityCenterGrpc.java @@ -1456,7 +1456,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2021,7 +2022,8 @@ public void updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public void updateNotificationConfig( @@ -2355,7 +2357,8 @@ public com.google.cloud.securitycenter.v1p1beta1.Finding updateFinding( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.cloud.securitycenter.v1p1beta1.NotificationConfig updateNotificationConfig( @@ -2706,7 +2709,8 @@ protected SecurityCenterFutureStub build( * * *
-     * Updates a notification config.
+     * Updates a notification config. The following update
+     * fields are allowed: description, pubsub_topic, streaming_config.filter
      * 
*/ public com.google.common.util.concurrent.ListenableFuture< diff --git a/pom.xml b/pom.xml index 772be0179..79e07e6c9 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ com.google.cloud google-cloud-securitycenter-parent pom - 1.0.0 + 1.1.0 Google Cloud Security Command Center Parent https://github.com/googleapis/java-securitycenter @@ -14,7 +14,7 @@ com.google.cloud google-cloud-shared-config - 0.8.0 + 0.8.1 @@ -63,18 +63,6 @@ UTF-8 github google-cloud-securitycenter-parent - 1.91.1 - 1.9.2 - 1.18.0 - 1.57.0 - 1.30.0 - 3.12.2 - 4.13 - 29.0-android - 1.4.4 - 1.3.2 - 1.18 - 0.13.0
@@ -82,109 +70,51 @@ com.google.api.grpc proto-google-cloud-securitycenter-v1 - 1.0.0 + 1.1.0 com.google.api.grpc proto-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc proto-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1 - 1.0.0 + 1.1.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1beta1 - 0.88.0 + 0.89.0 com.google.api.grpc grpc-google-cloud-securitycenter-v1p1beta1 - 0.88.0 + 0.89.0 com.google.cloud google-cloud-securitycenter - 1.0.0 + 1.1.0 - io.grpc - grpc-bom - ${grpc.version} - pom - import - - - com.google.api - gax-bom - ${gax.version} - pom - import - - - com.google.guava - guava-bom - ${guava.version} + com.google.cloud + google-cloud-shared-dependencies + 0.8.1 pom import - - com.google.protobuf - protobuf-java - ${protobuf.version} - - - com.google.api - api-common - ${google.api-common.version} - - - com.google.api.grpc - proto-google-common-protos - ${google.common-protos.version} - - - org.threeten - threetenbp - ${threeten.version} - - - javax.annotation - javax.annotation-api - ${javax.annotations.version} - - - org.codehaus.mojo - animal-sniffer-annotations - ${animal-sniffer.version} - - - com.google.api.grpc - proto-google-iam-v1 - ${google.proto-iam.version} - - - junit junit - ${junit.version} - test - - - com.google.api - gax-grpc - ${gax.version} - testlib + 4.13 test @@ -278,7 +208,7 @@ https://developers.google.com/protocol-buffers/docs/reference/java/ https://googleapis.dev/java/google-auth-library/latest/ https://googleapis.dev/java/gax/latest/ - https://googleapis.github.io/api-common-java/${google.api-common.version}/apidocs/ + https://googleapis.github.io/api-common-java/ diff --git a/proto-google-cloud-securitycenter-v1/pom.xml b/proto-google-cloud-securitycenter-v1/pom.xml index 9ce39f5e2..be584c07c 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 - 1.0.0 + 1.1.0 proto-google-cloud-securitycenter-v1 PROTO library for proto-google-cloud-securitycenter-v1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto index 9a88e1e85..b660d4674 100644 --- a/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto +++ b/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto @@ -240,8 +240,8 @@ service SecurityCenter { option (google.api.method_signature) = "finding"; } - // - // Updates a notification config. + // Updates a notification config. The following update + // fields are allowed: description, pubsub_topic, streaming_config.filter rpc UpdateNotificationConfig(UpdateNotificationConfigRequest) returns (NotificationConfig) { option (google.api.http) = { diff --git a/proto-google-cloud-securitycenter-v1beta1/pom.xml b/proto-google-cloud-securitycenter-v1beta1/pom.xml index c6f7d1120..2ab99d26b 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.88.0 + 0.89.0 proto-google-cloud-securitycenter-v1beta1 PROTO library for proto-google-cloud-securitycenter-v1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/proto-google-cloud-securitycenter-v1p1beta1/pom.xml b/proto-google-cloud-securitycenter-v1p1beta1/pom.xml index 99a396738..a3288efd0 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.88.0 + 0.89.0 proto-google-cloud-securitycenter-v1p1beta1 PROTO library for proto-google-cloud-securitycenter-v1p1beta1 com.google.cloud google-cloud-securitycenter-parent - 1.0.0 + 1.1.0 @@ -35,4 +35,13 @@ + + + + + org.codehaus.mojo + flatten-maven-plugin + + + \ No newline at end of file diff --git a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto index 7431515bf..c4264a6a2 100644 --- a/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto +++ b/proto-google-cloud-securitycenter-v1p1beta1/src/main/proto/google/cloud/securitycenter/v1p1beta1/securitycenter_service.proto @@ -246,7 +246,8 @@ service SecurityCenter { option (google.api.method_signature) = "finding,update_mask"; } - // Updates a notification config. + // Updates a notification config. The following update + // fields are allowed: description, pubsub_topic, streaming_config.filter rpc UpdateNotificationConfig(UpdateNotificationConfigRequest) returns (NotificationConfig) { option (google.api.http) = { diff --git a/samples/install-without-bom/pom.xml b/samples/install-without-bom/pom.xml index d3317fe04..0e43992ea 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 - 0.122.0 + 1.0.0 @@ -53,7 +53,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source diff --git a/samples/snapshot/pom.xml b/samples/snapshot/pom.xml index c5871e719..0f90cc471 100644 --- a/samples/snapshot/pom.xml +++ b/samples/snapshot/pom.xml @@ -28,7 +28,7 @@ com.google.cloud google-cloud-securitycenter - 0.122.0 + 1.0.0 @@ -52,7 +52,7 @@ org.codehaus.mojo build-helper-maven-plugin - 3.1.0 + 3.2.0 add-snippets-source diff --git a/samples/snippets/pom.xml b/samples/snippets/pom.xml index 610a8f125..b3a0d05fc 100644 --- a/samples/snippets/pom.xml +++ b/samples/snippets/pom.xml @@ -30,7 +30,7 @@ com.google.cloud libraries-bom - 5.7.0 + 7.0.1 pom import diff --git a/synth.metadata b/synth.metadata index 7ac1efcbd..7ad7c8ee1 100644 --- a/synth.metadata +++ b/synth.metadata @@ -4,38 +4,38 @@ "git": { "name": ".", "remote": "https://github.com/googleapis/java-securitycenter.git", - "sha": "8ce6f892400cb4a4fdc5d7f9fcd2b8b7c3a157aa" + "sha": "74aa5b1f5acc1eead3532d51a437b5b64902b3b9" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { "git": { "name": "googleapis", "remote": "https://github.com/googleapis/googleapis.git", - "sha": "b789f790565ad7cc473571b0cf35dfbe6707f6a8", - "internalRef": "315933871" + "sha": "714a5f10f22d932bf4365dfdd57ced2c819e0ade", + "internalRef": "316714521" } }, { "git": { "name": "synthtool", "remote": "https://github.com/googleapis/synthtool.git", - "sha": "987270824bd26f6a8c716d5e2022057b8ae7b26e" + "sha": "c4f3059c27591eb24d6942a0e357ec94c80459f2" } } ], diff --git a/versions.txt b/versions.txt index bf23f3464..ec9091769 100644 --- a/versions.txt +++ b/versions.txt @@ -1,10 +1,10 @@ # Format: # module:released-version:current-version -proto-google-cloud-securitycenter-v1:1.0.0:1.0.0 -proto-google-cloud-securitycenter-v1beta1:0.88.0:0.88.0 -proto-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.0 -grpc-google-cloud-securitycenter-v1:1.0.0:1.0.0 -grpc-google-cloud-securitycenter-v1beta1:0.88.0:0.88.0 -grpc-google-cloud-securitycenter-v1p1beta1:0.88.0:0.88.0 -google-cloud-securitycenter:1.0.0:1.0.0 \ No newline at end of file +proto-google-cloud-securitycenter-v1:1.1.0:1.1.0 +proto-google-cloud-securitycenter-v1beta1:0.89.0:0.89.0 +proto-google-cloud-securitycenter-v1p1beta1:0.89.0:0.89.0 +grpc-google-cloud-securitycenter-v1:1.1.0:1.1.0 +grpc-google-cloud-securitycenter-v1beta1:0.89.0:0.89.0 +grpc-google-cloud-securitycenter-v1p1beta1:0.89.0:0.89.0 +google-cloud-securitycenter:1.1.0:1.1.0 \ No newline at end of file