Skip to content

Commit a7e1055

Browse files
Google APIscopybara-github
authored andcommitted
feat: Mark the Asset APIs as deprecated in client libraries
PiperOrigin-RevId: 542687834
1 parent 5c57657 commit a7e1055

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

google/cloud/securitycenter/v1/securitycenter_service.proto

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -296,6 +296,7 @@ service SecurityCenter {
296296
// Filters an organization's assets and groups them by their specified
297297
// properties.
298298
rpc GroupAssets(GroupAssetsRequest) returns (GroupAssetsResponse) {
299+
option deprecated = true;
299300
option (google.api.http) = {
300301
post: "/v1/{parent=organizations/*}/assets:group"
301302
body: "*"
@@ -335,6 +336,7 @@ service SecurityCenter {
335336

336337
// Lists an organization's assets.
337338
rpc ListAssets(ListAssetsRequest) returns (ListAssetsResponse) {
339+
option deprecated = true;
338340
option (google.api.http) = {
339341
get: "/v1/{parent=organizations/*}/assets"
340342
additional_bindings { get: "/v1/{parent=folders/*}/assets" }
@@ -447,6 +449,7 @@ service SecurityCenter {
447449
// error.
448450
rpc RunAssetDiscovery(RunAssetDiscoveryRequest)
449451
returns (google.longrunning.Operation) {
452+
option deprecated = true;
450453
option (google.api.http) = {
451454
post: "/v1/{parent=organizations/*}/assets:runDiscovery"
452455
body: "*"

0 commit comments

Comments
 (0)