@maxim_mazurok/gapi.client.datastream-v1alpha1 0.2.20260315 → 0.2.20260603

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 +6 -6
  2. package/package.json +1 -1
  3. package/readme.md +17 -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://datastream.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20260315
12
+ // Revision: 20260603
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -155,7 +155,7 @@ declare namespace gapi.client {
155
155
  interface FieldViolation {
156
156
  /** A description of why the request element is bad. */
157
157
  description?: string;
158
- /** A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[1].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[3].type[2]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[1].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[3].type[2]` for a violation in the second `type` value in the third `emailAddresses` message. */
158
+ /** A path that leads to a field in the request body. The value will be a sequence of dot-separated identifiers that identify a protocol buffer field. Consider the following: message CreateContactRequest { message EmailAddress { enum Type { TYPE_UNSPECIFIED = 0; HOME = 1; WORK = 2; } optional string email = 1; repeated EmailType type = 2; } string full_name = 1; repeated EmailAddress email_addresses = 2; } In this example, in proto `field` could take one of the following values: * `full_name` for a violation in the `full_name` value * `email_addresses[0].email` for a violation in the `email` field of the first `email_addresses` message * `email_addresses[2].type[1]` for a violation in the second `type` value in the third `email_addresses` message. In JSON, the same values are represented as: * `fullName` for a violation in the `fullName` value * `emailAddresses[0].email` for a violation in the `email` field of the first `emailAddresses` message * `emailAddresses[2].type[1]` for a violation in the second `type` value in the third `emailAddresses` message. */
159
159
  field?: string;
160
160
  /** Provides a localized error message for field-level errors that is safe to return to the API consumer. */
161
161
  localizedMessage?: LocalizedMessage;
@@ -492,7 +492,7 @@ declare namespace gapi.client {
492
492
  violations?: QuotaFailureViolation[];
493
493
  }
494
494
  interface QuotaFailureViolation {
495
- /** The API Service from which the `QuotaFailure.Violation` orginates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */
495
+ /** The API Service from which the `QuotaFailure.Violation` originates. In some cases, Quota issues originate from an API Service other than the one that was called. In other words, a dependency of the called API Service could be the cause of the `QuotaFailure`, and this field would have the dependency API service name. For example, if the called API is Kubernetes Engine API (container.googleapis.com), and a quota violation occurs in the Kubernetes Engine API itself, this field would be "container.googleapis.com". On the other hand, if the quota violation occurs when the Kubernetes Engine API creates VMs in the Compute Engine API (compute.googleapis.com), this field would be "compute.googleapis.com". */
496
496
  apiService?: string;
497
497
  /** A description of how the quota check failed. Clients can use this description to find more about the quota configuration in the service's public documentation, or find the relevant quota limit to adjust through developer console. For example: "Service disabled" or "Daily Limit for read operations exceeded". */
498
498
  description?: string;
@@ -568,7 +568,7 @@ declare namespace gapi.client {
568
568
  /** The status code, which should be an enum value of google.rpc.Code. */
569
569
  code?: number;
570
570
  /** A list of messages that carry the error details. There is a common set of message types for APIs to use. */
571
- details?: Array<{[P in string]: any}>;
571
+ details?: {[P in string]: any}[];
572
572
  /** 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. */
573
573
  message?: string;
574
574
  }
@@ -1887,7 +1887,7 @@ declare namespace gapi.client {
1887
1887
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1888
1888
  uploadType?: string;
1889
1889
  }): Request<Location>;
1890
- /** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
1890
+ /** Lists information about the supported locations for this service. This method lists locations based on the resource scope provided in the ListLocationsRequest.name field: * **Global locations**: If `name` is empty, the method lists the public locations available to all projects. * **Project-specific locations**: If `name` follows the format `projects/{project}`, the method lists locations visible to that specific project. This includes public, private, or other project-specific locations enabled for the project. For gRPC and client library implementations, the resource name is passed as the `name` field. For direct service calls, the resource name is incorporated into the request path based on the specific service implementation and version. */
1891
1891
  list(request?: {
1892
1892
  /** V1 error format. */
1893
1893
  '$.xgafv'?: '1' | '2';
@@ -1897,7 +1897,7 @@ declare namespace gapi.client {
1897
1897
  alt?: 'json' | 'media' | 'proto';
1898
1898
  /** JSONP */
1899
1899
  callback?: string;
1900
- /** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
1900
+ /** Optional. Do not use this field unless explicitly documented otherwise. This is primarily for internal usage. */
1901
1901
  extraLocationTypes?: string | string[];
1902
1902
  /** Selector specifying which fields to include in a partial response. */
1903
1903
  fields?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastream-v1alpha1",
3
- "version": "0.2.20260315",
3
+ "version": "0.2.20260603",
4
4
  "description": "TypeScript typings for Datastream API v1alpha1",
5
5
  "repository": {
6
6
  "type": "git",
package/readme.md CHANGED
@@ -10,6 +10,23 @@ Install typings for Datastream API:
10
10
  npm install @types/gapi.client.datastream-v1alpha1 --save-dev
11
11
  ```
12
12
 
13
+ ## TypeScript 6.0+
14
+
15
+ TypeScript 6.0 changed `types` to default to `[]`. You must now explicitly list type packages in `tsconfig.json`:
16
+
17
+ ```json
18
+ {
19
+ "compilerOptions": {
20
+ "types": [
21
+ "gapi",
22
+ "gapi.auth2",
23
+ "gapi.client",
24
+ "gapi.client.datastream-v1alpha1"
25
+ ]
26
+ }
27
+ }
28
+ ```
29
+
13
30
  ## Usage
14
31
 
15
32
  You need to initialize Google API client in your code: