Skip to content

Commit

Permalink
feat: Mark the Asset APIs as deprecated in client libraries
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 542687834
  • Loading branch information
Google APIs authored and Copybara-Service committed Jun 22, 2023
1 parent 5c57657 commit a7e1055
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions google/cloud/securitycenter/v1/securitycenter_service.proto
Original file line number Diff line number Diff line change
Expand Up @@ -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: "*"
Expand Down Expand Up @@ -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" }
Expand Down Expand Up @@ -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: "*"
Expand Down

0 comments on commit a7e1055

Please sign in to comment.