@maxim_mazurok/gapi.client.cloudasset-v1beta1 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 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=v1beta1
12
- // Revision: 20221221
12
+ // Revision: 20230121
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -37,10 +37,10 @@ declare namespace gapi.client {
37
37
  /** 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. */
38
38
  assetType?: string;
39
39
  /**
40
- * A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies
41
- * inherit their 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
42
- * resource and 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
43
- * more information.
40
+ * 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
41
+ * 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
42
+ * 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
43
+ * information.
44
44
  */
45
45
  iamPolicy?: Policy;
46
46
  /**
@@ -132,12 +132,12 @@ declare namespace gapi.client {
132
132
  }
133
133
  interface GcsDestination {
134
134
  /**
135
- * The uri of the Cloud Storage object. It's the same uri that is used by gsutil. For example: "gs://bucket_name/object_name". See [Viewing and Editing Object
135
+ * The URI of the Cloud Storage object. It's the same URI that is used by gsutil. For example: "gs://bucket_name/object_name". See [Viewing and Editing Object
136
136
  * Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information.
137
137
  */
138
138
  uri?: string;
139
139
  /**
140
- * The uri prefix of all generated Cloud Storage objects. For example: "gs://bucket_name/object_name_prefix". Each object uri is in format: "gs://bucket_name/object_name_prefix// and
140
+ * The URI prefix of all generated Cloud Storage objects. For example: "gs://bucket_name/object_name_prefix". Each object URI is in format: "gs://bucket_name/object_name_prefix// and
141
141
  * only contains assets for that type. starts from 0. For example: "gs://bucket_name/object_name_prefix/google.compute.disk/0" is the first shard of output objects containing all
142
142
  * google.compute.disk assets. An INVALID_ARGUMENT error will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists.
143
143
  */
@@ -157,10 +157,10 @@ declare namespace gapi.client {
157
157
  /** 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. */
158
158
  assetType?: string;
159
159
  /**
160
- * A representation of the Cloud IAM policy set on a Google Cloud resource. There can be a maximum of one Cloud IAM policy set on any given resource. In addition, Cloud IAM policies
161
- * inherit their 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
162
- * resource and 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
163
- * more information.
160
+ * 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
161
+ * 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
162
+ * 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
163
+ * information.
164
164
  */
165
165
  iamPolicy?: Policy;
166
166
  /**
@@ -229,7 +229,7 @@ declare namespace gapi.client {
229
229
  location?: string;
230
230
  /**
231
231
  * 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
232
- * Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
232
+ * Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
233
233
  * `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
234
234
  */
235
235
  parent?: string;
@@ -484,9 +484,9 @@ declare namespace gapi.client {
484
484
  */
485
485
  accessLevel?: string;
486
486
  /**
487
- * 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 allowed.
488
- * Format: `projects/{project_number}` The project may be in any Google Cloud organization, not just the organization that the perimeter is defined in. `*` is not allowed, the case of
489
- * allowing all Google Cloud resources only is not supported.
487
+ * 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
488
+ * 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
489
+ * 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.
490
490
  */
491
491
  resource?: string;
492
492
  }
@@ -566,7 +566,10 @@ declare namespace gapi.client {
566
566
  * grants it. Must be empty for a perimeter bridge.
567
567
  */
568
568
  ingressPolicies?: GoogleIdentityAccesscontextmanagerV1IngressPolicy[];
569
- /** A list of Google Cloud resources that are inside of the service perimeter. Currently only projects are allowed. Format: `projects/{project_number}` */
569
+ /**
570
+ * 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:
571
+ * `//compute.googleapis.com/projects/{PROJECT_ID}/global/networks/{NAME}`.
572
+ */
570
573
  resources?: string[];
571
574
  /**
572
575
  * 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
@@ -654,7 +657,7 @@ declare namespace gapi.client {
654
657
  discoveryName?: string;
655
658
  /**
656
659
  * 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
657
- * Cloud assets, this value is the parent resource defined in the [Cloud IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
660
+ * Cloud assets, this value is the parent resource defined in the [IAM policy hierarchy](https://cloud.google.com/iam/docs/overview#policy_hierarchy). Example:
658
661
  * `//cloudresourcemanager.googleapis.com/projects/my_project_123` For third-party assets, this field may be set differently.
659
662
  */
660
663
  parent?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudasset-v1beta1",
3
- "version": "0.0.20221221",
3
+ "version": "0.0.20230121",
4
4
  "description": "TypeScript typings for Cloud Asset API v1beta1",
5
5
  "license": "MIT",
6
6
  "author": {
package/readme.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # TypeScript typings for Cloud Asset API v1beta1
2
2
 
3
- The cloud asset API manages the history and inventory of cloud resources.
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: 20221221
6
+ // Revision: 20230121
7
7
 
8
8
  gapi.load('client', async () => {
9
9
  /** now we can use gapi.client */