@maxim_mazurok/gapi.client.cloudasset-v1 0.0.20230811 → 0.0.20230902
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 +14 -6
- package/package.json +1 -1
- package/tests.ts +1 -1
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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230902
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1053,11 +1053,11 @@ declare namespace gapi.client {
|
|
|
1053
1053
|
parent?:
|
|
1054
1054
|
string;
|
|
1055
1055
|
/**
|
|
1056
|
-
* The scopes of
|
|
1057
|
-
* following behavior: -
|
|
1058
|
-
*
|
|
1059
|
-
*
|
|
1060
|
-
*
|
|
1056
|
+
* The scopes of the AccessPolicy. Scopes define which resources a policy can restrict and where its resources can be referenced. For example, policy A with `scopes=["folders/123"]`
|
|
1057
|
+
* has the following behavior: - ServicePerimeter can only restrict projects within `folders/123`. - ServicePerimeter within policy A can only reference access levels defined within
|
|
1058
|
+
* policy A. - Only one policy can include a given scope; thus, attempting to create a second policy which includes `folders/123` will result in an error. If no scopes are provided,
|
|
1059
|
+
* then any resource within the organization can be restricted. Scopes cannot be modified after a policy is created. Policies can only have a single scope. Format: list of
|
|
1060
|
+
* `folders/{folder_number}` or `projects/{project_number}`
|
|
1061
1061
|
*/
|
|
1062
1062
|
scopes?:
|
|
1063
1063
|
string[];
|
|
@@ -2038,6 +2038,14 @@ declare namespace gapi.client {
|
|
|
2038
2038
|
*/
|
|
2039
2039
|
relationships?:
|
|
2040
2040
|
{ [P in string]: RelatedResources };
|
|
2041
|
+
/**
|
|
2042
|
+
* The actual content of Security Command Center security marks associated with the asset. Note that both staging & prod SecurityMarks are attached on prod resources. In CAS
|
|
2043
|
+
* preprod/prod, both staging & prod SecurityMarks are ingested and returned in the following `security_marks` map. In that case, the prefix "staging." will be added to the keys of all
|
|
2044
|
+
* the staging marks. To search against SCC SecurityMarks field: * Use a field query: - query by a given key value pair. Example: `sccSecurityMarks.foo=bar` - query by a given key's
|
|
2045
|
+
* existence. Example: `sccSecurityMarks.foo:*`
|
|
2046
|
+
*/
|
|
2047
|
+
sccSecurityMarks?:
|
|
2048
|
+
{ [P in string]: string };
|
|
2041
2049
|
/**
|
|
2042
2050
|
* The state of this resource. Different resources types have different state definitions that are mapped from various fields of different resource types. This field is available only
|
|
2043
2051
|
* when the resource's Protobuf contains it. Example: If the resource is an instance provided by Compute Engine, its state will include PROVISIONING, STAGING, RUNNING, STOPPING,
|
package/package.json
CHANGED
package/tests.ts
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
4
4
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
5
5
|
|
|
6
|
-
// Revision:
|
|
6
|
+
// Revision: 20230902
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|