Skip to content

Commit

Permalink
docs: [asset] fix required permissions for resources.searchAll and ia…
Browse files Browse the repository at this point in the history
…mPolicies.searchAll (#5280)

* docs: fix required permissions for resources.searchAll and iamPolicies.searchAll

PiperOrigin-RevId: 627432346

Source-Link: googleapis/googleapis@a5526a0

Source-Link: googleapis/googleapis-gen@209a48a
Copy-Tag: eyJwIjoicGFja2FnZXMvZ29vZ2xlLWNsb3VkLWFzc2V0Ly5Pd2xCb3QueWFtbCIsImgiOiIyMDlhNDhhNjBjZTMxZTE4MDgyNGM0ZmUyZmNlNWRkNGJiYTE5Nzg0In0=

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

* 🦉 Updates from OwlBot post-processor

See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md

---------

Co-authored-by: Owl Bot <gcf-owl-bot[bot]@users.noreply.github.com>
  • Loading branch information
gcf-owl-bot[bot] and gcf-owl-bot[bot] authored Apr 25, 2024
1 parent 9a2060a commit 3c12c76
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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) = {
Expand All @@ -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) = {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllResources_async",
"title": "AssetService searchAllResources Sample",
"origin": "API_DEFINITION",
"description": " Searches all the resources within a given accessible Resource Manager scope (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.",
"description": " Searches all the resources within a given accessible Resource Manager scope (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 `cloudasset.assets.searchAllResources` permission on the requested scope, otherwise the request will be rejected.",
"canonical": true,
"file": "asset_service.search_all_resources.js",
"language": "JAVASCRIPT",
Expand Down Expand Up @@ -75,7 +75,7 @@
"regionTag": "cloudasset_v1p1beta1_generated_AssetService_SearchAllIamPolicies_async",
"title": "AssetService searchAllIamPolicies Sample",
"origin": "API_DEFINITION",
"description": " Searches all the IAM policies within a given accessible Resource Manager 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.",
"description": " Searches all the IAM policies within a given accessible Resource Manager 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 `cloudasset.assets.searchAllIamPolicies` permission on the requested scope, otherwise the request will be rejected.",
"canonical": true,
"file": "asset_service.search_all_iam_policies.js",
"language": "JAVASCRIPT",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -382,8 +382,8 @@ export class AssetServiceClient {
* (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.
*
* @param {Object} request
* The request object that will be sent.
Expand Down Expand Up @@ -642,8 +642,8 @@ export class AssetServiceClient {
* 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.
*
* @param {Object} request
* The request object that will be sent.
Expand Down

0 comments on commit 3c12c76

Please sign in to comment.