@maxim_mazurok/gapi.client.cloudasset-v1p1beta1 0.0.20240316 → 0.0.20240322
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +3 -3
- package/package.json +1 -1
- package/readme.md +2 -2
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://cloudasset.googleapis.com/$discovery/rest?version=v1p1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240322
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -405,7 +405,7 @@ declare namespace gapi.client {
|
|
|
405
405
|
project?: string;
|
|
406
406
|
}
|
|
407
407
|
interface IamPoliciesResource {
|
|
408
|
-
/** 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 `
|
|
408
|
+
/** 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. */
|
|
409
409
|
searchAll(request?: {
|
|
410
410
|
/** V1 error format. */
|
|
411
411
|
'$.xgafv'?: string;
|
|
@@ -440,7 +440,7 @@ declare namespace gapi.client {
|
|
|
440
440
|
}): Request<SearchAllIamPoliciesResponse>;
|
|
441
441
|
}
|
|
442
442
|
interface ResourcesResource {
|
|
443
|
-
/** 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 `
|
|
443
|
+
/** 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. */
|
|
444
444
|
searchAll(request?: {
|
|
445
445
|
/** V1 error format. */
|
|
446
446
|
'$.xgafv'?: string;
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -70,12 +70,12 @@ After that you can use Cloud Asset API resources: <!-- TODO: make this work for
|
|
|
70
70
|
|
|
71
71
|
```typescript
|
|
72
72
|
/*
|
|
73
|
-
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 `
|
|
73
|
+
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.
|
|
74
74
|
*/
|
|
75
75
|
await gapi.client.cloudasset.iamPolicies.searchAll({scope: 'scope'});
|
|
76
76
|
|
|
77
77
|
/*
|
|
78
|
-
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 `
|
|
78
|
+
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.
|
|
79
79
|
*/
|
|
80
80
|
await gapi.client.cloudasset.resources.searchAll({scope: 'scope'});
|
|
81
81
|
```
|