@maxim_mazurok/gapi.client.datamigration-v1beta1 0.1.20260113 → 0.1.20260127
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 +100 -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://datamigration.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260127
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -40,6 +40,10 @@ declare namespace gapi.client {
|
|
|
40
40
|
/** The log type that this config enables. */
|
|
41
41
|
logType?: string;
|
|
42
42
|
}
|
|
43
|
+
interface BadRequest {
|
|
44
|
+
/** Describes all violations in a client request. */
|
|
45
|
+
fieldViolations?: FieldViolation[];
|
|
46
|
+
}
|
|
43
47
|
interface Binding {
|
|
44
48
|
/** The condition that is associated with this binding. If the condition evaluates to `true`, then this binding applies to the current request. If the condition evaluates to `false`, then this binding does not apply to the current request. However, a different role binding might grant the same role to one or more of the principals in this binding. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
45
49
|
condition?: Expr;
|
|
@@ -117,7 +121,21 @@ declare namespace gapi.client {
|
|
|
117
121
|
/** The database provider. */
|
|
118
122
|
provider?: string;
|
|
119
123
|
}
|
|
124
|
+
interface DebugInfo {
|
|
125
|
+
/** Additional debugging information provided by the server. */
|
|
126
|
+
detail?: string;
|
|
127
|
+
/** The stack trace entries indicating where the error occurred. */
|
|
128
|
+
stackEntries?: string[];
|
|
129
|
+
}
|
|
120
130
|
interface Empty {}
|
|
131
|
+
interface ErrorInfo {
|
|
132
|
+
/** 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". */
|
|
133
|
+
domain?: string;
|
|
134
|
+
/** 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. */
|
|
135
|
+
metadata?: {[P in string]: string};
|
|
136
|
+
/** 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. */
|
|
137
|
+
reason?: string;
|
|
138
|
+
}
|
|
121
139
|
interface Expr {
|
|
122
140
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
123
141
|
description?: string;
|
|
@@ -128,6 +146,16 @@ declare namespace gapi.client {
|
|
|
128
146
|
/** Optional. Title for the expression, i.e. a short string describing its purpose. This can be used e.g. in UIs which allow to enter the expression. */
|
|
129
147
|
title?: string;
|
|
130
148
|
}
|
|
149
|
+
interface FieldViolation {
|
|
150
|
+
/** A description of why the request element is bad. */
|
|
151
|
+
description?: string;
|
|
152
|
+
/** 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. */
|
|
153
|
+
field?: string;
|
|
154
|
+
/** Provides a localized error message for field-level errors that is safe to return to the API consumer. */
|
|
155
|
+
localizedMessage?: LocalizedMessage;
|
|
156
|
+
/** 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. */
|
|
157
|
+
reason?: string;
|
|
158
|
+
}
|
|
131
159
|
interface GenerateSshScriptRequest {
|
|
132
160
|
/** Required. Bastion VM Instance name to use or to create. */
|
|
133
161
|
vm?: string;
|
|
@@ -154,6 +182,16 @@ declare namespace gapi.client {
|
|
|
154
182
|
/** Output only. Name of the verb executed by the operation. */
|
|
155
183
|
verb?: string;
|
|
156
184
|
}
|
|
185
|
+
interface Help {
|
|
186
|
+
/** URL(s) pointing to additional information on handling the current error. */
|
|
187
|
+
links?: Link[];
|
|
188
|
+
}
|
|
189
|
+
interface Link {
|
|
190
|
+
/** Describes what the link offers. */
|
|
191
|
+
description?: string;
|
|
192
|
+
/** The URL of the link. */
|
|
193
|
+
url?: string;
|
|
194
|
+
}
|
|
157
195
|
interface ListConnectionProfilesResponse {
|
|
158
196
|
/** The response list of connection profiles. */
|
|
159
197
|
connectionProfiles?: ConnectionProfile[];
|
|
@@ -184,6 +222,12 @@ declare namespace gapi.client {
|
|
|
184
222
|
/** Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations. */
|
|
185
223
|
unreachable?: string[];
|
|
186
224
|
}
|
|
225
|
+
interface LocalizedMessage {
|
|
226
|
+
/** 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" */
|
|
227
|
+
locale?: string;
|
|
228
|
+
/** The localized error message in the above locale. */
|
|
229
|
+
message?: string;
|
|
230
|
+
}
|
|
187
231
|
interface Location {
|
|
188
232
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
189
233
|
displayName?: string;
|
|
@@ -282,9 +326,63 @@ declare namespace gapi.client {
|
|
|
282
326
|
/** Specifies the format of the policy. Valid values are `0`, `1`, and `3`. Requests that specify an invalid value are rejected. Any operation that affects conditional role bindings must specify version `3`. This requirement applies to the following operations: * Getting a policy that includes a conditional role binding * Adding a conditional role binding to a policy * Changing a conditional role binding in a policy * Removing any role binding, with or without a condition, from a policy that includes conditions **Important:** If you use IAM Conditions, you must include the `etag` field whenever you call `setIamPolicy`. If you omit this field, then IAM allows you to overwrite a version `3` policy with a version `1` policy, and all of the conditions in the version `3` policy are lost. If a policy does not include any conditions, operations on that policy may specify any valid version or leave the field unset. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies). */
|
|
283
327
|
version?: number;
|
|
284
328
|
}
|
|
329
|
+
interface PreconditionFailure {
|
|
330
|
+
/** Describes all precondition violations. */
|
|
331
|
+
violations?: PreconditionFailureViolation[];
|
|
332
|
+
}
|
|
333
|
+
interface PreconditionFailureViolation {
|
|
334
|
+
/** 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". */
|
|
335
|
+
description?: string;
|
|
336
|
+
/** 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. */
|
|
337
|
+
subject?: string;
|
|
338
|
+
/** 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". */
|
|
339
|
+
type?: string;
|
|
340
|
+
}
|
|
285
341
|
interface PromoteMigrationJobRequest {}
|
|
342
|
+
interface QuotaFailure {
|
|
343
|
+
/** Describes all quota violations. */
|
|
344
|
+
violations?: QuotaFailureViolation[];
|
|
345
|
+
}
|
|
346
|
+
interface QuotaFailureViolation {
|
|
347
|
+
/** 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". */
|
|
348
|
+
apiService?: string;
|
|
349
|
+
/** 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". */
|
|
350
|
+
description?: string;
|
|
351
|
+
/** 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. */
|
|
352
|
+
futureQuotaValue?: string;
|
|
353
|
+
/** 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. */
|
|
354
|
+
quotaDimensions?: {[P in string]: string};
|
|
355
|
+
/** 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". */
|
|
356
|
+
quotaId?: string;
|
|
357
|
+
/** 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". */
|
|
358
|
+
quotaMetric?: string;
|
|
359
|
+
/** 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. */
|
|
360
|
+
quotaValue?: string;
|
|
361
|
+
/** The subject on which the quota check failed. For example, "clientip:" or "project:". */
|
|
362
|
+
subject?: string;
|
|
363
|
+
}
|
|
364
|
+
interface RequestInfo {
|
|
365
|
+
/** 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. */
|
|
366
|
+
requestId?: string;
|
|
367
|
+
/** 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. */
|
|
368
|
+
servingData?: string;
|
|
369
|
+
}
|
|
370
|
+
interface ResourceInfo {
|
|
371
|
+
/** 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. */
|
|
372
|
+
description?: string;
|
|
373
|
+
/** The owner of the resource (optional). For example, "user:" or "project:". */
|
|
374
|
+
owner?: string;
|
|
375
|
+
/** 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. */
|
|
376
|
+
resourceName?: string;
|
|
377
|
+
/** 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". */
|
|
378
|
+
resourceType?: string;
|
|
379
|
+
}
|
|
286
380
|
interface RestartMigrationJobRequest {}
|
|
287
381
|
interface ResumeMigrationJobRequest {}
|
|
382
|
+
interface RetryInfo {
|
|
383
|
+
/** Clients should wait at least this long between retrying the same request. */
|
|
384
|
+
retryDelay?: string;
|
|
385
|
+
}
|
|
288
386
|
interface ReverseSshConnectivity {
|
|
289
387
|
/** The name of the virtual machine (Compute Engine) used as the bastion server for the SSH tunnel. */
|
|
290
388
|
vm?: string;
|
|
@@ -1586,7 +1684,7 @@ declare namespace gapi.client {
|
|
|
1586
1684
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1587
1685
|
uploadType?: string;
|
|
1588
1686
|
}): Request<Location>;
|
|
1589
|
-
/** Lists information about the supported locations for this service. */
|
|
1687
|
+
/** 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. */
|
|
1590
1688
|
list(request?: {
|
|
1591
1689
|
/** V1 error format. */
|
|
1592
1690
|
'$.xgafv'?: string;
|