@maxim_mazurok/gapi.client.cloudasset-v1 0.2.20260306 → 0.2.20260529

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.
Files changed (3) hide show
  1. package/index.d.ts +7 -7
  2. package/package.json +1 -1
  3. package/readme.md +12 -0
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: 20260306
12
+ // Revision: 20260529
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -287,7 +287,7 @@ declare namespace gapi.client {
287
287
  pubsubDestination?: PubsubDestination;
288
288
  }
289
289
  interface GcsDestination {
290
- /** 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 Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result. */
290
+ /** The URI of the Cloud Storage object. It's the same URI that is used by gcloud storage. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the exported result. */
291
291
  uri?: string;
292
292
  /** The URI prefix of all generated Cloud Storage objects. Example: "gs://bucket_name/object_name_prefix". Each object URI is in format: "gs://bucket_name/object_name_prefix// and only contains assets for that type. starts from 0. Example: "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 will be returned if file with the same name "gs://bucket_name/object_name_prefix" already exists. */
293
293
  uriPrefix?: string;
@@ -404,7 +404,7 @@ declare namespace gapi.client {
404
404
  targetNode?: string;
405
405
  }
406
406
  interface GoogleCloudAssetV1GcsDestination {
407
- /** Required. 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 Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result. */
407
+ /** Required. The URI of the Cloud Storage object. It's the same URI that is used by gcloud storage. Example: "gs://bucket_name/object_name". See [Viewing and Editing Object Metadata](https://cloud.google.com/storage/docs/viewing-editing-metadata) for more information. If the specified Cloud Storage object already exists and there is no [hold](https://cloud.google.com/storage/docs/object-holds), it will be overwritten with the analysis result. */
408
408
  uri?: string;
409
409
  }
410
410
  interface GoogleCloudAssetV1GovernedContainer {
@@ -653,7 +653,7 @@ declare namespace gapi.client {
653
653
  requireScreenlock?: boolean;
654
654
  }
655
655
  interface GoogleIdentityAccesscontextmanagerV1EgressFrom {
656
- /** A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. */
656
+ /** A list of identities that are allowed access through [EgressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. */
657
657
  identities?: string[];
658
658
  /** Specifies the type of identities that are allowed access to outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. */
659
659
  identityType?:
@@ -694,7 +694,7 @@ declare namespace gapi.client {
694
694
  roles?: string[];
695
695
  }
696
696
  interface GoogleIdentityAccesscontextmanagerV1IngressFrom {
697
- /** A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, or third-party identity. For third-party identity, only single identities are supported and other identity types are not supported. The `v1` identities that have the prefix `user`, `group`, `serviceAccount`, and `principal` in https://cloud.google.com/iam/docs/principal-identifiers#v1 are supported. */
697
+ /** A list of identities that are allowed access through [IngressPolicy]. Identities can be an individual user, service account, Google group, third-party identity, or agent identity. For the list of supported identity types, see https://docs.cloud.google.com/vpc-service-controls/docs/supported-identities. */
698
698
  identities?: string[];
699
699
  /** Specifies the type of identities that are allowed access from outside the perimeter. If left unspecified, then members of `identities` field will be allowed access. */
700
700
  identityType?:
@@ -1075,7 +1075,7 @@ declare namespace gapi.client {
1075
1075
  /** Token to retrieve the next page of the results. */
1076
1076
  nextPageToken?: string;
1077
1077
  /** Each row hold a query result in the format of `Struct`. */
1078
- rows?: Array<{[P in string]: any}>;
1078
+ rows?: {[P in string]: any}[];
1079
1079
  /** Describes the format of the [rows]. */
1080
1080
  schema?: TableSchema;
1081
1081
  /** Total rows of the whole query results. */
@@ -1253,7 +1253,7 @@ declare namespace gapi.client {
1253
1253
  /** The status code, which should be an enum value of google.rpc.Code. */
1254
1254
  code?: number;
1255
1255
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
1256
- details?: Array<{[P in string]: any}>;
1256
+ details?: {[P in string]: any}[];
1257
1257
  /** A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client. */
1258
1258
  message?: string;
1259
1259
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.cloudasset-v1",
3
- "version": "0.2.20260306",
3
+ "version": "0.2.20260529",
4
4
  "description": "TypeScript typings for Cloud Asset API v1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -11,6 +11,18 @@ Install typings for Cloud Asset API:
11
11
  npm install @types/gapi.client.cloudasset-v1 --save-dev
12
12
  ```
13
13
 
14
+ ## TypeScript 6.0+
15
+
16
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
17
+
18
+ ```json
19
+ {
20
+ "compilerOptions": {
21
+ "types": ["gapi", "gapi.auth2", "gapi.client", "gapi.client.cloudasset-v1"]
22
+ }
23
+ }
24
+ ```
25
+
14
26
  ## Usage
15
27
 
16
28
  You need to initialize Google API client in your code: