aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGoogle APIs <noreply@google.com>2024-04-23 10:30:16 -0700
committerCopybara-Service <copybara-worker@google.com>2024-04-23 10:31:28 -0700
commita5526a09082c5ac94e285c47919f481c1f999dc6 (patch)
treea8d06c5a4a1d486ab1dfe38baed86125c47ae7f1
parent64be76add7caaf889f8a949aff5f5295dfe973dd (diff)
downloadgoogleapis-a5526a09082c5ac94e285c47919f481c1f999dc6.tar.gz
docs: fix required permissions for resources.searchAll and iamPolicies.searchAll
PiperOrigin-RevId: 627432346
-rw-r--r--google/cloud/asset/v1p1beta1/asset_service.proto8
1 files changed, 4 insertions, 4 deletions
diff --git a/google/cloud/asset/v1p1beta1/asset_service.proto b/google/cloud/asset/v1p1beta1/asset_service.proto
index a7bdbbb88..7c2997d25 100644
--- a/google/cloud/asset/v1p1beta1/asset_service.proto
+++ b/google/cloud/asset/v1p1beta1/asset_service.proto
@@ -38,8 +38,8 @@ service AssetService {
// (project/folder/organization). This RPC gives callers especially
// administrators the ability to search all the resources within a scope, even
// if they don't have `.get` permission of all the resources. Callers should
- // have `cloud.assets.SearchAllResources` permission on the requested scope,
- // otherwise the request will be rejected.
+ // have `cloudasset.assets.searchAllResources` permission on the requested
+ // scope, otherwise the request will be rejected.
rpc SearchAllResources(SearchAllResourcesRequest)
returns (SearchAllResourcesResponse) {
option (google.api.http) = {
@@ -52,8 +52,8 @@ service AssetService {
// scope (project/folder/organization). This RPC gives callers especially
// administrators the ability to search all the IAM policies within a scope,
// even if they don't have `.getIamPolicy` permission of all the IAM policies.
- // Callers should have `cloud.assets.SearchAllIamPolicies` permission on the
- // requested scope, otherwise the request will be rejected.
+ // Callers should have `cloudasset.assets.searchAllIamPolicies` permission on
+ // the requested scope, otherwise the request will be rejected.
rpc SearchAllIamPolicies(SearchAllIamPoliciesRequest)
returns (SearchAllIamPoliciesResponse) {
option (google.api.http) = {