@maxim_mazurok/gapi.client.datastream-v1alpha1 0.1.20260121 → 0.1.20260204

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 (2) hide show
  1. package/index.d.ts +100 -2
  2. package/package.json +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://datastream.googleapis.com/$discovery/rest?version=v1alpha1
12
- // Revision: 20260121
12
+ // Revision: 20260204
13
13
 
14
14
  /// <reference types="gapi.client" />
15
15
 
@@ -48,6 +48,10 @@ declare namespace gapi.client {
48
48
  trigger?: string;
49
49
  }
50
50
  interface BackfillNoneStrategy {}
51
+ interface BadRequest {
52
+ /** Describes all violations in a client request. */
53
+ fieldViolations?: FieldViolation[];
54
+ }
51
55
  interface CancelOperationRequest {}
52
56
  interface ConnectionProfile {
53
57
  /** Output only. The create time of the resource. */
@@ -75,6 +79,12 @@ declare namespace gapi.client {
75
79
  /** Output only. The update time of the resource. */
76
80
  updateTime?: string;
77
81
  }
82
+ interface DebugInfo {
83
+ /** Additional debugging information provided by the server. */
84
+ detail?: string;
85
+ /** The stack trace entries indicating where the error occurred. */
86
+ stackEntries?: string[];
87
+ }
78
88
  interface DestinationConfig {
79
89
  /** Required. Destination connection profile identifier. */
80
90
  destinationConnectionProfileName?: string;
@@ -115,6 +125,14 @@ declare namespace gapi.client {
115
125
  /** A title that explains the reason for the error. */
116
126
  reason?: string;
117
127
  }
128
+ interface ErrorInfo {
129
+ /** The logical grouping to which the "reason" belongs. The error domain is typically the registered service name of the tool or product that generates the error. Example: "pubsub.googleapis.com". If the error is generated by some common infrastructure, the error domain must be a globally unique value that identifies the infrastructure. For Google API infrastructure, the error domain is "googleapis.com". */
130
+ domain?: string;
131
+ /** Additional structured details about this error. Keys must match a regular expression of `a-z+` but should ideally be lowerCamelCase. Also, they must be limited to 64 characters in length. When identifying the current value of an exceeded limit, the units should be contained in the key, not the value. For example, rather than `{"instanceLimit": "100/request"}`, should be returned as, `{"instanceLimitPerRequest": "100"}`, if the client exceeds the number of instances that can be created in a single (batch) request. */
132
+ metadata?: {[P in string]: string};
133
+ /** The reason of the error. This is a constant value that identifies the proximate cause of the error. Error reasons are unique within a particular domain of errors. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. */
134
+ reason?: string;
135
+ }
118
136
  interface FetchErrorsRequest {}
119
137
  interface FetchErrorsResponse {
120
138
  /** The list of errors on the Stream. */
@@ -126,6 +144,16 @@ declare namespace gapi.client {
126
144
  /** list of static ips by account */
127
145
  staticIps?: string[];
128
146
  }
147
+ interface FieldViolation {
148
+ /** A description of why the request element is bad. */
149
+ description?: string;
150
+ /** 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. */
151
+ field?: string;
152
+ /** Provides a localized error message for field-level errors that is safe to return to the API consumer. */
153
+ localizedMessage?: LocalizedMessage;
154
+ /** The reason of the field-level error. This is a constant value that identifies the proximate cause of the field-level error. It should uniquely identify the type of the FieldViolation within the scope of the google.rpc.ErrorInfo.domain. This should be at most 63 characters and match a regular expression of `A-Z+[A-Z0-9]`, which represents UPPER_SNAKE_CASE. */
155
+ reason?: string;
156
+ }
129
157
  interface ForwardSshTunnelConnectivity {
130
158
  /** Required. Hostname for the SSH tunnel. */
131
159
  hostname?: string;
@@ -158,12 +186,22 @@ declare namespace gapi.client {
158
186
  /** The root path inside the Cloud Storage bucket. */
159
187
  rootPath?: string;
160
188
  }
189
+ interface Help {
190
+ /** URL(s) pointing to additional information on handling the current error. */
191
+ links?: Link[];
192
+ }
161
193
  interface JsonFileFormat {
162
194
  /** Compression of the loaded JSON file. */
163
195
  compression?: string;
164
196
  /** The schema file format along JSON data files. */
165
197
  schemaFileFormat?: string;
166
198
  }
199
+ interface Link {
200
+ /** Describes what the link offers. */
201
+ description?: string;
202
+ /** The URL of the link. */
203
+ url?: string;
204
+ }
167
205
  interface ListConnectionProfilesResponse {
168
206
  /** List of connection profiles. */
169
207
  connectionProfiles?: ConnectionProfile[];
@@ -216,6 +254,12 @@ declare namespace gapi.client {
216
254
  /** Locations that could not be reached. */
217
255
  unreachable?: string[];
218
256
  }
257
+ interface LocalizedMessage {
258
+ /** The locale used following the specification defined at https://www.rfc-editor.org/rfc/bcp/bcp47.txt. Examples are: "en-US", "fr-CH", "es-MX" */
259
+ locale?: string;
260
+ /** The localized error message in the above locale. */
261
+ message?: string;
262
+ }
219
263
  interface Location {
220
264
  /** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
221
265
  displayName?: string;
@@ -393,6 +437,18 @@ declare namespace gapi.client {
393
437
  /** Table name. */
394
438
  tableName?: string;
395
439
  }
440
+ interface PreconditionFailure {
441
+ /** Describes all precondition violations. */
442
+ violations?: PreconditionFailureViolation[];
443
+ }
444
+ interface PreconditionFailureViolation {
445
+ /** A description of how the precondition failed. Developers can use this description to understand how to fix the failure. For example: "Terms of service not accepted". */
446
+ description?: string;
447
+ /** The subject, relative to the type, that failed. For example, "google.com/cloud" relative to the "TOS" type would indicate which terms of service is being referenced. */
448
+ subject?: string;
449
+ /** The type of PreconditionFailure. We recommend using a service-specific enum type to define the supported precondition violation subjects. For example, "TOS" for "Terms of Service violation". */
450
+ type?: string;
451
+ }
396
452
  interface PrivateConnection {
397
453
  /** Output only. The create time of the resource. */
398
454
  createTime?: string;
@@ -414,6 +470,48 @@ declare namespace gapi.client {
414
470
  interface PrivateConnectivity {
415
471
  privateConnectionName?: string;
416
472
  }
473
+ interface QuotaFailure {
474
+ /** Describes all quota violations. */
475
+ violations?: QuotaFailureViolation[];
476
+ }
477
+ interface QuotaFailureViolation {
478
+ /** 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". */
479
+ apiService?: string;
480
+ /** 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". */
481
+ description?: string;
482
+ /** The new quota value being rolled out at the time of the violation. At the completion of the rollout, this value will be enforced in place of quota_value. If no rollout is in progress at the time of the violation, this field is not set. For example, if at the time of the violation a rollout is in progress changing the number of CPUs quota from 10 to 20, 20 would be the value of this field. */
483
+ futureQuotaValue?: string;
484
+ /** The dimensions of the violated quota. Every non-global quota is enforced on a set of dimensions. While quota metric defines what to count, the dimensions specify for what aspects the counter should be increased. For example, the quota "CPUs per region per VM family" enforces a limit on the metric "compute.googleapis.com/cpus_per_vm_family" on dimensions "region" and "vm_family". And if the violation occurred in region "us-central1" and for VM family "n1", the quota_dimensions would be, { "region": "us-central1", "vm_family": "n1", } When a quota is enforced globally, the quota_dimensions would always be empty. */
485
+ quotaDimensions?: {[P in string]: string};
486
+ /** The id of the violated quota. Also know as "limit name", this is the unique identifier of a quota in the context of an API service. For example, "CPUS-PER-VM-FAMILY-per-project-region". */
487
+ quotaId?: string;
488
+ /** The metric of the violated quota. A quota metric is a named counter to measure usage, such as API requests or CPUs. When an activity occurs in a service, such as Virtual Machine allocation, one or more quota metrics may be affected. For example, "compute.googleapis.com/cpus_per_vm_family", "storage.googleapis.com/internet_egress_bandwidth". */
489
+ quotaMetric?: string;
490
+ /** The enforced quota value at the time of the `QuotaFailure`. For example, if the enforced quota value at the time of the `QuotaFailure` on the number of CPUs is "10", then the value of this field would reflect this quantity. */
491
+ quotaValue?: string;
492
+ /** The subject on which the quota check failed. For example, "clientip:" or "project:". */
493
+ subject?: string;
494
+ }
495
+ interface RequestInfo {
496
+ /** An opaque string that should only be interpreted by the service generating it. For example, it can be used to identify requests in the service's logs. */
497
+ requestId?: string;
498
+ /** Any data that was used to serve this request. For example, an encrypted stack trace that can be sent back to the service provider for debugging. */
499
+ servingData?: string;
500
+ }
501
+ interface ResourceInfo {
502
+ /** Describes what error is encountered when accessing this resource. For example, updating a cloud project may require the `writer` permission on the developer console project. */
503
+ description?: string;
504
+ /** The owner of the resource (optional). For example, "user:" or "project:". */
505
+ owner?: string;
506
+ /** The name of the resource being accessed. For example, a shared calendar name: "example.com_4fghdhgsrgh@group.calendar.google.com", if the current error is google.rpc.Code.PERMISSION_DENIED. */
507
+ resourceName?: string;
508
+ /** A name for the type of resource being accessed, e.g. "sql table", "cloud storage bucket", "file", "Google calendar"; or the type URL of the resource: e.g. "type.googleapis.com/google.pubsub.v1.Topic". */
509
+ resourceType?: string;
510
+ }
511
+ interface RetryInfo {
512
+ /** Clients should wait at least this long between retrying the same request. */
513
+ retryDelay?: string;
514
+ }
417
515
  interface Route {
418
516
  /** Output only. The create time of the resource. */
419
517
  createTime?: string;
@@ -1763,7 +1861,7 @@ declare namespace gapi.client {
1763
1861
  /** Legacy upload protocol for media (e.g. "media", "multipart"). */
1764
1862
  uploadType?: string;
1765
1863
  }): Request<Location>;
1766
- /** Lists information about the supported locations for this service. */
1864
+ /** 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. */
1767
1865
  list(request?: {
1768
1866
  /** V1 error format. */
1769
1867
  '$.xgafv'?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maxim_mazurok/gapi.client.datastream-v1alpha1",
3
- "version": "0.1.20260121",
3
+ "version": "0.1.20260204",
4
4
  "description": "TypeScript typings for Datastream API v1alpha1",
5
5
  "repository": {
6
6
  "type": "git",