From 0b25cfaf7f9b668e7aea88a09d3eef49b8a9a7b3 Mon Sep 17 00:00:00 2001
From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com>
Date: Fri, 23 Jun 2023 13:06:14 +0000
Subject: [PATCH] feat: [securitycenter] Mark the Asset APIs as deprecated in
client libraries (#9575)
- [ ] Regenerate this pull request now.
PiperOrigin-RevId: 542687834
Source-Link: https://togithub.com/googleapis/googleapis/commit/a7e10550cbaaa339f081cef973c4af2fea94cdd9
Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/b1e231aa3e597eee952f3940d7743b660c6eaed5
Copy-Tag: eyJwIjoiamF2YS1zZWN1cml0eWNlbnRlci8uT3dsQm90LnlhbWwiLCJoIjoiYjFlMjMxYWEzZTU5N2VlZTk1MmYzOTQwZDc3NDNiNjYwYzZlYWVkNSJ9
---
java-securitycenter/README.md | 2 +-
.../v1/SecurityCenterClient.java | 28 +
.../v1/SecurityCenterSettings.java | 56 +-
.../v1/stub/SecurityCenterStub.java | 6 +
.../v1/stub/SecurityCenterStubSettings.java | 42 +-
.../securitycenter/v1/SecurityCenterGrpc.java | 12 +
.../v1/BulkMuteFindingsRequest.java | 14 +-
.../v1/BulkMuteFindingsRequestOrBuilder.java | 4 +-
.../v1/SecuritycenterService.java | 488 +++++++++---------
.../v1/securitycenter_service.proto | 3 +
10 files changed, 387 insertions(+), 268 deletions(-)
diff --git a/java-securitycenter/README.md b/java-securitycenter/README.md
index 026345663ae9..2cb5760c9d89 100644
--- a/java-securitycenter/README.md
+++ b/java-securitycenter/README.md
@@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file:
com.google.cloud
libraries-bom
- 26.16.0
+ 26.17.0
pom
import
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java
index bd3f9caf474a..0b4854df2113 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterClient.java
@@ -2930,7 +2930,9 @@ public final UnaryCallable getSourceCallable() {
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest request) {
return groupAssetsPagedCallable().call(request);
}
@@ -2966,7 +2968,10 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest request) {
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable
groupAssetsPagedCallable() {
return stub.groupAssetsPagedCallable();
@@ -3009,7 +3014,10 @@ public final GroupAssetsPagedResponse groupAssets(GroupAssetsRequest request) {
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable groupAssetsCallable() {
return stub.groupAssetsCallable();
}
@@ -3290,7 +3298,9 @@ public final UnaryCallable groupFin
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final ListAssetsPagedResponse listAssets(ListAssetsRequest request) {
return listAssetsPagedCallable().call(request);
}
@@ -3327,7 +3337,10 @@ public final ListAssetsPagedResponse listAssets(ListAssetsRequest request) {
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable listAssetsPagedCallable() {
return stub.listAssetsPagedCallable();
}
@@ -3370,7 +3383,10 @@ public final UnaryCallable listAsset
* }
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable listAssetsCallable() {
return stub.listAssetsCallable();
}
@@ -4858,7 +4874,9 @@ public final UnaryCallable listSourcesC
* @param parent Required. Name of the organization to run asset discovery for. Its format is
* "organizations/[organization_id]".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final OperationFuture runAssetDiscoveryAsync(
OrganizationName parent) {
RunAssetDiscoveryRequest request =
@@ -4893,7 +4911,9 @@ public final OperationFuture runAssetDiscovery
* @param parent Required. Name of the organization to run asset discovery for. Its format is
* "organizations/[organization_id]".
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final OperationFuture runAssetDiscoveryAsync(
String parent) {
RunAssetDiscoveryRequest request =
@@ -4928,7 +4948,9 @@ public final OperationFuture runAssetDiscovery
*
* @param request The request object containing all of the parameters for the API call.
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final OperationFuture runAssetDiscoveryAsync(
RunAssetDiscoveryRequest request) {
return runAssetDiscoveryOperationCallable().futureCall(request);
@@ -4960,7 +4982,10 @@ public final OperationFuture runAssetDiscovery
* RunAssetDiscoveryResponse response = future.get();
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final OperationCallable
runAssetDiscoveryOperationCallable() {
return stub.runAssetDiscoveryOperationCallable();
@@ -4992,7 +5017,10 @@ public final OperationFuture runAssetDiscovery
* Operation response = future.get();
* }
* }
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
*/
+ @Deprecated
public final UnaryCallable runAssetDiscoveryCallable() {
return stub.runAssetDiscoveryCallable();
}
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
index fda8408ea027..83c06025b32d 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterSettings.java
@@ -213,7 +213,12 @@ public UnaryCallSettings getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).getSourceSettings();
}
- /** Returns the object with the settings used for calls to groupAssets. */
+ /**
+ * Returns the object with the settings used for calls to groupAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings
groupAssetsSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).groupAssetsSettings();
@@ -225,7 +230,12 @@ public UnaryCallSettings getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).groupFindingsSettings();
}
- /** Returns the object with the settings used for calls to listAssets. */
+ /**
+ * Returns the object with the settings used for calls to listAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings
listAssetsSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).listAssetsSettings();
@@ -298,12 +308,22 @@ public UnaryCallSettings getSourceSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).listSourcesSettings();
}
- /** Returns the object with the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the object with the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public UnaryCallSettings runAssetDiscoverySettings() {
return ((SecurityCenterStubSettings) getStubSettings()).runAssetDiscoverySettings();
}
- /** Returns the object with the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the object with the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public OperationCallSettings
runAssetDiscoveryOperationSettings() {
return ((SecurityCenterStubSettings) getStubSettings()).runAssetDiscoveryOperationSettings();
@@ -637,7 +657,12 @@ public UnaryCallSettings.Builder getSourceSettings() {
return getStubSettingsBuilder().getSourceSettings();
}
- /** Returns the builder for the settings used for calls to groupAssets. */
+ /**
+ * Returns the builder for the settings used for calls to groupAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings.Builder<
GroupAssetsRequest, GroupAssetsResponse, GroupAssetsPagedResponse>
groupAssetsSettings() {
@@ -651,7 +676,12 @@ public UnaryCallSettings.Builder getSourceSettings() {
return getStubSettingsBuilder().groupFindingsSettings();
}
- /** Returns the builder for the settings used for calls to listAssets. */
+ /**
+ * Returns the builder for the settings used for calls to listAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings.Builder
listAssetsSettings() {
return getStubSettingsBuilder().listAssetsSettings();
@@ -723,13 +753,23 @@ public UnaryCallSettings.Builder getSourceSettings() {
return getStubSettingsBuilder().listSourcesSettings();
}
- /** Returns the builder for the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the builder for the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public UnaryCallSettings.Builder
runAssetDiscoverySettings() {
return getStubSettingsBuilder().runAssetDiscoverySettings();
}
- /** Returns the builder for the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the builder for the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public OperationCallSettings.Builder
runAssetDiscoveryOperationSettings() {
return getStubSettingsBuilder().runAssetDiscoveryOperationSettings();
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java
index e46ef250f291..b44d0a837441 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStub.java
@@ -210,10 +210,12 @@ public UnaryCallable getSourceCallable() {
throw new UnsupportedOperationException("Not implemented: getSourceCallable()");
}
+ @Deprecated
public UnaryCallable groupAssetsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: groupAssetsPagedCallable()");
}
+ @Deprecated
public UnaryCallable groupAssetsCallable() {
throw new UnsupportedOperationException("Not implemented: groupAssetsCallable()");
}
@@ -227,10 +229,12 @@ public UnaryCallable groupFindingsC
throw new UnsupportedOperationException("Not implemented: groupFindingsCallable()");
}
+ @Deprecated
public UnaryCallable listAssetsPagedCallable() {
throw new UnsupportedOperationException("Not implemented: listAssetsPagedCallable()");
}
+ @Deprecated
public UnaryCallable listAssetsCallable() {
throw new UnsupportedOperationException("Not implemented: listAssetsCallable()");
}
@@ -319,12 +323,14 @@ public UnaryCallable listSourcesCallabl
throw new UnsupportedOperationException("Not implemented: listSourcesCallable()");
}
+ @Deprecated
public OperationCallable
runAssetDiscoveryOperationCallable() {
throw new UnsupportedOperationException(
"Not implemented: runAssetDiscoveryOperationCallable()");
}
+ @Deprecated
public UnaryCallable runAssetDiscoveryCallable() {
throw new UnsupportedOperationException("Not implemented: runAssetDiscoveryCallable()");
}
diff --git a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
index dd0d9a1fa2fb..fa3e6336280f 100644
--- a/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
+++ b/java-securitycenter/google-cloud-securitycenter/src/main/java/com/google/cloud/securitycenter/v1/stub/SecurityCenterStubSettings.java
@@ -1120,7 +1120,12 @@ public UnaryCallSettings getSourceSettings() {
return getSourceSettings;
}
- /** Returns the object with the settings used for calls to groupAssets. */
+ /**
+ * Returns the object with the settings used for calls to groupAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings
groupAssetsSettings() {
return groupAssetsSettings;
@@ -1132,7 +1137,12 @@ public UnaryCallSettings getSourceSettings() {
return groupFindingsSettings;
}
- /** Returns the object with the settings used for calls to listAssets. */
+ /**
+ * Returns the object with the settings used for calls to listAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings
listAssetsSettings() {
return listAssetsSettings;
@@ -1202,7 +1212,12 @@ public UnaryCallSettings getSourceSettings() {
return listSourcesSettings;
}
- /** Returns the object with the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the object with the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public UnaryCallSettings runAssetDiscoverySettings() {
return runAssetDiscoverySettings;
}
@@ -2312,7 +2327,12 @@ public UnaryCallSettings.Builder getSourceSettings() {
return getSourceSettings;
}
- /** Returns the builder for the settings used for calls to groupAssets. */
+ /**
+ * Returns the builder for the settings used for calls to groupAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings.Builder<
GroupAssetsRequest, GroupAssetsResponse, GroupAssetsPagedResponse>
groupAssetsSettings() {
@@ -2326,7 +2346,12 @@ public UnaryCallSettings.Builder getSourceSettings() {
return groupFindingsSettings;
}
- /** Returns the builder for the settings used for calls to listAssets. */
+ /**
+ * Returns the builder for the settings used for calls to listAssets.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public PagedCallSettings.Builder
listAssetsSettings() {
return listAssetsSettings;
@@ -2398,7 +2423,12 @@ public UnaryCallSettings.Builder getSourceSettings() {
return listSourcesSettings;
}
- /** Returns the builder for the settings used for calls to runAssetDiscovery. */
+ /**
+ * Returns the builder for the settings used for calls to runAssetDiscovery.
+ *
+ * @deprecated This method is deprecated and will be removed in the next major version update.
+ */
+ @Deprecated
public UnaryCallSettings.Builder
runAssetDiscoverySettings() {
return runAssetDiscoverySettings;
diff --git a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java b/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java
index d6d49ad3ad1f..17bec5cdec33 100644
--- a/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java
+++ b/java-securitycenter/grpc-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecurityCenterGrpc.java
@@ -2528,6 +2528,7 @@ default void getSource(
* properties.
*
*/
+ @java.lang.Deprecated
default void groupAssets(
com.google.cloud.securitycenter.v1.GroupAssetsRequest request,
io.grpc.stub.StreamObserver
@@ -2563,6 +2564,7 @@ default void groupFindings(
* Lists an organization's assets.
*
*/
+ @java.lang.Deprecated
default void listAssets(
com.google.cloud.securitycenter.v1.ListAssetsRequest request,
io.grpc.stub.StreamObserver
@@ -2701,6 +2703,7 @@ default void listSources(
* error.
*
*/
+ @java.lang.Deprecated
default void runAssetDiscovery(
com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
@@ -3290,6 +3293,7 @@ public void getSource(
* properties.
*
*/
+ @java.lang.Deprecated
public void groupAssets(
com.google.cloud.securitycenter.v1.GroupAssetsRequest request,
io.grpc.stub.StreamObserver
@@ -3329,6 +3333,7 @@ public void groupFindings(
* Lists an organization's assets.
*
*/
+ @java.lang.Deprecated
public void listAssets(
com.google.cloud.securitycenter.v1.ListAssetsRequest request,
io.grpc.stub.StreamObserver
@@ -3487,6 +3492,7 @@ public void listSources(
* error.
*
*/
+ @java.lang.Deprecated
public void runAssetDiscovery(
com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request,
io.grpc.stub.StreamObserver responseObserver) {
@@ -4048,6 +4054,7 @@ public com.google.cloud.securitycenter.v1.Source getSource(
* properties.
*
*/
+ @java.lang.Deprecated
public com.google.cloud.securitycenter.v1.GroupAssetsResponse groupAssets(
com.google.cloud.securitycenter.v1.GroupAssetsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
@@ -4079,6 +4086,7 @@ public com.google.cloud.securitycenter.v1.GroupFindingsResponse groupFindings(
* Lists an organization's assets.
*
*/
+ @java.lang.Deprecated
public com.google.cloud.securitycenter.v1.ListAssetsResponse listAssets(
com.google.cloud.securitycenter.v1.ListAssetsRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
@@ -4214,6 +4222,7 @@ public com.google.cloud.securitycenter.v1.ListSourcesResponse listSources(
* error.
*
*/
+ @java.lang.Deprecated
public com.google.longrunning.Operation runAssetDiscovery(
com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) {
return io.grpc.stub.ClientCalls.blockingUnaryCall(
@@ -4732,6 +4741,7 @@ protected SecurityCenterFutureStub build(
* properties.
*
*/
+ @java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.securitycenter.v1.GroupAssetsResponse>
groupAssets(com.google.cloud.securitycenter.v1.GroupAssetsRequest request) {
@@ -4765,6 +4775,7 @@ protected SecurityCenterFutureStub build(
* Lists an organization's assets.
*
*/
+ @java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture<
com.google.cloud.securitycenter.v1.ListAssetsResponse>
listAssets(com.google.cloud.securitycenter.v1.ListAssetsRequest request) {
@@ -4907,6 +4918,7 @@ protected SecurityCenterFutureStub build(
* error.
*
*/
+ @java.lang.Deprecated
public com.google.common.util.concurrent.ListenableFuture
runAssetDiscovery(com.google.cloud.securitycenter.v1.RunAssetDiscoveryRequest request) {
return io.grpc.stub.ClientCalls.futureUnaryCall(
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java
index 61a4e366511d..73f1bff4aacf 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequest.java
@@ -232,7 +232,7 @@ public com.google.protobuf.ByteString getFilterBytes() {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The muteAnnotation.
*/
@java.lang.Override
@@ -259,7 +259,7 @@ public java.lang.String getMuteAnnotation() {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The bytes for muteAnnotation.
*/
@java.lang.Override
@@ -1011,7 +1011,7 @@ public Builder setFilterBytes(com.google.protobuf.ByteString value) {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The muteAnnotation.
*/
@java.lang.Deprecated
@@ -1037,7 +1037,7 @@ public java.lang.String getMuteAnnotation() {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The bytes for muteAnnotation.
*/
@java.lang.Deprecated
@@ -1063,7 +1063,7 @@ public com.google.protobuf.ByteString getMuteAnnotationBytes() {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @param value The muteAnnotation to set.
* @return This builder for chaining.
*/
@@ -1088,7 +1088,7 @@ public Builder setMuteAnnotation(java.lang.String value) {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return This builder for chaining.
*/
@java.lang.Deprecated
@@ -1109,7 +1109,7 @@ public Builder clearMuteAnnotation() {
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @param value The bytes for muteAnnotation to set.
* @return This builder for chaining.
*/
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java
index ff3f3328b41b..259c4794c3f3 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/BulkMuteFindingsRequestOrBuilder.java
@@ -130,7 +130,7 @@ public interface BulkMuteFindingsRequestOrBuilder
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The muteAnnotation.
*/
@java.lang.Deprecated
@@ -146,7 +146,7 @@ public interface BulkMuteFindingsRequestOrBuilder
* string mute_annotation = 3 [deprecated = true];
*
* @deprecated google.cloud.securitycenter.v1.BulkMuteFindingsRequest.mute_annotation is
- * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=763
+ * deprecated. See google/cloud/securitycenter/v1/securitycenter_service.proto;l=766
* @return The bytes for muteAnnotation.
*/
@java.lang.Deprecated
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java
index 1a513115112a..9461a9f2ef5d 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/java/com/google/cloud/securitycenter/v1/SecuritycenterService.java
@@ -543,7 +543,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "\027\n\017next_page_token\030\002 \001(\t\"b\n\033DeleteBigQue"
+ "ryExportRequest\022C\n\004name\030\001 \001(\tB5\342A\001\002\372A.\n,"
+ "securitycenter.googleapis.com/BigQueryEx"
- + "port2\202t\n\016SecurityCenter\022\342\002\n\020BulkMuteFind"
+ + "port2\213t\n\016SecurityCenter\022\342\002\n\020BulkMuteFind"
+ "ings\0227.google.cloud.securitycenter.v1.Bu"
+ "lkMuteFindingsRequest\032\035.google.longrunni"
+ "ng.Operation\"\365\001\312AP\n7google.cloud.securit"
@@ -675,252 +675,252 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() {
+ "ource\0220.google.cloud.securitycenter.v1.G"
+ "etSourceRequest\032&.google.cloud.securityc"
+ "enter.v1.Source\"3\332A\004name\202\323\344\223\002&\022$/v1/{nam"
- + "e=organizations/*/sources/*}\022\203\002\n\013GroupAs"
+ + "e=organizations/*/sources/*}\022\206\002\n\013GroupAs"
+ "sets\0222.google.cloud.securitycenter.v1.Gr"
+ "oupAssetsRequest\0323.google.cloud.security"
- + "center.v1.GroupAssetsResponse\"\212\001\202\323\344\223\002\203\001\""
- + ")/v1/{parent=organizations/*}/assets:gro"
- + "up:\001*Z(\"#/v1/{parent=folders/*}/assets:g"
- + "roup:\001*Z)\"$/v1/{parent=projects/*}/asset"
- + "s:group:\001*\022\277\002\n\rGroupFindings\0224.google.cl"
- + "oud.securitycenter.v1.GroupFindingsReque"
- + "st\0325.google.cloud.securitycenter.v1.Grou"
- + "pFindingsResponse\"\300\001\332A\017parent,group_by\202\323"
- + "\344\223\002\247\001\"5/v1/{parent=organizations/*/sourc"
- + "es/*}/findings:group:\001*Z4\"//v1/{parent=f"
- + "olders/*/sources/*}/findings:group:\001*Z5\""
- + "0/v1/{parent=projects/*/sources/*}/findi"
- + "ngs:group:\001*\022\343\001\n\nListAssets\0221.google.clo"
- + "ud.securitycenter.v1.ListAssetsRequest\0322"
- + ".google.cloud.securitycenter.v1.ListAsse"
- + "tsResponse\"n\202\323\344\223\002h\022#/v1/{parent=organiza"
- + "tions/*}/assetsZ\037\022\035/v1/{parent=folders/*"
- + "}/assetsZ \022\036/v1/{parent=projects/*}/asse"
- + "ts\022\210\004\n2ListDescendantSecurityHealthAnaly"
- + "ticsCustomModules\022Y.google.cloud.securit"
- + "ycenter.v1.ListDescendantSecurityHealthA"
- + "nalyticsCustomModulesRequest\032Z.google.cl"
- + "oud.securitycenter.v1.ListDescendantSecu"
- + "rityHealthAnalyticsCustomModulesResponse"
- + "\"\232\002\332A\006parent\202\323\344\223\002\212\002\022Y/v1/{parent=organiz"
- + "ations/*/securityHealthAnalyticsSettings"
- + "}/customModules:listDescendantZU\022S/v1/{p"
- + "arent=folders/*/securityHealthAnalyticsS"
- + "ettings}/customModules:listDescendantZV\022"
- + "T/v1/{parent=projects/*/securityHealthAn"
- + "alyticsSettings}/customModules:listDesce"
- + "ndant\022\217\002\n\014ListFindings\0223.google.cloud.se"
- + "curitycenter.v1.ListFindingsRequest\0324.go"
- + "ogle.cloud.securitycenter.v1.ListFinding"
- + "sResponse\"\223\001\202\323\344\223\002\214\001\022//v1/{parent=organiz"
- + "ations/*/sources/*}/findingsZ+\022)/v1/{par"
- + "ent=folders/*/sources/*}/findingsZ,\022*/v1"
- + "/{parent=projects/*/sources/*}/findings\022"
- + "\213\002\n\017ListMuteConfigs\0226.google.cloud.secur"
- + "itycenter.v1.ListMuteConfigsRequest\0327.go"
- + "ogle.cloud.securitycenter.v1.ListMuteCon"
- + "figsResponse\"\206\001\332A\006parent\202\323\344\223\002w\022(/v1/{par"
- + "ent=organizations/*}/muteConfigsZ$\022\"/v1/"
- + "{parent=folders/*}/muteConfigsZ%\022#/v1/{p"
- + "arent=projects/*}/muteConfigs\022\274\002\n\027ListNo"
- + "tificationConfigs\022>.google.cloud.securit"
- + "ycenter.v1.ListNotificationConfigsReques"
- + "t\032?.google.cloud.securitycenter.v1.ListN"
- + "otificationConfigsResponse\"\237\001\332A\006parent\202\323"
- + "\344\223\002\217\001\0220/v1/{parent=organizations/*}/noti"
- + "ficationConfigsZ,\022*/v1/{parent=folders/*"
- + "}/notificationConfigsZ-\022+/v1/{parent=pro"
- + "jects/*}/notificationConfigs\022\363\003\n1ListEff"
- + "ectiveSecurityHealthAnalyticsCustomModul"
- + "es\022X.google.cloud.securitycenter.v1.List"
- + "EffectiveSecurityHealthAnalyticsCustomMo"
- + "dulesRequest\032Y.google.cloud.securitycent"
- + "er.v1.ListEffectiveSecurityHealthAnalyti"
- + "csCustomModulesResponse\"\210\002\332A\006parent\202\323\344\223\002"
- + "\370\001\022S/v1/{parent=organizations/*/security"
- + "HealthAnalyticsSettings}/effectiveCustom"
- + "ModulesZO\022M/v1/{parent=folders/*/securit"
- + "yHealthAnalyticsSettings}/effectiveCusto"
- + "mModulesZP\022N/v1/{parent=projects/*/secur"
- + "ityHealthAnalyticsSettings}/effectiveCus"
- + "tomModules\022\275\003\n(ListSecurityHealthAnalyti"
- + "csCustomModules\022O.google.cloud.securityc"
- + "enter.v1.ListSecurityHealthAnalyticsCust"
- + "omModulesRequest\032P.google.cloud.security"
- + "center.v1.ListSecurityHealthAnalyticsCus"
- + "tomModulesResponse\"\355\001\332A\006parent\202\323\344\223\002\335\001\022J/"
- + "v1/{parent=organizations/*/securityHealt"
- + "hAnalyticsSettings}/customModulesZF\022D/v1"
- + "/{parent=folders/*/securityHealthAnalyti"
- + "csSettings}/customModulesZG\022E/v1/{parent"
- + "=projects/*/securityHealthAnalyticsSetti"
- + "ngs}/customModules\022\362\001\n\013ListSources\0222.goo"
- + "gle.cloud.securitycenter.v1.ListSourcesR"
- + "equest\0323.google.cloud.securitycenter.v1."
- + "ListSourcesResponse\"z\332A\006parent\202\323\344\223\002k\022$/v"
- + "1/{parent=organizations/*}/sourcesZ \022\036/v"
- + "1/{parent=folders/*}/sourcesZ!\022\037/v1/{par"
- + "ent=projects/*}/sources\022\207\002\n\021RunAssetDisc"
- + "overy\0228.google.cloud.securitycenter.v1.R"
- + "unAssetDiscoveryRequest\032\035.google.longrun"
- + "ning.Operation\"\230\001\312AQ\n8google.cloud.secur"
- + "itycenter.v1.RunAssetDiscoveryResponse\022\025"
- + "google.protobuf.Empty\332A\006parent\202\323\344\223\0025\"0/v"
- + "1/{parent=organizations/*}/assets:runDis"
- + "covery:\001*\022\304\002\n\017SetFindingState\0226.google.c"
- + "loud.securitycenter.v1.SetFindingStateRe"
+ + "center.v1.GroupAssetsResponse\"\215\001\210\002\001\202\323\344\223\002"
+ + "\203\001\")/v1/{parent=organizations/*}/assets:"
+ + "group:\001*Z(\"#/v1/{parent=folders/*}/asset"
+ + "s:group:\001*Z)\"$/v1/{parent=projects/*}/as"
+ + "sets:group:\001*\022\277\002\n\rGroupFindings\0224.google"
+ + ".cloud.securitycenter.v1.GroupFindingsRe"
+ + "quest\0325.google.cloud.securitycenter.v1.G"
+ + "roupFindingsResponse\"\300\001\332A\017parent,group_b"
+ + "y\202\323\344\223\002\247\001\"5/v1/{parent=organizations/*/so"
+ + "urces/*}/findings:group:\001*Z4\"//v1/{paren"
+ + "t=folders/*/sources/*}/findings:group:\001*"
+ + "Z5\"0/v1/{parent=projects/*/sources/*}/fi"
+ + "ndings:group:\001*\022\346\001\n\nListAssets\0221.google."
+ + "cloud.securitycenter.v1.ListAssetsReques"
+ + "t\0322.google.cloud.securitycenter.v1.ListA"
+ + "ssetsResponse\"q\210\002\001\202\323\344\223\002h\022#/v1/{parent=or"
+ + "ganizations/*}/assetsZ\037\022\035/v1/{parent=fol"
+ + "ders/*}/assetsZ \022\036/v1/{parent=projects/*"
+ + "}/assets\022\210\004\n2ListDescendantSecurityHealt"
+ + "hAnalyticsCustomModules\022Y.google.cloud.s"
+ + "ecuritycenter.v1.ListDescendantSecurityH"
+ + "ealthAnalyticsCustomModulesRequest\032Z.goo"
+ + "gle.cloud.securitycenter.v1.ListDescenda"
+ + "ntSecurityHealthAnalyticsCustomModulesRe"
+ + "sponse\"\232\002\332A\006parent\202\323\344\223\002\212\002\022Y/v1/{parent=o"
+ + "rganizations/*/securityHealthAnalyticsSe"
+ + "ttings}/customModules:listDescendantZU\022S"
+ + "/v1/{parent=folders/*/securityHealthAnal"
+ + "yticsSettings}/customModules:listDescend"
+ + "antZV\022T/v1/{parent=projects/*/securityHe"
+ + "althAnalyticsSettings}/customModules:lis"
+ + "tDescendant\022\217\002\n\014ListFindings\0223.google.cl"
+ + "oud.securitycenter.v1.ListFindingsReques"
+ + "t\0324.google.cloud.securitycenter.v1.ListF"
+ + "indingsResponse\"\223\001\202\323\344\223\002\214\001\022//v1/{parent=o"
+ + "rganizations/*/sources/*}/findingsZ+\022)/v"
+ + "1/{parent=folders/*/sources/*}/findingsZ"
+ + ",\022*/v1/{parent=projects/*/sources/*}/fin"
+ + "dings\022\213\002\n\017ListMuteConfigs\0226.google.cloud"
+ + ".securitycenter.v1.ListMuteConfigsReques"
+ + "t\0327.google.cloud.securitycenter.v1.ListM"
+ + "uteConfigsResponse\"\206\001\332A\006parent\202\323\344\223\002w\022(/v"
+ + "1/{parent=organizations/*}/muteConfigsZ$"
+ + "\022\"/v1/{parent=folders/*}/muteConfigsZ%\022#"
+ + "/v1/{parent=projects/*}/muteConfigs\022\274\002\n\027"
+ + "ListNotificationConfigs\022>.google.cloud.s"
+ + "ecuritycenter.v1.ListNotificationConfigs"
+ + "Request\032?.google.cloud.securitycenter.v1"
+ + ".ListNotificationConfigsResponse\"\237\001\332A\006pa"
+ + "rent\202\323\344\223\002\217\001\0220/v1/{parent=organizations/*"
+ + "}/notificationConfigsZ,\022*/v1/{parent=fol"
+ + "ders/*}/notificationConfigsZ-\022+/v1/{pare"
+ + "nt=projects/*}/notificationConfigs\022\363\003\n1L"
+ + "istEffectiveSecurityHealthAnalyticsCusto"
+ + "mModules\022X.google.cloud.securitycenter.v"
+ + "1.ListEffectiveSecurityHealthAnalyticsCu"
+ + "stomModulesRequest\032Y.google.cloud.securi"
+ + "tycenter.v1.ListEffectiveSecurityHealthA"
+ + "nalyticsCustomModulesResponse\"\210\002\332A\006paren"
+ + "t\202\323\344\223\002\370\001\022S/v1/{parent=organizations/*/se"
+ + "curityHealthAnalyticsSettings}/effective"
+ + "CustomModulesZO\022M/v1/{parent=folders/*/s"
+ + "ecurityHealthAnalyticsSettings}/effectiv"
+ + "eCustomModulesZP\022N/v1/{parent=projects/*"
+ + "/securityHealthAnalyticsSettings}/effect"
+ + "iveCustomModules\022\275\003\n(ListSecurityHealthA"
+ + "nalyticsCustomModules\022O.google.cloud.sec"
+ + "uritycenter.v1.ListSecurityHealthAnalyti"
+ + "csCustomModulesRequest\032P.google.cloud.se"
+ + "curitycenter.v1.ListSecurityHealthAnalyt"
+ + "icsCustomModulesResponse\"\355\001\332A\006parent\202\323\344\223"
+ + "\002\335\001\022J/v1/{parent=organizations/*/securit"
+ + "yHealthAnalyticsSettings}/customModulesZ"
+ + "F\022D/v1/{parent=folders/*/securityHealthA"
+ + "nalyticsSettings}/customModulesZG\022E/v1/{"
+ + "parent=projects/*/securityHealthAnalytic"
+ + "sSettings}/customModules\022\362\001\n\013ListSources"
+ + "\0222.google.cloud.securitycenter.v1.ListSo"
+ + "urcesRequest\0323.google.cloud.securitycent"
+ + "er.v1.ListSourcesResponse\"z\332A\006parent\202\323\344\223"
+ + "\002k\022$/v1/{parent=organizations/*}/sources"
+ + "Z \022\036/v1/{parent=folders/*}/sourcesZ!\022\037/v"
+ + "1/{parent=projects/*}/sources\022\212\002\n\021RunAss"
+ + "etDiscovery\0228.google.cloud.securitycente"
+ + "r.v1.RunAssetDiscoveryRequest\032\035.google.l"
+ + "ongrunning.Operation\"\233\001\210\002\001\312AQ\n8google.cl"
+ + "oud.securitycenter.v1.RunAssetDiscoveryR"
+ + "esponse\022\025google.protobuf.Empty\332A\006parent\202"
+ + "\323\344\223\0025\"0/v1/{parent=organizations/*}/asse"
+ + "ts:runDiscovery:\001*\022\304\002\n\017SetFindingState\0226"
+ + ".google.cloud.securitycenter.v1.SetFindi"
+ + "ngStateRequest\032\'.google.cloud.securityce"
+ + "nter.v1.Finding\"\317\001\332A\025name,state,start_ti"
+ + "me\202\323\344\223\002\260\001\"8/v1/{name=organizations/*/sou"
+ + "rces/*/findings/*}:setState:\001*Z7\"2/v1/{n"
+ + "ame=folders/*/sources/*/findings/*}:setS"
+ + "tate:\001*Z8\"3/v1/{name=projects/*/sources/"
+ + "*/findings/*}:setState:\001*\022\245\002\n\007SetMute\022.."
+ + "google.cloud.securitycenter.v1.SetMuteRe"
+ "quest\032\'.google.cloud.securitycenter.v1.F"
- + "inding\"\317\001\332A\025name,state,start_time\202\323\344\223\002\260\001"
- + "\"8/v1/{name=organizations/*/sources/*/fi"
- + "ndings/*}:setState:\001*Z7\"2/v1/{name=folde"
- + "rs/*/sources/*/findings/*}:setState:\001*Z8"
- + "\"3/v1/{name=projects/*/sources/*/finding"
- + "s/*}:setState:\001*\022\245\002\n\007SetMute\022..google.cl"
- + "oud.securitycenter.v1.SetMuteRequest\032\'.g"
- + "oogle.cloud.securitycenter.v1.Finding\"\300\001"
- + "\332A\tname,mute\202\323\344\223\002\255\001\"7/v1/{name=organizat"
- + "ions/*/sources/*/findings/*}:setMute:\001*Z"
- + "6\"1/v1/{name=folders/*/sources/*/finding"
- + "s/*}:setMute:\001*Z7\"2/v1/{name=projects/*/"
- + "sources/*/findings/*}:setMute:\001*\022\235\001\n\014Set"
- + "IamPolicy\022\".google.iam.v1.SetIamPolicyRe"
- + "quest\032\025.google.iam.v1.Policy\"R\332A\017resourc"
- + "e,policy\202\323\344\223\002:\"5/v1/{resource=organizati"
- + "ons/*/sources/*}:setIamPolicy:\001*\022\310\001\n\022Tes"
- + "tIamPermissions\022(.google.iam.v1.TestIamP"
- + "ermissionsRequest\032).google.iam.v1.TestIa"
- + "mPermissionsResponse\"]\332A\024resource,permis"
- + "sions\202\323\344\223\002@\";/v1/{resource=organizations"
- + "/*/sources/*}:testIamPermissions:\001*\022\320\003\n\024"
- + "UpdateExternalSystem\022;.google.cloud.secu"
- + "ritycenter.v1.UpdateExternalSystemReques"
- + "t\032..google.cloud.securitycenter.v1.Exter"
- + "nalSystem\"\312\002\332A\033external_system,update_ma"
- + "sk\202\323\344\223\002\245\0022Q/v1/{external_system.name=org"
- + "anizations/*/sources/*/findings/*/extern"
- + "alSystems/*}:\017external_systemZ^2K/v1/{ex"
- + "ternal_system.name=folders/*/sources/*/f"
- + "indings/*/externalSystems/*}:\017external_s"
- + "ystemZ_2L/v1/{external_system.name=proje"
- + "cts/*/sources/*/findings/*/externalSyste"
- + "ms/*}:\017external_system\022\301\002\n\rUpdateFinding"
- + "\0224.google.cloud.securitycenter.v1.Update"
- + "FindingRequest\032\'.google.cloud.securityce"
- + "nter.v1.Finding\"\320\001\332A\007finding\202\323\344\223\002\277\00127/v1"
- + "/{finding.name=organizations/*/sources/*"
- + "/findings/*}:\007findingZ<21/v1/{finding.na"
- + "me=folders/*/sources/*/findings/*}:\007find"
- + "ingZ=22/v1/{finding.name=projects/*/sour"
- + "ces/*/findings/*}:\007finding\022\335\002\n\020UpdateMut"
- + "eConfig\0227.google.cloud.securitycenter.v1"
- + ".UpdateMuteConfigRequest\032*.google.cloud."
- + "securitycenter.v1.MuteConfig\"\343\001\332A\027mute_c"
- + "onfig,update_mask\202\323\344\223\002\302\00124/v1/{mute_conf"
- + "ig.name=organizations/*/muteConfigs/*}:\013"
- + "mute_configZ=2./v1/{mute_config.name=fol"
- + "ders/*/muteConfigs/*}:\013mute_configZ>2//v"
- + "1/{mute_config.name=projects/*/muteConfi"
- + "gs/*}:\013mute_config\022\333\003\n\030UpdateNotificatio"
- + "nConfig\022?.google.cloud.securitycenter.v1"
- + ".UpdateNotificationConfigRequest\0322.googl"
- + "e.cloud.securitycenter.v1.NotificationCo"
- + "nfig\"\311\002\332A\023notification_config\332A\037notifica"
- + "tion_config,update_mask\202\323\344\223\002\212\0022D/v1/{not"
- + "ification_config.name=organizations/*/no"
- + "tificationConfigs/*}:\023notification_confi"
- + "gZU2>/v1/{notification_config.name=folde"
- + "rs/*/notificationConfigs/*}:\023notificatio"
- + "n_configZV2?/v1/{notification_config.nam"
- + "e=projects/*/notificationConfigs/*}:\023not"
- + "ification_config\022\223\002\n\032UpdateOrganizationS"
- + "ettings\022A.google.cloud.securitycenter.v1"
- + ".UpdateOrganizationSettingsRequest\0324.goo"
- + "gle.cloud.securitycenter.v1.Organization"
- + "Settings\"|\332A\025organization_settings\202\323\344\223\002^"
- + "2E/v1/{organization_settings.name=organi"
- + "zations/*/organizationSettings}:\025organiz"
- + "ation_settings\022\324\005\n)UpdateSecurityHealthA"
- + "nalyticsCustomModule\022P.google.cloud.secu"
- + "ritycenter.v1.UpdateSecurityHealthAnalyt"
- + "icsCustomModuleRequest\032C.google.cloud.se"
- + "curitycenter.v1.SecurityHealthAnalyticsC"
- + "ustomModule\"\217\004\332A3security_health_analyti"
- + "cs_custom_module,update_mask\202\323\344\223\002\322\0032r/v1"
- + "/{security_health_analytics_custom_modul"
- + "e.name=organizations/*/securityHealthAna"
- + "lyticsSettings/customModules/*}:\'securit"
- + "y_health_analytics_custom_moduleZ\227\0012l/v1"
- + "/{security_health_analytics_custom_modul"
- + "e.name=folders/*/securityHealthAnalytics"
- + "Settings/customModules/*}:\'security_heal"
- + "th_analytics_custom_moduleZ\230\0012m/v1/{secu"
- + "rity_health_analytics_custom_module.name"
- + "=projects/*/securityHealthAnalyticsSetti"
- + "ngs/customModules/*}:\'security_health_an"
- + "alytics_custom_module\022\261\001\n\014UpdateSource\0223"
- + ".google.cloud.securitycenter.v1.UpdateSo"
- + "urceRequest\032&.google.cloud.securitycente"
- + "r.v1.Source\"D\332A\006source\202\323\344\223\00252+/v1/{sourc"
- + "e.name=organizations/*/sources/*}:\006sourc"
- + "e\022\237\005\n\023UpdateSecurityMarks\022:.google.cloud"
- + ".securitycenter.v1.UpdateSecurityMarksRe"
- + "quest\032-.google.cloud.securitycenter.v1.S"
- + "ecurityMarks\"\234\004\332A\016security_marks\202\323\344\223\002\204\0042"
- + "@/v1/{security_marks.name=organizations/"
- + "*/assets/*/securityMarks}:\016security_mark"
- + "sZL2:/v1/{security_marks.name=folders/*/"
- + "assets/*/securityMarks}:\016security_marksZ"
- + "M2;/v1/{security_marks.name=projects/*/a"
- + "ssets/*/securityMarks}:\016security_marksZ^"
- + "2L/v1/{security_marks.name=organizations"
- + "/*/sources/*/findings/*/securityMarks}:\016"
- + "security_marksZX2F/v1/{security_marks.na"
- + "me=folders/*/sources/*/findings/*/securi"
- + "tyMarks}:\016security_marksZY2G/v1/{securit"
- + "y_marks.name=projects/*/sources/*/findin"
- + "gs/*/securityMarks}:\016security_marks\022\364\002\n\024"
- + "CreateBigQueryExport\022;.google.cloud.secu"
- + "ritycenter.v1.CreateBigQueryExportReques"
- + "t\032..google.cloud.securitycenter.v1.BigQu"
- + "eryExport\"\356\001\332A+parent,big_query_export,b"
- + "ig_query_export_id\202\323\344\223\002\271\001\",/v1/{parent=o"
- + "rganizations/*}/bigQueryExports:\020big_que"
- + "ry_exportZ:\"&/v1/{parent=folders/*}/bigQ"
- + "ueryExports:\020big_query_exportZ;\"\'/v1/{pa"
- + "rent=projects/*}/bigQueryExports:\020big_qu"
- + "ery_export\022\377\001\n\024DeleteBigQueryExport\022;.go"
- + "ogle.cloud.securitycenter.v1.DeleteBigQu"
- + "eryExportRequest\032\026.google.protobuf.Empty"
- + "\"\221\001\332A\004name\202\323\344\223\002\203\001*,/v1/{name=organizatio"
- + "ns/*/bigQueryExports/*}Z(*&/v1/{name=fol"
- + "ders/*/bigQueryExports/*}Z)*\'/v1/{name=p"
- + "rojects/*/bigQueryExports/*}\022\230\003\n\024UpdateB"
- + "igQueryExport\022;.google.cloud.securitycen"
- + "ter.v1.UpdateBigQueryExportRequest\032..goo"
- + "gle.cloud.securitycenter.v1.BigQueryExpo"
- + "rt\"\222\002\332A\034big_query_export,update_mask\202\323\344\223"
- + "\002\354\0012=/v1/{big_query_export.name=organiza"
- + "tions/*/bigQueryExports/*}:\020big_query_ex"
- + "portZK27/v1/{big_query_export.name=folde"
- + "rs/*/bigQueryExports/*}:\020big_query_expor"
- + "tZL28/v1/{big_query_export.name=projects"
- + "/*/bigQueryExports/*}:\020big_query_export\022"
- + "\244\002\n\023ListBigQueryExports\022:.google.cloud.s"
- + "ecuritycenter.v1.ListBigQueryExportsRequ"
- + "est\032;.google.cloud.securitycenter.v1.Lis"
- + "tBigQueryExportsResponse\"\223\001\332A\006parent\202\323\344\223"
- + "\002\203\001\022,/v1/{parent=organizations/*}/bigQue"
- + "ryExportsZ(\022&/v1/{parent=folders/*}/bigQ"
- + "ueryExportsZ)\022\'/v1/{parent=projects/*}/b"
- + "igQueryExports\032Q\312A\035securitycenter.google"
- + "apis.com\322A.https://www.googleapis.com/au"
- + "th/cloud-platformB\330\001\n\"com.google.cloud.s"
- + "ecuritycenter.v1P\001ZJcloud.google.com/go/"
- + "securitycenter/apiv1/securitycenterpb;se"
- + "curitycenterpb\252\002\036Google.Cloud.SecurityCe"
- + "nter.V1\312\002\036Google\\Cloud\\SecurityCenter\\V1"
- + "\352\002!Google::Cloud::SecurityCenter::V1b\006pr"
- + "oto3"
+ + "inding\"\300\001\332A\tname,mute\202\323\344\223\002\255\001\"7/v1/{name="
+ + "organizations/*/sources/*/findings/*}:se"
+ + "tMute:\001*Z6\"1/v1/{name=folders/*/sources/"
+ + "*/findings/*}:setMute:\001*Z7\"2/v1/{name=pr"
+ + "ojects/*/sources/*/findings/*}:setMute:\001"
+ + "*\022\235\001\n\014SetIamPolicy\022\".google.iam.v1.SetIa"
+ + "mPolicyRequest\032\025.google.iam.v1.Policy\"R\332"
+ + "A\017resource,policy\202\323\344\223\002:\"5/v1/{resource=o"
+ + "rganizations/*/sources/*}:setIamPolicy:\001"
+ + "*\022\310\001\n\022TestIamPermissions\022(.google.iam.v1"
+ + ".TestIamPermissionsRequest\032).google.iam."
+ + "v1.TestIamPermissionsResponse\"]\332A\024resour"
+ + "ce,permissions\202\323\344\223\002@\";/v1/{resource=orga"
+ + "nizations/*/sources/*}:testIamPermission"
+ + "s:\001*\022\320\003\n\024UpdateExternalSystem\022;.google.c"
+ + "loud.securitycenter.v1.UpdateExternalSys"
+ + "temRequest\032..google.cloud.securitycenter"
+ + ".v1.ExternalSystem\"\312\002\332A\033external_system,"
+ + "update_mask\202\323\344\223\002\245\0022Q/v1/{external_system"
+ + ".name=organizations/*/sources/*/findings"
+ + "/*/externalSystems/*}:\017external_systemZ^"
+ + "2K/v1/{external_system.name=folders/*/so"
+ + "urces/*/findings/*/externalSystems/*}:\017e"
+ + "xternal_systemZ_2L/v1/{external_system.n"
+ + "ame=projects/*/sources/*/findings/*/exte"
+ + "rnalSystems/*}:\017external_system\022\301\002\n\rUpda"
+ + "teFinding\0224.google.cloud.securitycenter."
+ + "v1.UpdateFindingRequest\032\'.google.cloud.s"
+ + "ecuritycenter.v1.Finding\"\320\001\332A\007finding\202\323\344"
+ + "\223\002\277\00127/v1/{finding.name=organizations/*/"
+ + "sources/*/findings/*}:\007findingZ<21/v1/{f"
+ + "inding.name=folders/*/sources/*/findings"
+ + "/*}:\007findingZ=22/v1/{finding.name=projec"
+ + "ts/*/sources/*/findings/*}:\007finding\022\335\002\n\020"
+ + "UpdateMuteConfig\0227.google.cloud.security"
+ + "center.v1.UpdateMuteConfigRequest\032*.goog"
+ + "le.cloud.securitycenter.v1.MuteConfig\"\343\001"
+ + "\332A\027mute_config,update_mask\202\323\344\223\002\302\00124/v1/{"
+ + "mute_config.name=organizations/*/muteCon"
+ + "figs/*}:\013mute_configZ=2./v1/{mute_config"
+ + ".name=folders/*/muteConfigs/*}:\013mute_con"
+ + "figZ>2//v1/{mute_config.name=projects/*/"
+ + "muteConfigs/*}:\013mute_config\022\333\003\n\030UpdateNo"
+ + "tificationConfig\022?.google.cloud.security"
+ + "center.v1.UpdateNotificationConfigReques"
+ + "t\0322.google.cloud.securitycenter.v1.Notif"
+ + "icationConfig\"\311\002\332A\023notification_config\332A"
+ + "\037notification_config,update_mask\202\323\344\223\002\212\0022"
+ + "D/v1/{notification_config.name=organizat"
+ + "ions/*/notificationConfigs/*}:\023notificat"
+ + "ion_configZU2>/v1/{notification_config.n"
+ + "ame=folders/*/notificationConfigs/*}:\023no"
+ + "tification_configZV2?/v1/{notification_c"
+ + "onfig.name=projects/*/notificationConfig"
+ + "s/*}:\023notification_config\022\223\002\n\032UpdateOrga"
+ + "nizationSettings\022A.google.cloud.security"
+ + "center.v1.UpdateOrganizationSettingsRequ"
+ + "est\0324.google.cloud.securitycenter.v1.Org"
+ + "anizationSettings\"|\332A\025organization_setti"
+ + "ngs\202\323\344\223\002^2E/v1/{organization_settings.na"
+ + "me=organizations/*/organizationSettings}"
+ + ":\025organization_settings\022\324\005\n)UpdateSecuri"
+ + "tyHealthAnalyticsCustomModule\022P.google.c"
+ + "loud.securitycenter.v1.UpdateSecurityHea"
+ + "lthAnalyticsCustomModuleRequest\032C.google"
+ + ".cloud.securitycenter.v1.SecurityHealthA"
+ + "nalyticsCustomModule\"\217\004\332A3security_healt"
+ + "h_analytics_custom_module,update_mask\202\323\344"
+ + "\223\002\322\0032r/v1/{security_health_analytics_cus"
+ + "tom_module.name=organizations/*/security"
+ + "HealthAnalyticsSettings/customModules/*}"
+ + ":\'security_health_analytics_custom_modul"
+ + "eZ\227\0012l/v1/{security_health_analytics_cus"
+ + "tom_module.name=folders/*/securityHealth"
+ + "AnalyticsSettings/customModules/*}:\'secu"
+ + "rity_health_analytics_custom_moduleZ\230\0012m"
+ + "/v1/{security_health_analytics_custom_mo"
+ + "dule.name=projects/*/securityHealthAnaly"
+ + "ticsSettings/customModules/*}:\'security_"
+ + "health_analytics_custom_module\022\261\001\n\014Updat"
+ + "eSource\0223.google.cloud.securitycenter.v1"
+ + ".UpdateSourceRequest\032&.google.cloud.secu"
+ + "ritycenter.v1.Source\"D\332A\006source\202\323\344\223\00252+/"
+ + "v1/{source.name=organizations/*/sources/"
+ + "*}:\006source\022\237\005\n\023UpdateSecurityMarks\022:.goo"
+ + "gle.cloud.securitycenter.v1.UpdateSecuri"
+ + "tyMarksRequest\032-.google.cloud.securityce"
+ + "nter.v1.SecurityMarks\"\234\004\332A\016security_mark"
+ + "s\202\323\344\223\002\204\0042@/v1/{security_marks.name=organ"
+ + "izations/*/assets/*/securityMarks}:\016secu"
+ + "rity_marksZL2:/v1/{security_marks.name=f"
+ + "olders/*/assets/*/securityMarks}:\016securi"
+ + "ty_marksZM2;/v1/{security_marks.name=pro"
+ + "jects/*/assets/*/securityMarks}:\016securit"
+ + "y_marksZ^2L/v1/{security_marks.name=orga"
+ + "nizations/*/sources/*/findings/*/securit"
+ + "yMarks}:\016security_marksZX2F/v1/{security"
+ + "_marks.name=folders/*/sources/*/findings"
+ + "/*/securityMarks}:\016security_marksZY2G/v1"
+ + "/{security_marks.name=projects/*/sources"
+ + "/*/findings/*/securityMarks}:\016security_m"
+ + "arks\022\364\002\n\024CreateBigQueryExport\022;.google.c"
+ + "loud.securitycenter.v1.CreateBigQueryExp"
+ + "ortRequest\032..google.cloud.securitycenter"
+ + ".v1.BigQueryExport\"\356\001\332A+parent,big_query"
+ + "_export,big_query_export_id\202\323\344\223\002\271\001\",/v1/"
+ + "{parent=organizations/*}/bigQueryExports"
+ + ":\020big_query_exportZ:\"&/v1/{parent=folder"
+ + "s/*}/bigQueryExports:\020big_query_exportZ;"
+ + "\"\'/v1/{parent=projects/*}/bigQueryExport"
+ + "s:\020big_query_export\022\377\001\n\024DeleteBigQueryEx"
+ + "port\022;.google.cloud.securitycenter.v1.De"
+ + "leteBigQueryExportRequest\032\026.google.proto"
+ + "buf.Empty\"\221\001\332A\004name\202\323\344\223\002\203\001*,/v1/{name=or"
+ + "ganizations/*/bigQueryExports/*}Z(*&/v1/"
+ + "{name=folders/*/bigQueryExports/*}Z)*\'/v"
+ + "1/{name=projects/*/bigQueryExports/*}\022\230\003"
+ + "\n\024UpdateBigQueryExport\022;.google.cloud.se"
+ + "curitycenter.v1.UpdateBigQueryExportRequ"
+ + "est\032..google.cloud.securitycenter.v1.Big"
+ + "QueryExport\"\222\002\332A\034big_query_export,update"
+ + "_mask\202\323\344\223\002\354\0012=/v1/{big_query_export.name"
+ + "=organizations/*/bigQueryExports/*}:\020big"
+ + "_query_exportZK27/v1/{big_query_export.n"
+ + "ame=folders/*/bigQueryExports/*}:\020big_qu"
+ + "ery_exportZL28/v1/{big_query_export.name"
+ + "=projects/*/bigQueryExports/*}:\020big_quer"
+ + "y_export\022\244\002\n\023ListBigQueryExports\022:.googl"
+ + "e.cloud.securitycenter.v1.ListBigQueryEx"
+ + "portsRequest\032;.google.cloud.securitycent"
+ + "er.v1.ListBigQueryExportsResponse\"\223\001\332A\006p"
+ + "arent\202\323\344\223\002\203\001\022,/v1/{parent=organizations/"
+ + "*}/bigQueryExportsZ(\022&/v1/{parent=folder"
+ + "s/*}/bigQueryExportsZ)\022\'/v1/{parent=proj"
+ + "ects/*}/bigQueryExports\032Q\312A\035securitycent"
+ + "er.googleapis.com\322A.https://www.googleap"
+ + "is.com/auth/cloud-platformB\330\001\n\"com.googl"
+ + "e.cloud.securitycenter.v1P\001ZJcloud.googl"
+ + "e.com/go/securitycenter/apiv1/securityce"
+ + "nterpb;securitycenterpb\252\002\036Google.Cloud.S"
+ + "ecurityCenter.V1\312\002\036Google\\Cloud\\Security"
+ + "Center\\V1\352\002!Google::Cloud::SecurityCente"
+ + "r::V1b\006proto3"
};
descriptor =
com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom(
diff --git a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
index 0957861595b7..6c3fe0ea27e5 100644
--- a/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
+++ b/java-securitycenter/proto-google-cloud-securitycenter-v1/src/main/proto/google/cloud/securitycenter/v1/securitycenter_service.proto
@@ -296,6 +296,7 @@ service SecurityCenter {
// Filters an organization's assets and groups them by their specified
// properties.
rpc GroupAssets(GroupAssetsRequest) returns (GroupAssetsResponse) {
+ option deprecated = true;
option (google.api.http) = {
post: "/v1/{parent=organizations/*}/assets:group"
body: "*"
@@ -335,6 +336,7 @@ service SecurityCenter {
// Lists an organization's assets.
rpc ListAssets(ListAssetsRequest) returns (ListAssetsResponse) {
+ option deprecated = true;
option (google.api.http) = {
get: "/v1/{parent=organizations/*}/assets"
additional_bindings { get: "/v1/{parent=folders/*}/assets" }
@@ -447,6 +449,7 @@ service SecurityCenter {
// error.
rpc RunAssetDiscovery(RunAssetDiscoveryRequest)
returns (google.longrunning.Operation) {
+ option deprecated = true;
option (google.api.http) = {
post: "/v1/{parent=organizations/*}/assets:runDiscovery"
body: "*"