@maxim_mazurok/gapi.client.cloudasset-v1p7beta1 0.0.20221221 → 0.0.20230121
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 +15 -12
- package/package.json +1 -1
- package/readme.md +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=v1p7beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20230121
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -95,10 +95,10 @@ declare namespace gapi.client {
|
|
|
95
95
|
/** The type of the asset. Example: `compute.googleapis.com/Disk` See [Supported asset types](https://cloud.google.com/asset-inventory/docs/supported-asset-types) for more information. */
|
|
96
96
|
assetType?: string;
|
|
97
97
|
/**
|
|
98
|
-
* A representation of the
|
|
99
|
-
*
|
|
100
|
-
*
|
|
101
|
-
*
|
|
98
|
+
* A representation of the IAM policy set on a Google Cloud resource. There can be a maximum of one IAM policy set on any given resource. In addition, IAM policies inherit their
|
|
99
|
+
* granted access scope from any policies set on parent resources in the resource hierarchy. Therefore, the effectively policy is the union of both the policy set on this resource and
|
|
100
|
+
* each policy set on all of the resource's ancestry resource levels in the hierarchy. See [this topic](https://cloud.google.com/iam/help/allow-policies/inheritance) for more
|
|
101
|
+
* information.
|
|
102
102
|
*/
|
|
103
103
|
iamPolicy?: Policy;
|
|
104
104
|
/**
|
|
@@ -184,12 +184,12 @@ declare namespace gapi.client {
|
|
|
184
184
|
}
|
|
185
185
|
interface GoogleCloudAssetV1p7beta1GcsDestination {
|
|
186
186
|
/**
|
|
187
|
-
* The
|
|
187
|
+
* The URI of the Cloud Storage object. It's the same URI that is used by gsutil. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object
|
|
188
188
|
* Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.
|
|
189
189
|
*/
|
|
190
190
|
uri?: string;
|
|
191
191
|
/**
|
|
192
|
-
* The
|
|
192
|
+
* The URI prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object URI is in format:
|
|
193
193
|
* "gs://bucket_name/object_name_prefix/{ASSET_TYPE}/{SHARD_NUMBER} and only contains assets for that type. starts from 0. Example:
|
|
194
194
|
* "gs://bucket_name/object_name_prefix/compute.googleapis.com/Disk/0" is the first shard of output objects containing all compute.googleapis.com/Disk assets. An INVALID_ARGUMENT error
|
|
195
195
|
* will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.
|
|
@@ -253,7 +253,7 @@ declare namespace gapi.client {
|
|
|
253
253
|
location?: string;
|
|
254
254
|
/**
|
|
255
255
|
* The full name of the immediate parent of this resource. See [Resource Names](https://cloud.google.com/apis/design/resource_names#full_resource_name) for more information. For Google
|
|
256
|
-
* Cloud assets, this value is the parent resource defined in the [
|
|
256
|
+
* Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
|
|
257
257
|
* `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
|
|
258
258
|
*/
|
|
259
259
|
parent?: string;
|
|
@@ -508,9 +508,9 @@ declare namespace gapi.client {
|
|
|
508
508
|
*/
|
|
509
509
|
accessLevel?: string;
|
|
510
510
|
/**
|
|
511
|
-
* A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects are
|
|
512
|
-
*
|
|
513
|
-
* allowing all Google Cloud resources only is not supported.
|
|
511
|
+
* A Google Cloud resource that is allowed to ingress the perimeter. Requests from these resources will be allowed to access perimeter data. Currently only projects and VPCs are
|
|
512
|
+
* allowed. Project format: `projects/{project_number}` VPC format: `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`. The project may be in any Google Cloud
|
|
513
|
+
* organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of allowing all Google Cloud resources only is not supported.
|
|
514
514
|
*/
|
|
515
515
|
resource?: string;
|
|
516
516
|
}
|
|
@@ -590,7 +590,10 @@ declare namespace gapi.client {
|
|
|
590
590
|
* grants it. Must be empty for a perimeter bridge.
|
|
591
591
|
*/
|
|
592
592
|
ingressPolicies?: GoogleIdentityAccesscontextmanagerV1IngressPolicy[];
|
|
593
|
-
/**
|
|
593
|
+
/**
|
|
594
|
+
* A list of Google Cloud resources that are inside of the service perimeter. Currently only projects and VPCs are allowed. Project format: `projects/{project_number}` VPC format:
|
|
595
|
+
* `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
|
|
596
|
+
*/
|
|
594
597
|
resources?: string[];
|
|
595
598
|
/**
|
|
596
599
|
* Google Cloud services that are subject to the Service Perimeter restrictions. For example, if `storage.googleapis.com` is specified, access to the storage buckets inside the
|
package/package.json
CHANGED
package/readme.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# TypeScript typings for Cloud Asset API v1p7beta1
|
|
2
2
|
|
|
3
|
-
The
|
|
3
|
+
The Cloud Asset API manages the history and inventory of Google Cloud resources.
|
|
4
4
|
For detailed description please check [documentation](https://cloud.google.com/asset-inventory/docs/quickstart).
|
|
5
5
|
|
|
6
6
|
## Installing
|
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: 20230121
|
|
7
7
|
|
|
8
8
|
gapi.load('client', async () => {
|
|
9
9
|
/** now we can use gapi.client */
|