@maxim_mazurok/gapi.client.datamigration-v1 0.0.20221201 → 0.0.20221220
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 +1455 -117
- package/package.json +1 -1
- package/tests.ts +250 -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=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20221220
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -40,6 +40,12 @@ declare namespace gapi.client {
|
|
|
40
40
|
*/
|
|
41
41
|
vpcNetwork?: string;
|
|
42
42
|
}
|
|
43
|
+
interface ApplyConversionWorkspaceRequest {
|
|
44
|
+
/** Fully qualified (Uri) name of the destination connection profile. */
|
|
45
|
+
connectionProfile?: string;
|
|
46
|
+
/** Filter which entities to apply. Leaving this field empty will apply all of the entities. Supports Google AIP 160 based filtering. */
|
|
47
|
+
filter?: string;
|
|
48
|
+
}
|
|
43
49
|
interface AuditConfig {
|
|
44
50
|
/** The configuration for logging of each type of permission. */
|
|
45
51
|
auditLogConfigs?: AuditLogConfig[];
|
|
@@ -55,6 +61,26 @@ declare namespace gapi.client {
|
|
|
55
61
|
/** The log type that this config enables. */
|
|
56
62
|
logType?: string;
|
|
57
63
|
}
|
|
64
|
+
interface BackgroundJobLogEntry {
|
|
65
|
+
/** Job completion comment, such as how many entities were seeded, how many warnings were found during conversion and similar information. */
|
|
66
|
+
completionComment?: string;
|
|
67
|
+
/** Job completion state, i.e. the final state after the job completed. */
|
|
68
|
+
completionState?: string;
|
|
69
|
+
/** The timestamp when the background job was finished. */
|
|
70
|
+
finishTime?: string;
|
|
71
|
+
/** The background job log entry id */
|
|
72
|
+
id?: string;
|
|
73
|
+
/** Import rules job details */
|
|
74
|
+
importRulesJobDetails?: ImportRulesJobDetails;
|
|
75
|
+
/** The type of job that was executed. */
|
|
76
|
+
jobType?: string;
|
|
77
|
+
/** Whether the client requested the conversion workspace to be committed after a successful completion of the job. */
|
|
78
|
+
requestAutocommit?: boolean;
|
|
79
|
+
/** Seed job details */
|
|
80
|
+
seedJobDetails?: SeedJobDetails;
|
|
81
|
+
/** The timestamp when the background job was started. */
|
|
82
|
+
startTime?: string;
|
|
83
|
+
}
|
|
58
84
|
interface Binding {
|
|
59
85
|
/**
|
|
60
86
|
* 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`,
|
|
@@ -156,6 +182,48 @@ declare namespace gapi.client {
|
|
|
156
182
|
/** The Google Cloud Platform zone where your Cloud SQL database instance is located. */
|
|
157
183
|
zone?: string;
|
|
158
184
|
}
|
|
185
|
+
interface ColumnEntity {
|
|
186
|
+
/** Is the column of array type */
|
|
187
|
+
array?: boolean;
|
|
188
|
+
/** If the column is array, of which length */
|
|
189
|
+
arrayLength?: number;
|
|
190
|
+
/** Is the column auto-generated/identity */
|
|
191
|
+
autoGenerated?: boolean;
|
|
192
|
+
/** Charset override - instead of table level charset */
|
|
193
|
+
charset?: string;
|
|
194
|
+
/** Collation override - instead of table level collation */
|
|
195
|
+
collation?: string;
|
|
196
|
+
/** Comment associated with the column */
|
|
197
|
+
comment?: string;
|
|
198
|
+
/** Custom engine specific features */
|
|
199
|
+
customFeatures?: { [P in string]: any };
|
|
200
|
+
/** Column data type */
|
|
201
|
+
dataType?: string;
|
|
202
|
+
/** Default value of the column */
|
|
203
|
+
defaultValue?: string;
|
|
204
|
+
/** Column fractional second precision - used for timestamp based datatypes */
|
|
205
|
+
fractionalSecondsPrecision?: number;
|
|
206
|
+
/** Column length - e.g. varchar (50) */
|
|
207
|
+
length?: string;
|
|
208
|
+
/** Column name */
|
|
209
|
+
name?: string;
|
|
210
|
+
/** Is the column nullable */
|
|
211
|
+
nullable?: boolean;
|
|
212
|
+
/** Column order in the table */
|
|
213
|
+
ordinalPosition?: number;
|
|
214
|
+
/** Column precision - when relevant */
|
|
215
|
+
precision?: number;
|
|
216
|
+
/** Column scale - when relevant */
|
|
217
|
+
scale?: number;
|
|
218
|
+
/** Specifies the list of values allowed in the column. List is empty if set values is not required */
|
|
219
|
+
setValues?: string[];
|
|
220
|
+
/** Is the column a UDT */
|
|
221
|
+
udt?: boolean;
|
|
222
|
+
}
|
|
223
|
+
interface CommitConversionWorkspaceRequest {
|
|
224
|
+
/** Optional. Optional name of the commit. */
|
|
225
|
+
commitName?: string;
|
|
226
|
+
}
|
|
159
227
|
interface ConnectionProfile {
|
|
160
228
|
/** An AlloyDB cluster connection profile. */
|
|
161
229
|
alloydb?: AlloyDbConnectionProfile;
|
|
@@ -176,6 +244,8 @@ declare namespace gapi.client {
|
|
|
176
244
|
mysql?: MySqlConnectionProfile;
|
|
177
245
|
/** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
|
|
178
246
|
name?: string;
|
|
247
|
+
/** An Oracle database connection profile. */
|
|
248
|
+
oracle?: OracleConnectionProfile;
|
|
179
249
|
/** A PostgreSQL database connection profile. */
|
|
180
250
|
postgresql?: PostgreSqlConnectionProfile;
|
|
181
251
|
/** The database provider. */
|
|
@@ -185,12 +255,121 @@ declare namespace gapi.client {
|
|
|
185
255
|
/** Output only. The timestamp when the resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
|
|
186
256
|
updateTime?: string;
|
|
187
257
|
}
|
|
258
|
+
interface ConstraintEntity {
|
|
259
|
+
/** Custom engine specific features */
|
|
260
|
+
customFeatures?: { [P in string]: any };
|
|
261
|
+
/** The name of the table constraint */
|
|
262
|
+
name?: string;
|
|
263
|
+
/**
|
|
264
|
+
* Reference Columns which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full names of referenced columns by the foreign
|
|
265
|
+
* key.
|
|
266
|
+
*/
|
|
267
|
+
referenceColumns?: string[];
|
|
268
|
+
/**
|
|
269
|
+
* Reference table which may be associated with the constraint. eg: if the constraint is a FOREIGN_KEY, this represents the list of full name of the referenced table by the foreign
|
|
270
|
+
* key.
|
|
271
|
+
*/
|
|
272
|
+
referenceTable?: string;
|
|
273
|
+
/** Table columns used as part of the Constraint for e.g. primary key constraint should list the columns which constitutes the key */
|
|
274
|
+
tableColumns?: string[];
|
|
275
|
+
/**
|
|
276
|
+
* Table which is associated with the constraint. In case the constraint is defined on a table, this field is left empty as this information is stored in parent_name. However, if
|
|
277
|
+
* constraint is defined on a view, this field stores the table name on which the view is defined.
|
|
278
|
+
*/
|
|
279
|
+
tableName?: string;
|
|
280
|
+
/** Type of constraint - e.g. unique, primary key, foreign key (currently only primary key is supported) */
|
|
281
|
+
type?: string;
|
|
282
|
+
}
|
|
283
|
+
interface ConversionWorkspace {
|
|
284
|
+
/** Output only. The timestamp when the workspace resource was created. */
|
|
285
|
+
createTime?: string;
|
|
286
|
+
/** Required. The destination engine details. */
|
|
287
|
+
destination?: DatabaseEngineInfo;
|
|
288
|
+
/** The display name for the workspace */
|
|
289
|
+
displayName?: string;
|
|
290
|
+
/**
|
|
291
|
+
* A generic list of settings for the workspace. The settings are database pair dependant and can indicate default behavior for the mapping rules engine or turn on or off specific
|
|
292
|
+
* features. Such examples can be: convert_foreign_key_to_interleave=true, skip_triggers=false, ignore_non_table_synonyms=true
|
|
293
|
+
*/
|
|
294
|
+
globalSettings?: { [P in string]: string };
|
|
295
|
+
/** Output only. Whether the workspace has uncommitted changes (changes which were made after the workspace was committed) */
|
|
296
|
+
hasUncommittedChanges?: boolean;
|
|
297
|
+
/** Output only. The latest commit id */
|
|
298
|
+
latestCommitId?: string;
|
|
299
|
+
/** Output only. The timestamp when the workspace was committed. */
|
|
300
|
+
latestCommitTime?: string;
|
|
301
|
+
/** Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
302
|
+
name?: string;
|
|
303
|
+
/** Required. The source engine details. */
|
|
304
|
+
source?: DatabaseEngineInfo;
|
|
305
|
+
/** Output only. The timestamp when the workspace resource was last updated. */
|
|
306
|
+
updateTime?: string;
|
|
307
|
+
}
|
|
308
|
+
interface ConversionWorkspaceInfo {
|
|
309
|
+
/** The commit ID of the conversion workspace. */
|
|
310
|
+
commitId?: string;
|
|
311
|
+
/** The resource name (URI) of the conversion workspace. */
|
|
312
|
+
name?: string;
|
|
313
|
+
}
|
|
314
|
+
interface ConvertConversionWorkspaceRequest {
|
|
315
|
+
/** Should the conversion workspace be committed automatically after the conversion. */
|
|
316
|
+
autoCommit?: boolean;
|
|
317
|
+
/** Filter the entities to convert. Leaving this field empty will convert all of the entities. Supports Google AIP-160 style filtering. */
|
|
318
|
+
filter?: string;
|
|
319
|
+
}
|
|
320
|
+
interface DatabaseEngineInfo {
|
|
321
|
+
/** Required. Engine Type. */
|
|
322
|
+
engine?: string;
|
|
323
|
+
/** Required. Engine named version, for e.g. 12.c.1 */
|
|
324
|
+
version?: string;
|
|
325
|
+
}
|
|
326
|
+
interface DatabaseEntity {
|
|
327
|
+
/** Function */
|
|
328
|
+
databaseFunction?: FunctionEntity;
|
|
329
|
+
/** Package */
|
|
330
|
+
databasePackage?: PackageEntity;
|
|
331
|
+
/** The type of the database entity (table, view, index, ...). */
|
|
332
|
+
entityType?: string;
|
|
333
|
+
/**
|
|
334
|
+
* Details about entity mappings. For source tree entities, this holds the draft entities which were generated by the mapping rules. For draft tree entities, this holds the source
|
|
335
|
+
* entities which were converted to form the draft entity. Destination entities will have no mapping details.
|
|
336
|
+
*/
|
|
337
|
+
mappings?: EntityMapping[];
|
|
338
|
+
/** The full name of the parent entity (e.g. schema name). */
|
|
339
|
+
parentEntity?: string;
|
|
340
|
+
/** Schema. */
|
|
341
|
+
schema?: SchemaEntity;
|
|
342
|
+
/** Sequence */
|
|
343
|
+
sequence?: SequenceEntity;
|
|
344
|
+
/** The short name (e.g. table name) of the entity. */
|
|
345
|
+
shortName?: string;
|
|
346
|
+
/** Stored Procedure */
|
|
347
|
+
storedProcedure?: StoredProcedureEntity;
|
|
348
|
+
/** Synonym */
|
|
349
|
+
synonym?: SynonymEntity;
|
|
350
|
+
/** Table. */
|
|
351
|
+
table?: TableEntity;
|
|
352
|
+
/** The type of tree the entity belongs to. */
|
|
353
|
+
tree?: string;
|
|
354
|
+
/** View */
|
|
355
|
+
view?: ViewEntity;
|
|
356
|
+
}
|
|
188
357
|
interface DatabaseType {
|
|
189
358
|
/** The database engine. */
|
|
190
359
|
engine?: string;
|
|
191
360
|
/** The database provider. */
|
|
192
361
|
provider?: string;
|
|
193
362
|
}
|
|
363
|
+
interface DescribeConversionWorkspaceRevisionsResponse {
|
|
364
|
+
/** The list of conversion workspace revisions. */
|
|
365
|
+
revisions?: ConversionWorkspace[];
|
|
366
|
+
}
|
|
367
|
+
interface DescribeDatabaseEntitiesResponse {
|
|
368
|
+
/** The list of database entities for the conversion workspace. */
|
|
369
|
+
databaseEntities?: DatabaseEntity[];
|
|
370
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
371
|
+
nextPageToken?: string;
|
|
372
|
+
}
|
|
194
373
|
interface DumpFlag {
|
|
195
374
|
/** The name of the flag */
|
|
196
375
|
name?: string;
|
|
@@ -204,6 +383,25 @@ declare namespace gapi.client {
|
|
|
204
383
|
// tslint:disable-next-line:no-empty-interface
|
|
205
384
|
interface Empty {
|
|
206
385
|
}
|
|
386
|
+
interface EntityMapping {
|
|
387
|
+
/** Target entity full name. The draft entity can also include a column, index or constraint using the same naming notation schema.table.column */
|
|
388
|
+
draftEntity?: string;
|
|
389
|
+
/**
|
|
390
|
+
* Entity mapping log entries. Multiple rules can be effective and contribute changes to a converted entity such as, a rule can handle the entity name, another rule can handle an
|
|
391
|
+
* entity type. In addition, rules which did not change the entity are also logged along the with the reason preventing them to do so.
|
|
392
|
+
*/
|
|
393
|
+
mappingLog?: EntityMappingLogEntry[];
|
|
394
|
+
/** Source entity full name. The source entity can also be a column, index or constraint using the same naming notation schema.table.column */
|
|
395
|
+
sourceEntity?: string;
|
|
396
|
+
}
|
|
397
|
+
interface EntityMappingLogEntry {
|
|
398
|
+
/** Comment. */
|
|
399
|
+
mappingComment?: string;
|
|
400
|
+
/** Which rule caused it. */
|
|
401
|
+
ruleId?: string;
|
|
402
|
+
/** Rule revision id */
|
|
403
|
+
ruleRevisionId?: string;
|
|
404
|
+
}
|
|
207
405
|
interface Expr {
|
|
208
406
|
/** Optional. Description of the expression. This is a longer text which describes the expression, e.g. when hovered over it in a UI. */
|
|
209
407
|
description?: string;
|
|
@@ -214,6 +412,24 @@ declare namespace gapi.client {
|
|
|
214
412
|
/** 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. */
|
|
215
413
|
title?: string;
|
|
216
414
|
}
|
|
415
|
+
interface ForwardSshTunnelConnectivity {
|
|
416
|
+
/** Required. Hostname for the SSH tunnel. */
|
|
417
|
+
hostname?: string;
|
|
418
|
+
/** Input only. SSH password. */
|
|
419
|
+
password?: string;
|
|
420
|
+
/** Port for the SSH tunnel, default value is 22. */
|
|
421
|
+
port?: number;
|
|
422
|
+
/** Input only. SSH private key. */
|
|
423
|
+
privateKey?: string;
|
|
424
|
+
/** Required. Username for the SSH tunnel. */
|
|
425
|
+
username?: string;
|
|
426
|
+
}
|
|
427
|
+
interface FunctionEntity {
|
|
428
|
+
/** Custom engine specific features */
|
|
429
|
+
customFeatures?: { [P in string]: any };
|
|
430
|
+
/** The SQL code which creates the function */
|
|
431
|
+
sqlCode?: string;
|
|
432
|
+
}
|
|
217
433
|
interface GenerateSshScriptRequest {
|
|
218
434
|
/** Required. Bastion VM Instance name to use or to create. */
|
|
219
435
|
vm?: string;
|
|
@@ -243,6 +459,32 @@ declare namespace gapi.client {
|
|
|
243
459
|
/** Output only. Name of the verb executed by the operation. */
|
|
244
460
|
verb?: string;
|
|
245
461
|
}
|
|
462
|
+
interface ImportMappingRulesRequest {
|
|
463
|
+
/** Should the conversion workspace be committed automatically after the import operation. */
|
|
464
|
+
autoCommit?: boolean;
|
|
465
|
+
/** One or more rules files */
|
|
466
|
+
rulesFiles?: RulesFile[];
|
|
467
|
+
/** The format of the rules content file. */
|
|
468
|
+
rulesFormat?: string;
|
|
469
|
+
}
|
|
470
|
+
interface ImportRulesJobDetails {
|
|
471
|
+
/** The requested file format */
|
|
472
|
+
fileFormat?: string;
|
|
473
|
+
/** File names used for the import rules job */
|
|
474
|
+
files?: string[];
|
|
475
|
+
}
|
|
476
|
+
interface IndexEntity {
|
|
477
|
+
/** Custom engine specific features */
|
|
478
|
+
customFeatures?: { [P in string]: any };
|
|
479
|
+
/** The name of the index */
|
|
480
|
+
name?: string;
|
|
481
|
+
/** Table columns used as part of the Index for e.g. B-TREE index should list the columns which constitutes the index. */
|
|
482
|
+
tableColumns?: string[];
|
|
483
|
+
/** Type of index - e.g. B-TREE */
|
|
484
|
+
type?: string;
|
|
485
|
+
/** boolean value indicating whether the index is unique */
|
|
486
|
+
unique?: boolean;
|
|
487
|
+
}
|
|
246
488
|
interface ListConnectionProfilesResponse {
|
|
247
489
|
/** The response list of connection profiles. */
|
|
248
490
|
connectionProfiles?: ConnectionProfile[];
|
|
@@ -251,6 +493,14 @@ declare namespace gapi.client {
|
|
|
251
493
|
/** Locations that could not be reached. */
|
|
252
494
|
unreachable?: string[];
|
|
253
495
|
}
|
|
496
|
+
interface ListConversionWorkspacesResponse {
|
|
497
|
+
/** The list of conversion workspace objects. */
|
|
498
|
+
conversionWorkspaces?: ConversionWorkspace[];
|
|
499
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
500
|
+
nextPageToken?: string;
|
|
501
|
+
/** Locations that could not be reached. */
|
|
502
|
+
unreachable?: string[];
|
|
503
|
+
}
|
|
254
504
|
interface ListLocationsResponse {
|
|
255
505
|
/** A list of locations that matches the specified filter in the request. */
|
|
256
506
|
locations?: Location[];
|
|
@@ -271,6 +521,14 @@ declare namespace gapi.client {
|
|
|
271
521
|
/** A list of operations that matches the specified filter in the request. */
|
|
272
522
|
operations?: Operation[];
|
|
273
523
|
}
|
|
524
|
+
interface ListPrivateConnectionsResponse {
|
|
525
|
+
/** A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages. */
|
|
526
|
+
nextPageToken?: string;
|
|
527
|
+
/** List of private connections. */
|
|
528
|
+
privateConnections?: PrivateConnection[];
|
|
529
|
+
/** Locations that could not be reached. */
|
|
530
|
+
unreachable?: string[];
|
|
531
|
+
}
|
|
274
532
|
interface Location {
|
|
275
533
|
/** The friendly name for this location, typically a nearby city name. For example, "Tokyo". */
|
|
276
534
|
displayName?: string;
|
|
@@ -288,6 +546,8 @@ declare namespace gapi.client {
|
|
|
288
546
|
cpuCount?: number;
|
|
289
547
|
}
|
|
290
548
|
interface MigrationJob {
|
|
549
|
+
/** The conversion workspace used by the migration. */
|
|
550
|
+
conversionWorkspace?: ConversionWorkspaceInfo;
|
|
291
551
|
/** Output only. The timestamp when the migration job resource was created. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
|
|
292
552
|
createTime?: string;
|
|
293
553
|
/** Required. The resource name (URI) of the destination connection profile. */
|
|
@@ -306,6 +566,11 @@ declare namespace gapi.client {
|
|
|
306
566
|
endTime?: string;
|
|
307
567
|
/** Output only. The error details in case of state FAILED. */
|
|
308
568
|
error?: Status;
|
|
569
|
+
/**
|
|
570
|
+
* This field can be used to select the entities to migrate as part of the migration job. It uses AIP-160 notation to select a subset of the entities configured on the associated
|
|
571
|
+
* conversion-workspace. This field should not be set on migration-jobs that are not associated with a conversion workspace.
|
|
572
|
+
*/
|
|
573
|
+
filter?: string;
|
|
309
574
|
/**
|
|
310
575
|
* The resource labels for migration job to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs. Example:
|
|
311
576
|
* `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
|
|
@@ -384,6 +649,37 @@ declare namespace gapi.client {
|
|
|
384
649
|
*/
|
|
385
650
|
response?: { [P in string]: any };
|
|
386
651
|
}
|
|
652
|
+
interface OracleConnectionProfile {
|
|
653
|
+
/** Required. Database service for the Oracle connection. */
|
|
654
|
+
databaseService?: string;
|
|
655
|
+
/** Forward SSH tunnel connectivity. */
|
|
656
|
+
forwardSshConnectivity?: ForwardSshTunnelConnectivity;
|
|
657
|
+
/** Required. The IP or hostname of the source Oracle database. */
|
|
658
|
+
host?: string;
|
|
659
|
+
/**
|
|
660
|
+
* Required. Input only. The password for the user that Database Migration Service will be using to connect to the database. This field is not returned on request, and the value is
|
|
661
|
+
* encrypted when stored in Database Migration Service.
|
|
662
|
+
*/
|
|
663
|
+
password?: string;
|
|
664
|
+
/** Output only. Indicates whether a new password is included in the request. */
|
|
665
|
+
passwordSet?: boolean;
|
|
666
|
+
/** Required. The network port of the source Oracle database. */
|
|
667
|
+
port?: number;
|
|
668
|
+
/** Private connectivity. */
|
|
669
|
+
privateConnectivity?: PrivateConnectivity;
|
|
670
|
+
/** Static Service IP connectivity. */
|
|
671
|
+
staticServiceIpConnectivity?: any;
|
|
672
|
+
/** Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. */
|
|
673
|
+
username?: string;
|
|
674
|
+
}
|
|
675
|
+
interface PackageEntity {
|
|
676
|
+
/** Custom engine specific features */
|
|
677
|
+
customFeatures?: { [P in string]: any };
|
|
678
|
+
/** The SQL code which creates the package body. If the package specification has cursors or subprograms, then the package body is mandatory. */
|
|
679
|
+
packageBody?: string;
|
|
680
|
+
/** The SQL code which creates the package */
|
|
681
|
+
packageSqlCode?: string;
|
|
682
|
+
}
|
|
387
683
|
interface Policy {
|
|
388
684
|
/** Specifies cloud audit logging configuration for this policy. */
|
|
389
685
|
auditConfigs?: AuditConfig[];
|
|
@@ -428,8 +724,12 @@ declare namespace gapi.client {
|
|
|
428
724
|
passwordSet?: boolean;
|
|
429
725
|
/** Required. The network port of the source PostgreSQL database. */
|
|
430
726
|
port?: number;
|
|
727
|
+
/** Private service connect connectivity. */
|
|
728
|
+
privateServiceConnectConnectivity?: PrivateServiceConnectConnectivity;
|
|
431
729
|
/** SSL configuration for the destination to connect to the source database. */
|
|
432
730
|
ssl?: SslConfig;
|
|
731
|
+
/** Static ip connectivity data (default, no additional details needed). */
|
|
732
|
+
staticIpConnectivity?: any;
|
|
433
733
|
/** Required. The username that Database Migration Service will use to connect to the database. The value is encrypted when stored in Database Migration Service. */
|
|
434
734
|
username?: string;
|
|
435
735
|
}
|
|
@@ -445,6 +745,35 @@ declare namespace gapi.client {
|
|
|
445
745
|
/** Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application. */
|
|
446
746
|
privateIp?: string;
|
|
447
747
|
}
|
|
748
|
+
interface PrivateConnection {
|
|
749
|
+
/** Output only. The create time of the resource. */
|
|
750
|
+
createTime?: string;
|
|
751
|
+
/** The private connection display name. */
|
|
752
|
+
displayName?: string;
|
|
753
|
+
/** Output only. The error details in case of state FAILED. */
|
|
754
|
+
error?: Status;
|
|
755
|
+
/**
|
|
756
|
+
* The resource labels for private connections to use to annotate any related underlying resources such as Compute Engine VMs. An object containing a list of "key": "value" pairs.
|
|
757
|
+
* Example: `{ "name": "wrench", "mass": "1.3kg", "count": "3" }`.
|
|
758
|
+
*/
|
|
759
|
+
labels?: { [P in string]: string };
|
|
760
|
+
/** The resource's name. */
|
|
761
|
+
name?: string;
|
|
762
|
+
/** Output only. The state of the Private Connection. */
|
|
763
|
+
state?: string;
|
|
764
|
+
/** Output only. The last update time of the resource. */
|
|
765
|
+
updateTime?: string;
|
|
766
|
+
/** VPC Peering Config. */
|
|
767
|
+
vpcPeeringConfig?: VpcPeeringConfig;
|
|
768
|
+
}
|
|
769
|
+
interface PrivateConnectivity {
|
|
770
|
+
/** Required. The resource name (URI) of the private connection. */
|
|
771
|
+
privateConnection?: string;
|
|
772
|
+
}
|
|
773
|
+
interface PrivateServiceConnectConnectivity {
|
|
774
|
+
/** Required. A service attachment that exposes a database, and has the following format: projects/{project}/regions/{region}/serviceAttachments/{service_attachment_name} */
|
|
775
|
+
serviceAttachment?: string;
|
|
776
|
+
}
|
|
448
777
|
// tslint:disable-next-line:no-empty-interface
|
|
449
778
|
interface PromoteMigrationJobRequest {
|
|
450
779
|
}
|
|
@@ -464,6 +793,51 @@ declare namespace gapi.client {
|
|
|
464
793
|
/** The name of the VPC to peer with the Cloud SQL private network. */
|
|
465
794
|
vpc?: string;
|
|
466
795
|
}
|
|
796
|
+
// tslint:disable-next-line:no-empty-interface
|
|
797
|
+
interface RollbackConversionWorkspaceRequest {
|
|
798
|
+
}
|
|
799
|
+
interface RulesFile {
|
|
800
|
+
/** The text content of the rules that needs to be converted */
|
|
801
|
+
rulesContent?: string;
|
|
802
|
+
/** The filename of the rules that needs to be converted. This is used mainly so future logs of the import rules job will contain this detail and can therefore be searched by it later */
|
|
803
|
+
rulesSourceFilename?: string;
|
|
804
|
+
}
|
|
805
|
+
interface SchemaEntity {
|
|
806
|
+
/** Custom engine specific features */
|
|
807
|
+
customFeatures?: { [P in string]: any };
|
|
808
|
+
}
|
|
809
|
+
interface SearchBackgroundJobsResponse {
|
|
810
|
+
/** The list of conversion workspace mapping rules. */
|
|
811
|
+
jobs?: BackgroundJobLogEntry[];
|
|
812
|
+
}
|
|
813
|
+
interface SeedConversionWorkspaceRequest {
|
|
814
|
+
/** Should the conversion workspace be committed automatically after the seed operation. */
|
|
815
|
+
autoCommit?: boolean;
|
|
816
|
+
/** Fully qualified (Uri) name of the destination connection profile. */
|
|
817
|
+
destinationConnectionProfile?: string;
|
|
818
|
+
/** Fully qualified (Uri) name of the source connection profile. */
|
|
819
|
+
sourceConnectionProfile?: string;
|
|
820
|
+
}
|
|
821
|
+
interface SeedJobDetails {
|
|
822
|
+
/** The connection profile which was used for the seed job */
|
|
823
|
+
connectionProfile?: string;
|
|
824
|
+
}
|
|
825
|
+
interface SequenceEntity {
|
|
826
|
+
/** Indicates number of entries to cache / precreate */
|
|
827
|
+
cache?: string;
|
|
828
|
+
/** Custom engine specific features */
|
|
829
|
+
customFeatures?: { [P in string]: any };
|
|
830
|
+
/** Indicates whether the sequence value should cycle through */
|
|
831
|
+
cycle?: boolean;
|
|
832
|
+
/** Increment value for the sequence */
|
|
833
|
+
increment?: string;
|
|
834
|
+
/** Maximum number for the sequence represented as bytes to accommodate large numbers */
|
|
835
|
+
maxValue?: string;
|
|
836
|
+
/** Minimum number for the sequence represented as bytes to accommodate large numbers */
|
|
837
|
+
minValue?: string;
|
|
838
|
+
/** Start number for the sequence represented as bytes to accommodate large numbers */
|
|
839
|
+
startValue?: string;
|
|
840
|
+
}
|
|
467
841
|
interface SetIamPolicyRequest {
|
|
468
842
|
/**
|
|
469
843
|
* REQUIRED: The complete policy to be applied to the `resource`. The size of the policy is limited to a few 10s of KB. An empty policy is a valid policy but certain Google Cloud
|
|
@@ -528,6 +902,9 @@ declare namespace gapi.client {
|
|
|
528
902
|
// tslint:disable-next-line:no-empty-interface
|
|
529
903
|
interface StaticIpConnectivity {
|
|
530
904
|
}
|
|
905
|
+
// tslint:disable-next-line:no-empty-interface
|
|
906
|
+
interface StaticServiceIpConnectivity {
|
|
907
|
+
}
|
|
531
908
|
interface Status {
|
|
532
909
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
533
910
|
code?: number;
|
|
@@ -542,6 +919,34 @@ declare namespace gapi.client {
|
|
|
542
919
|
// tslint:disable-next-line:no-empty-interface
|
|
543
920
|
interface StopMigrationJobRequest {
|
|
544
921
|
}
|
|
922
|
+
interface StoredProcedureEntity {
|
|
923
|
+
/** Custom engine specific features */
|
|
924
|
+
customFeatures?: { [P in string]: any };
|
|
925
|
+
/** The SQL code which creates the stored procedure */
|
|
926
|
+
sqlCode?: string;
|
|
927
|
+
}
|
|
928
|
+
interface SynonymEntity {
|
|
929
|
+
/** Custom engine specific features */
|
|
930
|
+
customFeatures?: { [P in string]: any };
|
|
931
|
+
/** The name of the entity for which the synonym is being created (the source) */
|
|
932
|
+
sourceEntity?: string;
|
|
933
|
+
/** The type of the entity for which the synonym is being created (usually a table or a sequence) */
|
|
934
|
+
sourceType?: string;
|
|
935
|
+
}
|
|
936
|
+
interface TableEntity {
|
|
937
|
+
/** Table Columns. */
|
|
938
|
+
columns?: ColumnEntity[];
|
|
939
|
+
/** Comment associated with the table */
|
|
940
|
+
comment?: string;
|
|
941
|
+
/** Table Constraints. */
|
|
942
|
+
constraints?: ConstraintEntity[];
|
|
943
|
+
/** Custom engine specific features */
|
|
944
|
+
customFeatures?: { [P in string]: any };
|
|
945
|
+
/** Table Indices. */
|
|
946
|
+
indices?: IndexEntity[];
|
|
947
|
+
/** Table triggers. */
|
|
948
|
+
triggers?: TriggerEntity[];
|
|
949
|
+
}
|
|
545
950
|
interface TestIamPermissionsRequest {
|
|
546
951
|
/**
|
|
547
952
|
* The set of permissions to check for the `resource`. Permissions with wildcards (such as `*` or `storage.*`) are not allowed. For more information see [IAM
|
|
@@ -553,6 +958,18 @@ declare namespace gapi.client {
|
|
|
553
958
|
/** A subset of `TestPermissionsRequest.permissions` that the caller is allowed. */
|
|
554
959
|
permissions?: string[];
|
|
555
960
|
}
|
|
961
|
+
interface TriggerEntity {
|
|
962
|
+
/** Custom engine specific features */
|
|
963
|
+
customFeatures?: { [P in string]: any };
|
|
964
|
+
/** The name of the trigger */
|
|
965
|
+
name?: string;
|
|
966
|
+
/** The SQL code which creates the trigger */
|
|
967
|
+
sqlCode?: string;
|
|
968
|
+
/** The DML, DDL, or database events that fires the trigger, e.g. INSERT, UPDATE */
|
|
969
|
+
triggeringEvents?: string[];
|
|
970
|
+
/** Indicates when the trigger fires, e.g. BEFORE STATEMENT, AFTER EACH ROW */
|
|
971
|
+
triggerType?: string;
|
|
972
|
+
}
|
|
556
973
|
interface UserPassword {
|
|
557
974
|
/** The initial password for the user. */
|
|
558
975
|
password?: string;
|
|
@@ -564,6 +981,14 @@ declare namespace gapi.client {
|
|
|
564
981
|
// tslint:disable-next-line:no-empty-interface
|
|
565
982
|
interface VerifyMigrationJobRequest {
|
|
566
983
|
}
|
|
984
|
+
interface ViewEntity {
|
|
985
|
+
/** View Constraints. */
|
|
986
|
+
constraints?: ConstraintEntity[];
|
|
987
|
+
/** Custom engine specific features */
|
|
988
|
+
customFeatures?: { [P in string]: any };
|
|
989
|
+
/** The SQL code which creates the view. */
|
|
990
|
+
sqlCode?: string;
|
|
991
|
+
}
|
|
567
992
|
interface VmCreationConfig {
|
|
568
993
|
/** The subnet name the vm needs to be created in. */
|
|
569
994
|
subnet?: string;
|
|
@@ -576,6 +1001,12 @@ declare namespace gapi.client {
|
|
|
576
1001
|
/** Required. The Google Cloud Platform zone the VM is located. */
|
|
577
1002
|
vmZone?: string;
|
|
578
1003
|
}
|
|
1004
|
+
interface VpcPeeringConfig {
|
|
1005
|
+
/** Required. A free subnet for peering. (CIDR of /29) */
|
|
1006
|
+
subnet?: string;
|
|
1007
|
+
/** Required. Fully qualified name of the VPC DMS will peer to. */
|
|
1008
|
+
vpcName?: string;
|
|
1009
|
+
}
|
|
579
1010
|
interface VpcPeeringConnectivity {
|
|
580
1011
|
/** The name of the VPC network to peer with the Cloud SQL private network. */
|
|
581
1012
|
vpc?: string;
|
|
@@ -610,10 +1041,14 @@ declare namespace gapi.client {
|
|
|
610
1041
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
611
1042
|
*/
|
|
612
1043
|
requestId?: string;
|
|
1044
|
+
/** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
|
|
1045
|
+
skipValidation?: boolean;
|
|
613
1046
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
614
1047
|
upload_protocol?: string;
|
|
615
1048
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
616
1049
|
uploadType?: string;
|
|
1050
|
+
/** Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1051
|
+
validateOnly?: boolean;
|
|
617
1052
|
/** Request body */
|
|
618
1053
|
resource: ConnectionProfile;
|
|
619
1054
|
}): Request<Operation>;
|
|
@@ -645,10 +1080,14 @@ declare namespace gapi.client {
|
|
|
645
1080
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
646
1081
|
*/
|
|
647
1082
|
requestId?: string;
|
|
1083
|
+
/** Optional. Create the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
|
|
1084
|
+
skipValidation?: boolean;
|
|
648
1085
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
649
1086
|
upload_protocol?: string;
|
|
650
1087
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
651
1088
|
uploadType?: string;
|
|
1089
|
+
/** Optional. Only validate the connection profile, but don't create any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1090
|
+
validateOnly?: boolean;
|
|
652
1091
|
},
|
|
653
1092
|
body: ConnectionProfile): Request<Operation>;
|
|
654
1093
|
/** Deletes a single Database Migration Service connection profile. A connection profile can only be deleted if it is not in use by any active migration jobs. */
|
|
@@ -823,12 +1262,16 @@ declare namespace gapi.client {
|
|
|
823
1262
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
824
1263
|
*/
|
|
825
1264
|
requestId?: string;
|
|
1265
|
+
/** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
|
|
1266
|
+
skipValidation?: boolean;
|
|
826
1267
|
/** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
|
|
827
1268
|
updateMask?: string;
|
|
828
1269
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
829
1270
|
upload_protocol?: string;
|
|
830
1271
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
831
1272
|
uploadType?: string;
|
|
1273
|
+
/** Optional. Only validate the connection profile, but don't update any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1274
|
+
validateOnly?: boolean;
|
|
832
1275
|
/** Request body */
|
|
833
1276
|
resource: ConnectionProfile;
|
|
834
1277
|
}): Request<Operation>;
|
|
@@ -858,12 +1301,16 @@ declare namespace gapi.client {
|
|
|
858
1301
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
859
1302
|
*/
|
|
860
1303
|
requestId?: string;
|
|
1304
|
+
/** Optional. Update the connection profile without validating it. The default is false. Only supported for Oracle connection profiles. */
|
|
1305
|
+
skipValidation?: boolean;
|
|
861
1306
|
/** Required. Field mask is used to specify the fields to be overwritten in the connection profile resource by the update. */
|
|
862
1307
|
updateMask?: string;
|
|
863
1308
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
864
1309
|
upload_protocol?: string;
|
|
865
1310
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
866
1311
|
uploadType?: string;
|
|
1312
|
+
/** Optional. Only validate the connection profile, but don't update any resources. The default is false. Only supported for Oracle connection profiles. */
|
|
1313
|
+
validateOnly?: boolean;
|
|
867
1314
|
},
|
|
868
1315
|
body: ConnectionProfile): Request<Operation>;
|
|
869
1316
|
/** Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors. */
|
|
@@ -932,9 +1379,9 @@ declare namespace gapi.client {
|
|
|
932
1379
|
},
|
|
933
1380
|
body: TestIamPermissionsRequest): Request<TestIamPermissionsResponse>;
|
|
934
1381
|
}
|
|
935
|
-
interface
|
|
936
|
-
/**
|
|
937
|
-
|
|
1382
|
+
interface MappingRulesResource {
|
|
1383
|
+
/** Imports the mapping rules for a given conversion workspace. Supports various formats of external rules files. */
|
|
1384
|
+
import(request: {
|
|
938
1385
|
/** V1 error format. */
|
|
939
1386
|
"$.xgafv"?: string;
|
|
940
1387
|
/** OAuth access token. */
|
|
@@ -947,29 +1394,22 @@ declare namespace gapi.client {
|
|
|
947
1394
|
fields?: string;
|
|
948
1395
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
949
1396
|
key?: string;
|
|
950
|
-
/** Required. The ID of the instance to create. */
|
|
951
|
-
migrationJobId?: string;
|
|
952
1397
|
/** OAuth 2.0 token for the current user. */
|
|
953
1398
|
oauth_token?: string;
|
|
954
|
-
/** Required.
|
|
1399
|
+
/** Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
955
1400
|
parent: string;
|
|
956
1401
|
/** Returns response with indentations and line breaks. */
|
|
957
1402
|
prettyPrint?: boolean;
|
|
958
1403
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
959
1404
|
quotaUser?: string;
|
|
960
|
-
/**
|
|
961
|
-
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
962
|
-
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
963
|
-
*/
|
|
964
|
-
requestId?: string;
|
|
965
1405
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
966
1406
|
upload_protocol?: string;
|
|
967
1407
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
968
1408
|
uploadType?: string;
|
|
969
1409
|
/** Request body */
|
|
970
|
-
resource:
|
|
1410
|
+
resource: ImportMappingRulesRequest;
|
|
971
1411
|
}): Request<Operation>;
|
|
972
|
-
|
|
1412
|
+
import(request: {
|
|
973
1413
|
/** V1 error format. */
|
|
974
1414
|
"$.xgafv"?: string;
|
|
975
1415
|
/** OAuth access token. */
|
|
@@ -982,29 +1422,24 @@ declare namespace gapi.client {
|
|
|
982
1422
|
fields?: string;
|
|
983
1423
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
984
1424
|
key?: string;
|
|
985
|
-
/** Required. The ID of the instance to create. */
|
|
986
|
-
migrationJobId?: string;
|
|
987
1425
|
/** OAuth 2.0 token for the current user. */
|
|
988
1426
|
oauth_token?: string;
|
|
989
|
-
/** Required.
|
|
1427
|
+
/** Required. Name of the conversion workspace resource to import the rules to in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
990
1428
|
parent: string;
|
|
991
1429
|
/** Returns response with indentations and line breaks. */
|
|
992
1430
|
prettyPrint?: boolean;
|
|
993
1431
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
994
1432
|
quotaUser?: string;
|
|
995
|
-
/**
|
|
996
|
-
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
997
|
-
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
998
|
-
*/
|
|
999
|
-
requestId?: string;
|
|
1000
1433
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1001
1434
|
upload_protocol?: string;
|
|
1002
1435
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1003
1436
|
uploadType?: string;
|
|
1004
1437
|
},
|
|
1005
|
-
body:
|
|
1006
|
-
|
|
1007
|
-
|
|
1438
|
+
body: ImportMappingRulesRequest): Request<Operation>;
|
|
1439
|
+
}
|
|
1440
|
+
interface ConversionWorkspacesResource {
|
|
1441
|
+
/** Apply draft tree onto a specific destination database */
|
|
1442
|
+
apply(request: {
|
|
1008
1443
|
/** V1 error format. */
|
|
1009
1444
|
"$.xgafv"?: string;
|
|
1010
1445
|
/** OAuth access token. */
|
|
@@ -1015,11 +1450,12 @@ declare namespace gapi.client {
|
|
|
1015
1450
|
callback?: string;
|
|
1016
1451
|
/** Selector specifying which fields to include in a partial response. */
|
|
1017
1452
|
fields?: string;
|
|
1018
|
-
/** The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. */
|
|
1019
|
-
force?: boolean;
|
|
1020
1453
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1021
1454
|
key?: string;
|
|
1022
|
-
/**
|
|
1455
|
+
/**
|
|
1456
|
+
* Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
|
|
1457
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
1458
|
+
*/
|
|
1023
1459
|
name: string;
|
|
1024
1460
|
/** OAuth 2.0 token for the current user. */
|
|
1025
1461
|
oauth_token?: string;
|
|
@@ -1027,18 +1463,14 @@ declare namespace gapi.client {
|
|
|
1027
1463
|
prettyPrint?: boolean;
|
|
1028
1464
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1029
1465
|
quotaUser?: string;
|
|
1030
|
-
/**
|
|
1031
|
-
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
1032
|
-
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1033
|
-
*/
|
|
1034
|
-
requestId?: string;
|
|
1035
1466
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1036
1467
|
upload_protocol?: string;
|
|
1037
1468
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1038
1469
|
uploadType?: string;
|
|
1470
|
+
/** Request body */
|
|
1471
|
+
resource: ApplyConversionWorkspaceRequest;
|
|
1039
1472
|
}): Request<Operation>;
|
|
1040
|
-
|
|
1041
|
-
generateSshScript(request: {
|
|
1473
|
+
apply(request: {
|
|
1042
1474
|
/** V1 error format. */
|
|
1043
1475
|
"$.xgafv"?: string;
|
|
1044
1476
|
/** OAuth access token. */
|
|
@@ -1051,8 +1483,11 @@ declare namespace gapi.client {
|
|
|
1051
1483
|
fields?: string;
|
|
1052
1484
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1053
1485
|
key?: string;
|
|
1054
|
-
/**
|
|
1055
|
-
|
|
1486
|
+
/**
|
|
1487
|
+
* Required. Name of the conversion workspace resource to apply draft to destination for. in the form of:
|
|
1488
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
1489
|
+
*/
|
|
1490
|
+
name: string;
|
|
1056
1491
|
/** OAuth 2.0 token for the current user. */
|
|
1057
1492
|
oauth_token?: string;
|
|
1058
1493
|
/** Returns response with indentations and line breaks. */
|
|
@@ -1063,10 +1498,10 @@ declare namespace gapi.client {
|
|
|
1063
1498
|
upload_protocol?: string;
|
|
1064
1499
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1065
1500
|
uploadType?: string;
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
|
-
|
|
1069
|
-
|
|
1501
|
+
},
|
|
1502
|
+
body: ApplyConversionWorkspaceRequest): Request<Operation>;
|
|
1503
|
+
/** Marks all the data in the conversion workspace as committed. */
|
|
1504
|
+
commit(request: {
|
|
1070
1505
|
/** V1 error format. */
|
|
1071
1506
|
"$.xgafv"?: string;
|
|
1072
1507
|
/** OAuth access token. */
|
|
@@ -1079,8 +1514,8 @@ declare namespace gapi.client {
|
|
|
1079
1514
|
fields?: string;
|
|
1080
1515
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1081
1516
|
key?: string;
|
|
1082
|
-
/** Name of the
|
|
1083
|
-
|
|
1517
|
+
/** Required. Name of the conversion workspace resource to commit. */
|
|
1518
|
+
name: string;
|
|
1084
1519
|
/** OAuth 2.0 token for the current user. */
|
|
1085
1520
|
oauth_token?: string;
|
|
1086
1521
|
/** Returns response with indentations and line breaks. */
|
|
@@ -1091,10 +1526,10 @@ declare namespace gapi.client {
|
|
|
1091
1526
|
upload_protocol?: string;
|
|
1092
1527
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1093
1528
|
uploadType?: string;
|
|
1094
|
-
|
|
1095
|
-
|
|
1096
|
-
|
|
1097
|
-
|
|
1529
|
+
/** Request body */
|
|
1530
|
+
resource: CommitConversionWorkspaceRequest;
|
|
1531
|
+
}): Request<Operation>;
|
|
1532
|
+
commit(request: {
|
|
1098
1533
|
/** V1 error format. */
|
|
1099
1534
|
"$.xgafv"?: string;
|
|
1100
1535
|
/** OAuth access token. */
|
|
@@ -1107,7 +1542,7 @@ declare namespace gapi.client {
|
|
|
1107
1542
|
fields?: string;
|
|
1108
1543
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1109
1544
|
key?: string;
|
|
1110
|
-
/** Required. Name of the
|
|
1545
|
+
/** Required. Name of the conversion workspace resource to commit. */
|
|
1111
1546
|
name: string;
|
|
1112
1547
|
/** OAuth 2.0 token for the current user. */
|
|
1113
1548
|
oauth_token?: string;
|
|
@@ -1119,9 +1554,10 @@ declare namespace gapi.client {
|
|
|
1119
1554
|
upload_protocol?: string;
|
|
1120
1555
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1121
1556
|
uploadType?: string;
|
|
1122
|
-
}
|
|
1123
|
-
|
|
1124
|
-
|
|
1557
|
+
},
|
|
1558
|
+
body: CommitConversionWorkspaceRequest): Request<Operation>;
|
|
1559
|
+
/** Creates a draft tree schema for the destination database. */
|
|
1560
|
+
convert(request: {
|
|
1125
1561
|
/** V1 error format. */
|
|
1126
1562
|
"$.xgafv"?: string;
|
|
1127
1563
|
/** OAuth access token. */
|
|
@@ -1134,32 +1570,22 @@ declare namespace gapi.client {
|
|
|
1134
1570
|
fields?: string;
|
|
1135
1571
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1136
1572
|
key?: string;
|
|
1573
|
+
/** Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
1574
|
+
name: string;
|
|
1137
1575
|
/** OAuth 2.0 token for the current user. */
|
|
1138
1576
|
oauth_token?: string;
|
|
1139
|
-
/**
|
|
1140
|
-
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
1141
|
-
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
1142
|
-
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
1143
|
-
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
1144
|
-
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
1145
|
-
*/
|
|
1146
|
-
"options.requestedPolicyVersion"?: number;
|
|
1147
1577
|
/** Returns response with indentations and line breaks. */
|
|
1148
1578
|
prettyPrint?: boolean;
|
|
1149
1579
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1150
1580
|
quotaUser?: string;
|
|
1151
|
-
/**
|
|
1152
|
-
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
1153
|
-
* field.
|
|
1154
|
-
*/
|
|
1155
|
-
resource: string;
|
|
1156
1581
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1157
1582
|
upload_protocol?: string;
|
|
1158
1583
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1159
1584
|
uploadType?: string;
|
|
1160
|
-
|
|
1161
|
-
|
|
1162
|
-
|
|
1585
|
+
/** Request body */
|
|
1586
|
+
resource: ConvertConversionWorkspaceRequest;
|
|
1587
|
+
}): Request<Operation>;
|
|
1588
|
+
convert(request: {
|
|
1163
1589
|
/** V1 error format. */
|
|
1164
1590
|
"$.xgafv"?: string;
|
|
1165
1591
|
/** OAuth access token. */
|
|
@@ -1170,31 +1596,12 @@ declare namespace gapi.client {
|
|
|
1170
1596
|
callback?: string;
|
|
1171
1597
|
/** Selector specifying which fields to include in a partial response. */
|
|
1172
1598
|
fields?: string;
|
|
1173
|
-
/**
|
|
1174
|
-
* A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for
|
|
1175
|
-
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by
|
|
1176
|
-
* specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to
|
|
1177
|
-
* select all migration jobs connecting through the specific SSH tunnel bastion.
|
|
1178
|
-
*/
|
|
1179
|
-
filter?: string;
|
|
1180
1599
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1181
1600
|
key?: string;
|
|
1601
|
+
/** Name of the conversion workspace resource to convert in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
1602
|
+
name: string;
|
|
1182
1603
|
/** OAuth 2.0 token for the current user. */
|
|
1183
1604
|
oauth_token?: string;
|
|
1184
|
-
/** Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". */
|
|
1185
|
-
orderBy?: string;
|
|
1186
|
-
/**
|
|
1187
|
-
* The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is
|
|
1188
|
-
* 1000; values above 1000 will be coerced to 1000.
|
|
1189
|
-
*/
|
|
1190
|
-
pageSize?: number;
|
|
1191
|
-
/**
|
|
1192
|
-
* The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be
|
|
1193
|
-
* left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.
|
|
1194
|
-
*/
|
|
1195
|
-
pageToken?: string;
|
|
1196
|
-
/** Required. The parent, which owns this collection of migrationJobs. */
|
|
1197
|
-
parent: string;
|
|
1198
1605
|
/** Returns response with indentations and line breaks. */
|
|
1199
1606
|
prettyPrint?: boolean;
|
|
1200
1607
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1203,9 +1610,10 @@ declare namespace gapi.client {
|
|
|
1203
1610
|
upload_protocol?: string;
|
|
1204
1611
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1205
1612
|
uploadType?: string;
|
|
1206
|
-
}
|
|
1207
|
-
|
|
1208
|
-
|
|
1613
|
+
},
|
|
1614
|
+
body: ConvertConversionWorkspaceRequest): Request<Operation>;
|
|
1615
|
+
/** Creates a new conversion workspace in a given project and location. */
|
|
1616
|
+
create(request: {
|
|
1209
1617
|
/** V1 error format. */
|
|
1210
1618
|
"$.xgafv"?: string;
|
|
1211
1619
|
/** OAuth access token. */
|
|
@@ -1214,14 +1622,16 @@ declare namespace gapi.client {
|
|
|
1214
1622
|
alt?: string;
|
|
1215
1623
|
/** JSONP */
|
|
1216
1624
|
callback?: string;
|
|
1625
|
+
/** Required. The ID of the conversion workspace to create. */
|
|
1626
|
+
conversionWorkspaceId?: string;
|
|
1217
1627
|
/** Selector specifying which fields to include in a partial response. */
|
|
1218
1628
|
fields?: string;
|
|
1219
1629
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1220
1630
|
key?: string;
|
|
1221
|
-
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
1222
|
-
name: string;
|
|
1223
1631
|
/** OAuth 2.0 token for the current user. */
|
|
1224
1632
|
oauth_token?: string;
|
|
1633
|
+
/** Required. The parent, which owns this collection of conversion workspaces. */
|
|
1634
|
+
parent: string;
|
|
1225
1635
|
/** Returns response with indentations and line breaks. */
|
|
1226
1636
|
prettyPrint?: boolean;
|
|
1227
1637
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1231,16 +1641,14 @@ declare namespace gapi.client {
|
|
|
1231
1641
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1232
1642
|
*/
|
|
1233
1643
|
requestId?: string;
|
|
1234
|
-
/** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
|
|
1235
|
-
updateMask?: string;
|
|
1236
1644
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1237
1645
|
upload_protocol?: string;
|
|
1238
1646
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1239
1647
|
uploadType?: string;
|
|
1240
1648
|
/** Request body */
|
|
1241
|
-
resource:
|
|
1649
|
+
resource: ConversionWorkspace;
|
|
1242
1650
|
}): Request<Operation>;
|
|
1243
|
-
|
|
1651
|
+
create(request: {
|
|
1244
1652
|
/** V1 error format. */
|
|
1245
1653
|
"$.xgafv"?: string;
|
|
1246
1654
|
/** OAuth access token. */
|
|
@@ -1249,14 +1657,16 @@ declare namespace gapi.client {
|
|
|
1249
1657
|
alt?: string;
|
|
1250
1658
|
/** JSONP */
|
|
1251
1659
|
callback?: string;
|
|
1660
|
+
/** Required. The ID of the conversion workspace to create. */
|
|
1661
|
+
conversionWorkspaceId?: string;
|
|
1252
1662
|
/** Selector specifying which fields to include in a partial response. */
|
|
1253
1663
|
fields?: string;
|
|
1254
1664
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1255
1665
|
key?: string;
|
|
1256
|
-
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
1257
|
-
name: string;
|
|
1258
1666
|
/** OAuth 2.0 token for the current user. */
|
|
1259
1667
|
oauth_token?: string;
|
|
1668
|
+
/** Required. The parent, which owns this collection of conversion workspaces. */
|
|
1669
|
+
parent: string;
|
|
1260
1670
|
/** Returns response with indentations and line breaks. */
|
|
1261
1671
|
prettyPrint?: boolean;
|
|
1262
1672
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
@@ -1266,16 +1676,14 @@ declare namespace gapi.client {
|
|
|
1266
1676
|
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1267
1677
|
*/
|
|
1268
1678
|
requestId?: string;
|
|
1269
|
-
/** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
|
|
1270
|
-
updateMask?: string;
|
|
1271
1679
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1272
1680
|
upload_protocol?: string;
|
|
1273
1681
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1274
1682
|
uploadType?: string;
|
|
1275
1683
|
},
|
|
1276
|
-
body:
|
|
1277
|
-
/**
|
|
1278
|
-
|
|
1684
|
+
body: ConversionWorkspace): Request<Operation>;
|
|
1685
|
+
/** Deletes a single conversion workspace. */
|
|
1686
|
+
delete(request?: {
|
|
1279
1687
|
/** V1 error format. */
|
|
1280
1688
|
"$.xgafv"?: string;
|
|
1281
1689
|
/** OAuth access token. */
|
|
@@ -1288,7 +1696,7 @@ declare namespace gapi.client {
|
|
|
1288
1696
|
fields?: string;
|
|
1289
1697
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1290
1698
|
key?: string;
|
|
1291
|
-
/** Name of the
|
|
1699
|
+
/** Required. Name of the conversion workspace resource to delete. */
|
|
1292
1700
|
name: string;
|
|
1293
1701
|
/** OAuth 2.0 token for the current user. */
|
|
1294
1702
|
oauth_token?: string;
|
|
@@ -1296,14 +1704,18 @@ declare namespace gapi.client {
|
|
|
1296
1704
|
prettyPrint?: boolean;
|
|
1297
1705
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1298
1706
|
quotaUser?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
1709
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1710
|
+
*/
|
|
1711
|
+
requestId?: string;
|
|
1299
1712
|
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1300
1713
|
upload_protocol?: string;
|
|
1301
1714
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1302
1715
|
uploadType?: string;
|
|
1303
|
-
/** Request body */
|
|
1304
|
-
resource: PromoteMigrationJobRequest;
|
|
1305
1716
|
}): Request<Operation>;
|
|
1306
|
-
|
|
1717
|
+
/** Retrieves a list of committed revisions of a specific conversion workspace. */
|
|
1718
|
+
describeConversionWorkspaceRevisions(request?: {
|
|
1307
1719
|
/** V1 error format. */
|
|
1308
1720
|
"$.xgafv"?: string;
|
|
1309
1721
|
/** OAuth access token. */
|
|
@@ -1312,12 +1724,17 @@ declare namespace gapi.client {
|
|
|
1312
1724
|
alt?: string;
|
|
1313
1725
|
/** JSONP */
|
|
1314
1726
|
callback?: string;
|
|
1727
|
+
/** Optional. Optional filter to request a specific commit id */
|
|
1728
|
+
commitId?: string;
|
|
1729
|
+
/**
|
|
1730
|
+
* Required. Name of the conversion workspace resource whose revisions are listed. in the form of:
|
|
1731
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
1732
|
+
*/
|
|
1733
|
+
conversionWorkspace: string;
|
|
1315
1734
|
/** Selector specifying which fields to include in a partial response. */
|
|
1316
1735
|
fields?: string;
|
|
1317
1736
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1318
1737
|
key?: string;
|
|
1319
|
-
/** Name of the migration job resource to promote. */
|
|
1320
|
-
name: string;
|
|
1321
1738
|
/** OAuth 2.0 token for the current user. */
|
|
1322
1739
|
oauth_token?: string;
|
|
1323
1740
|
/** Returns response with indentations and line breaks. */
|
|
@@ -1328,10 +1745,12 @@ declare namespace gapi.client {
|
|
|
1328
1745
|
upload_protocol?: string;
|
|
1329
1746
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1330
1747
|
uploadType?: string;
|
|
1331
|
-
}
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1748
|
+
}): Request<DescribeConversionWorkspaceRevisionsResponse>;
|
|
1749
|
+
/**
|
|
1750
|
+
* Use this method to describe the database entities tree for a specific conversion workspace and a specific tree type. The DB Entities are not a resource like conversion workspace or
|
|
1751
|
+
* mapping rule, and they can not be created, updated or deleted like one. Instead they are simple data objects describing the structure of the client database.
|
|
1752
|
+
*/
|
|
1753
|
+
describeDatabaseEntities(request?: {
|
|
1335
1754
|
/** V1 error format. */
|
|
1336
1755
|
"$.xgafv"?: string;
|
|
1337
1756
|
/** OAuth access token. */
|
|
@@ -1340,15 +1759,756 @@ declare namespace gapi.client {
|
|
|
1340
1759
|
alt?: string;
|
|
1341
1760
|
/** JSONP */
|
|
1342
1761
|
callback?: string;
|
|
1762
|
+
/** Request a specific commit id. If not specified, the entities from the latest commit are returned. */
|
|
1763
|
+
commitId?: string;
|
|
1764
|
+
/**
|
|
1765
|
+
* Required. Name of the conversion workspace resource whose DB entities are described in the form of:
|
|
1766
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
1767
|
+
*/
|
|
1768
|
+
conversionWorkspace: string;
|
|
1343
1769
|
/** Selector specifying which fields to include in a partial response. */
|
|
1344
1770
|
fields?: string;
|
|
1771
|
+
/** Filter the returned entities based on AIP-160 standard */
|
|
1772
|
+
filter?: string;
|
|
1345
1773
|
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1346
1774
|
key?: string;
|
|
1347
|
-
/** Name of the migration job resource to restart. */
|
|
1348
|
-
name: string;
|
|
1349
1775
|
/** OAuth 2.0 token for the current user. */
|
|
1350
1776
|
oauth_token?: string;
|
|
1351
|
-
/**
|
|
1777
|
+
/** The maximum number of entities to return. The service may return fewer than this value. */
|
|
1778
|
+
pageSize?: number;
|
|
1779
|
+
/**
|
|
1780
|
+
* The nextPageToken value received in the previous call to conversionWorkspace.describeDatabaseEntities, used in the subsequent request to retrieve the next page of results. On
|
|
1781
|
+
* first call this should be left blank. When paginating, all other parameters provided to conversionWorkspace.describeDatabaseEntities must match the call that provided the page
|
|
1782
|
+
* token.
|
|
1783
|
+
*/
|
|
1784
|
+
pageToken?: string;
|
|
1785
|
+
/** Returns response with indentations and line breaks. */
|
|
1786
|
+
prettyPrint?: boolean;
|
|
1787
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1788
|
+
quotaUser?: string;
|
|
1789
|
+
/** The tree to fetch */
|
|
1790
|
+
tree?: string;
|
|
1791
|
+
/** Whether to retrieve the latest committed version of the entities or the latest version. This field is ignored if a specific commit_id is specified. */
|
|
1792
|
+
uncommitted?: boolean;
|
|
1793
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1794
|
+
upload_protocol?: string;
|
|
1795
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1796
|
+
uploadType?: string;
|
|
1797
|
+
}): Request<DescribeDatabaseEntitiesResponse>;
|
|
1798
|
+
/** Gets details of a single conversion workspace. */
|
|
1799
|
+
get(request?: {
|
|
1800
|
+
/** V1 error format. */
|
|
1801
|
+
"$.xgafv"?: string;
|
|
1802
|
+
/** OAuth access token. */
|
|
1803
|
+
access_token?: string;
|
|
1804
|
+
/** Data format for response. */
|
|
1805
|
+
alt?: string;
|
|
1806
|
+
/** JSONP */
|
|
1807
|
+
callback?: string;
|
|
1808
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1809
|
+
fields?: string;
|
|
1810
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1811
|
+
key?: string;
|
|
1812
|
+
/** Required. Name of the conversion workspace resource to get. */
|
|
1813
|
+
name: string;
|
|
1814
|
+
/** OAuth 2.0 token for the current user. */
|
|
1815
|
+
oauth_token?: string;
|
|
1816
|
+
/** Returns response with indentations and line breaks. */
|
|
1817
|
+
prettyPrint?: boolean;
|
|
1818
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1819
|
+
quotaUser?: string;
|
|
1820
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1821
|
+
upload_protocol?: string;
|
|
1822
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1823
|
+
uploadType?: string;
|
|
1824
|
+
}): Request<ConversionWorkspace>;
|
|
1825
|
+
/** Lists conversion workspaces in a given project and location. */
|
|
1826
|
+
list(request?: {
|
|
1827
|
+
/** V1 error format. */
|
|
1828
|
+
"$.xgafv"?: string;
|
|
1829
|
+
/** OAuth access token. */
|
|
1830
|
+
access_token?: string;
|
|
1831
|
+
/** Data format for response. */
|
|
1832
|
+
alt?: string;
|
|
1833
|
+
/** JSONP */
|
|
1834
|
+
callback?: string;
|
|
1835
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1836
|
+
fields?: string;
|
|
1837
|
+
/**
|
|
1838
|
+
* A filter expression that filters conversion workspaces listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to
|
|
1839
|
+
* use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list conversion workspaces created
|
|
1840
|
+
* this year by specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **source.version = "12.c.1"** to
|
|
1841
|
+
* select all conversion workspaces with source database version equal to 12.c.1
|
|
1842
|
+
*/
|
|
1843
|
+
filter?: string;
|
|
1844
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1845
|
+
key?: string;
|
|
1846
|
+
/** OAuth 2.0 token for the current user. */
|
|
1847
|
+
oauth_token?: string;
|
|
1848
|
+
/** The maximum number of conversion workspaces to return. The service may return fewer than this value. If unspecified, at most 50 sets will be returned. */
|
|
1849
|
+
pageSize?: number;
|
|
1850
|
+
/**
|
|
1851
|
+
* The nextPageToken value received in the previous call to conversionWorkspaces.list, used in the subsequent request to retrieve the next page of results. On first call this
|
|
1852
|
+
* should be left blank. When paginating, all other parameters provided to conversionWorkspaces.list must match the call that provided the page token.
|
|
1853
|
+
*/
|
|
1854
|
+
pageToken?: string;
|
|
1855
|
+
/** Required. The parent, which owns this collection of conversion workspaces. */
|
|
1856
|
+
parent: string;
|
|
1857
|
+
/** Returns response with indentations and line breaks. */
|
|
1858
|
+
prettyPrint?: boolean;
|
|
1859
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1860
|
+
quotaUser?: string;
|
|
1861
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1862
|
+
upload_protocol?: string;
|
|
1863
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1864
|
+
uploadType?: string;
|
|
1865
|
+
}): Request<ListConversionWorkspacesResponse>;
|
|
1866
|
+
/** Updates the parameters of a single conversion workspace. */
|
|
1867
|
+
patch(request: {
|
|
1868
|
+
/** V1 error format. */
|
|
1869
|
+
"$.xgafv"?: string;
|
|
1870
|
+
/** OAuth access token. */
|
|
1871
|
+
access_token?: string;
|
|
1872
|
+
/** Data format for response. */
|
|
1873
|
+
alt?: string;
|
|
1874
|
+
/** JSONP */
|
|
1875
|
+
callback?: string;
|
|
1876
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1877
|
+
fields?: string;
|
|
1878
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1879
|
+
key?: string;
|
|
1880
|
+
/** Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
1881
|
+
name: string;
|
|
1882
|
+
/** OAuth 2.0 token for the current user. */
|
|
1883
|
+
oauth_token?: string;
|
|
1884
|
+
/** Returns response with indentations and line breaks. */
|
|
1885
|
+
prettyPrint?: boolean;
|
|
1886
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1887
|
+
quotaUser?: string;
|
|
1888
|
+
/**
|
|
1889
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
1890
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1891
|
+
*/
|
|
1892
|
+
requestId?: string;
|
|
1893
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
|
|
1894
|
+
updateMask?: string;
|
|
1895
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1896
|
+
upload_protocol?: string;
|
|
1897
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1898
|
+
uploadType?: string;
|
|
1899
|
+
/** Request body */
|
|
1900
|
+
resource: ConversionWorkspace;
|
|
1901
|
+
}): Request<Operation>;
|
|
1902
|
+
patch(request: {
|
|
1903
|
+
/** V1 error format. */
|
|
1904
|
+
"$.xgafv"?: string;
|
|
1905
|
+
/** OAuth access token. */
|
|
1906
|
+
access_token?: string;
|
|
1907
|
+
/** Data format for response. */
|
|
1908
|
+
alt?: string;
|
|
1909
|
+
/** JSONP */
|
|
1910
|
+
callback?: string;
|
|
1911
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1912
|
+
fields?: string;
|
|
1913
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1914
|
+
key?: string;
|
|
1915
|
+
/** Full name of the workspace resource, in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
1916
|
+
name: string;
|
|
1917
|
+
/** OAuth 2.0 token for the current user. */
|
|
1918
|
+
oauth_token?: string;
|
|
1919
|
+
/** Returns response with indentations and line breaks. */
|
|
1920
|
+
prettyPrint?: boolean;
|
|
1921
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1922
|
+
quotaUser?: string;
|
|
1923
|
+
/**
|
|
1924
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
1925
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
1926
|
+
*/
|
|
1927
|
+
requestId?: string;
|
|
1928
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the conversion workspace resource by the update. */
|
|
1929
|
+
updateMask?: string;
|
|
1930
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1931
|
+
upload_protocol?: string;
|
|
1932
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1933
|
+
uploadType?: string;
|
|
1934
|
+
},
|
|
1935
|
+
body: ConversionWorkspace): Request<Operation>;
|
|
1936
|
+
/** Rollbacks a conversion workspace to the last committed spanshot. */
|
|
1937
|
+
rollback(request: {
|
|
1938
|
+
/** V1 error format. */
|
|
1939
|
+
"$.xgafv"?: string;
|
|
1940
|
+
/** OAuth access token. */
|
|
1941
|
+
access_token?: string;
|
|
1942
|
+
/** Data format for response. */
|
|
1943
|
+
alt?: string;
|
|
1944
|
+
/** JSONP */
|
|
1945
|
+
callback?: string;
|
|
1946
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1947
|
+
fields?: string;
|
|
1948
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1949
|
+
key?: string;
|
|
1950
|
+
/** Required. Name of the conversion workspace resource to rollback to. */
|
|
1951
|
+
name: string;
|
|
1952
|
+
/** OAuth 2.0 token for the current user. */
|
|
1953
|
+
oauth_token?: string;
|
|
1954
|
+
/** Returns response with indentations and line breaks. */
|
|
1955
|
+
prettyPrint?: boolean;
|
|
1956
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1957
|
+
quotaUser?: string;
|
|
1958
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1959
|
+
upload_protocol?: string;
|
|
1960
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1961
|
+
uploadType?: string;
|
|
1962
|
+
/** Request body */
|
|
1963
|
+
resource: RollbackConversionWorkspaceRequest;
|
|
1964
|
+
}): Request<Operation>;
|
|
1965
|
+
rollback(request: {
|
|
1966
|
+
/** V1 error format. */
|
|
1967
|
+
"$.xgafv"?: string;
|
|
1968
|
+
/** OAuth access token. */
|
|
1969
|
+
access_token?: string;
|
|
1970
|
+
/** Data format for response. */
|
|
1971
|
+
alt?: string;
|
|
1972
|
+
/** JSONP */
|
|
1973
|
+
callback?: string;
|
|
1974
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
1975
|
+
fields?: string;
|
|
1976
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
1977
|
+
key?: string;
|
|
1978
|
+
/** Required. Name of the conversion workspace resource to rollback to. */
|
|
1979
|
+
name: string;
|
|
1980
|
+
/** OAuth 2.0 token for the current user. */
|
|
1981
|
+
oauth_token?: string;
|
|
1982
|
+
/** Returns response with indentations and line breaks. */
|
|
1983
|
+
prettyPrint?: boolean;
|
|
1984
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1985
|
+
quotaUser?: string;
|
|
1986
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
1987
|
+
upload_protocol?: string;
|
|
1988
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
1989
|
+
uploadType?: string;
|
|
1990
|
+
},
|
|
1991
|
+
body: RollbackConversionWorkspaceRequest): Request<Operation>;
|
|
1992
|
+
/**
|
|
1993
|
+
* Use this method to search/list the background jobs for a specific conversion workspace. The background jobs are not a resource like conversion workspace or mapping rule, and they
|
|
1994
|
+
* can not be created, updated or deleted like one. Instead they are a way to expose the data plane jobs log.
|
|
1995
|
+
*/
|
|
1996
|
+
searchBackgroundJobs(request?: {
|
|
1997
|
+
/** V1 error format. */
|
|
1998
|
+
"$.xgafv"?: string;
|
|
1999
|
+
/** OAuth access token. */
|
|
2000
|
+
access_token?: string;
|
|
2001
|
+
/** Data format for response. */
|
|
2002
|
+
alt?: string;
|
|
2003
|
+
/** JSONP */
|
|
2004
|
+
callback?: string;
|
|
2005
|
+
/** Optional. If supplied, will only return jobs that completed until (not including) the given timestamp. */
|
|
2006
|
+
completedUntilTime?: string;
|
|
2007
|
+
/** Required. Name of the conversion workspace resource whos jobs are listed. in the form of: projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}. */
|
|
2008
|
+
conversionWorkspace: string;
|
|
2009
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2010
|
+
fields?: string;
|
|
2011
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2012
|
+
key?: string;
|
|
2013
|
+
/**
|
|
2014
|
+
* Optional. The maximum number of jobs to return. The service may return fewer than this value. If unspecified, at most 100 jobs will be returned. The maximum value is 100; values
|
|
2015
|
+
* above 100 will be coerced to 100.
|
|
2016
|
+
*/
|
|
2017
|
+
maxSize?: number;
|
|
2018
|
+
/** OAuth 2.0 token for the current user. */
|
|
2019
|
+
oauth_token?: string;
|
|
2020
|
+
/** Returns response with indentations and line breaks. */
|
|
2021
|
+
prettyPrint?: boolean;
|
|
2022
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2023
|
+
quotaUser?: string;
|
|
2024
|
+
/** Optional. Whether or not to return just the most recent job per job type */
|
|
2025
|
+
returnMostRecentPerJobType?: boolean;
|
|
2026
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2027
|
+
upload_protocol?: string;
|
|
2028
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2029
|
+
uploadType?: string;
|
|
2030
|
+
}): Request<SearchBackgroundJobsResponse>;
|
|
2031
|
+
/** Imports a snapshot of the source database into the conversion workspace. */
|
|
2032
|
+
seed(request: {
|
|
2033
|
+
/** V1 error format. */
|
|
2034
|
+
"$.xgafv"?: string;
|
|
2035
|
+
/** OAuth access token. */
|
|
2036
|
+
access_token?: string;
|
|
2037
|
+
/** Data format for response. */
|
|
2038
|
+
alt?: string;
|
|
2039
|
+
/** JSONP */
|
|
2040
|
+
callback?: string;
|
|
2041
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2042
|
+
fields?: string;
|
|
2043
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2044
|
+
key?: string;
|
|
2045
|
+
/**
|
|
2046
|
+
* Name of the conversion workspace resource to seed with new database structure. in the form of:
|
|
2047
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
2048
|
+
*/
|
|
2049
|
+
name: string;
|
|
2050
|
+
/** OAuth 2.0 token for the current user. */
|
|
2051
|
+
oauth_token?: string;
|
|
2052
|
+
/** Returns response with indentations and line breaks. */
|
|
2053
|
+
prettyPrint?: boolean;
|
|
2054
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2055
|
+
quotaUser?: string;
|
|
2056
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2057
|
+
upload_protocol?: string;
|
|
2058
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2059
|
+
uploadType?: string;
|
|
2060
|
+
/** Request body */
|
|
2061
|
+
resource: SeedConversionWorkspaceRequest;
|
|
2062
|
+
}): Request<Operation>;
|
|
2063
|
+
seed(request: {
|
|
2064
|
+
/** V1 error format. */
|
|
2065
|
+
"$.xgafv"?: string;
|
|
2066
|
+
/** OAuth access token. */
|
|
2067
|
+
access_token?: string;
|
|
2068
|
+
/** Data format for response. */
|
|
2069
|
+
alt?: string;
|
|
2070
|
+
/** JSONP */
|
|
2071
|
+
callback?: string;
|
|
2072
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2073
|
+
fields?: string;
|
|
2074
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2075
|
+
key?: string;
|
|
2076
|
+
/**
|
|
2077
|
+
* Name of the conversion workspace resource to seed with new database structure. in the form of:
|
|
2078
|
+
* projects/{project}/locations/{location}/conversionWorkspaces/{conversion_workspace}.
|
|
2079
|
+
*/
|
|
2080
|
+
name: string;
|
|
2081
|
+
/** OAuth 2.0 token for the current user. */
|
|
2082
|
+
oauth_token?: string;
|
|
2083
|
+
/** Returns response with indentations and line breaks. */
|
|
2084
|
+
prettyPrint?: boolean;
|
|
2085
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2086
|
+
quotaUser?: string;
|
|
2087
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2088
|
+
upload_protocol?: string;
|
|
2089
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2090
|
+
uploadType?: string;
|
|
2091
|
+
},
|
|
2092
|
+
body: SeedConversionWorkspaceRequest): Request<Operation>;
|
|
2093
|
+
mappingRules: MappingRulesResource;
|
|
2094
|
+
}
|
|
2095
|
+
interface MigrationJobsResource {
|
|
2096
|
+
/** Creates a new migration job in a given project and location. */
|
|
2097
|
+
create(request: {
|
|
2098
|
+
/** V1 error format. */
|
|
2099
|
+
"$.xgafv"?: string;
|
|
2100
|
+
/** OAuth access token. */
|
|
2101
|
+
access_token?: string;
|
|
2102
|
+
/** Data format for response. */
|
|
2103
|
+
alt?: string;
|
|
2104
|
+
/** JSONP */
|
|
2105
|
+
callback?: string;
|
|
2106
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2107
|
+
fields?: string;
|
|
2108
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2109
|
+
key?: string;
|
|
2110
|
+
/** Required. The ID of the instance to create. */
|
|
2111
|
+
migrationJobId?: string;
|
|
2112
|
+
/** OAuth 2.0 token for the current user. */
|
|
2113
|
+
oauth_token?: string;
|
|
2114
|
+
/** Required. The parent, which owns this collection of migration jobs. */
|
|
2115
|
+
parent: string;
|
|
2116
|
+
/** Returns response with indentations and line breaks. */
|
|
2117
|
+
prettyPrint?: boolean;
|
|
2118
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2119
|
+
quotaUser?: string;
|
|
2120
|
+
/**
|
|
2121
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
2122
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
2123
|
+
*/
|
|
2124
|
+
requestId?: string;
|
|
2125
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2126
|
+
upload_protocol?: string;
|
|
2127
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2128
|
+
uploadType?: string;
|
|
2129
|
+
/** Request body */
|
|
2130
|
+
resource: MigrationJob;
|
|
2131
|
+
}): Request<Operation>;
|
|
2132
|
+
create(request: {
|
|
2133
|
+
/** V1 error format. */
|
|
2134
|
+
"$.xgafv"?: string;
|
|
2135
|
+
/** OAuth access token. */
|
|
2136
|
+
access_token?: string;
|
|
2137
|
+
/** Data format for response. */
|
|
2138
|
+
alt?: string;
|
|
2139
|
+
/** JSONP */
|
|
2140
|
+
callback?: string;
|
|
2141
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2142
|
+
fields?: string;
|
|
2143
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2144
|
+
key?: string;
|
|
2145
|
+
/** Required. The ID of the instance to create. */
|
|
2146
|
+
migrationJobId?: string;
|
|
2147
|
+
/** OAuth 2.0 token for the current user. */
|
|
2148
|
+
oauth_token?: string;
|
|
2149
|
+
/** Required. The parent, which owns this collection of migration jobs. */
|
|
2150
|
+
parent: string;
|
|
2151
|
+
/** Returns response with indentations and line breaks. */
|
|
2152
|
+
prettyPrint?: boolean;
|
|
2153
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2154
|
+
quotaUser?: string;
|
|
2155
|
+
/**
|
|
2156
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
2157
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
2158
|
+
*/
|
|
2159
|
+
requestId?: string;
|
|
2160
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2161
|
+
upload_protocol?: string;
|
|
2162
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2163
|
+
uploadType?: string;
|
|
2164
|
+
},
|
|
2165
|
+
body: MigrationJob): Request<Operation>;
|
|
2166
|
+
/** Deletes a single migration job. */
|
|
2167
|
+
delete(request?: {
|
|
2168
|
+
/** V1 error format. */
|
|
2169
|
+
"$.xgafv"?: string;
|
|
2170
|
+
/** OAuth access token. */
|
|
2171
|
+
access_token?: string;
|
|
2172
|
+
/** Data format for response. */
|
|
2173
|
+
alt?: string;
|
|
2174
|
+
/** JSONP */
|
|
2175
|
+
callback?: string;
|
|
2176
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2177
|
+
fields?: string;
|
|
2178
|
+
/** The destination CloudSQL connection profile is always deleted with the migration job. In case of force delete, the destination CloudSQL replica database is also deleted. */
|
|
2179
|
+
force?: boolean;
|
|
2180
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2181
|
+
key?: string;
|
|
2182
|
+
/** Required. Name of the migration job resource to delete. */
|
|
2183
|
+
name: string;
|
|
2184
|
+
/** OAuth 2.0 token for the current user. */
|
|
2185
|
+
oauth_token?: string;
|
|
2186
|
+
/** Returns response with indentations and line breaks. */
|
|
2187
|
+
prettyPrint?: boolean;
|
|
2188
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2189
|
+
quotaUser?: string;
|
|
2190
|
+
/**
|
|
2191
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
2192
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
2193
|
+
*/
|
|
2194
|
+
requestId?: string;
|
|
2195
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2196
|
+
upload_protocol?: string;
|
|
2197
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2198
|
+
uploadType?: string;
|
|
2199
|
+
}): Request<Operation>;
|
|
2200
|
+
/** Generate a SSH configuration script to configure the reverse SSH connectivity. */
|
|
2201
|
+
generateSshScript(request: {
|
|
2202
|
+
/** V1 error format. */
|
|
2203
|
+
"$.xgafv"?: string;
|
|
2204
|
+
/** OAuth access token. */
|
|
2205
|
+
access_token?: string;
|
|
2206
|
+
/** Data format for response. */
|
|
2207
|
+
alt?: string;
|
|
2208
|
+
/** JSONP */
|
|
2209
|
+
callback?: string;
|
|
2210
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2211
|
+
fields?: string;
|
|
2212
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2213
|
+
key?: string;
|
|
2214
|
+
/** Name of the migration job resource to generate the SSH script. */
|
|
2215
|
+
migrationJob: string;
|
|
2216
|
+
/** OAuth 2.0 token for the current user. */
|
|
2217
|
+
oauth_token?: string;
|
|
2218
|
+
/** Returns response with indentations and line breaks. */
|
|
2219
|
+
prettyPrint?: boolean;
|
|
2220
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2221
|
+
quotaUser?: string;
|
|
2222
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2223
|
+
upload_protocol?: string;
|
|
2224
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2225
|
+
uploadType?: string;
|
|
2226
|
+
/** Request body */
|
|
2227
|
+
resource: GenerateSshScriptRequest;
|
|
2228
|
+
}): Request<SshScript>;
|
|
2229
|
+
generateSshScript(request: {
|
|
2230
|
+
/** V1 error format. */
|
|
2231
|
+
"$.xgafv"?: string;
|
|
2232
|
+
/** OAuth access token. */
|
|
2233
|
+
access_token?: string;
|
|
2234
|
+
/** Data format for response. */
|
|
2235
|
+
alt?: string;
|
|
2236
|
+
/** JSONP */
|
|
2237
|
+
callback?: string;
|
|
2238
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2239
|
+
fields?: string;
|
|
2240
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2241
|
+
key?: string;
|
|
2242
|
+
/** Name of the migration job resource to generate the SSH script. */
|
|
2243
|
+
migrationJob: string;
|
|
2244
|
+
/** OAuth 2.0 token for the current user. */
|
|
2245
|
+
oauth_token?: string;
|
|
2246
|
+
/** Returns response with indentations and line breaks. */
|
|
2247
|
+
prettyPrint?: boolean;
|
|
2248
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2249
|
+
quotaUser?: string;
|
|
2250
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2251
|
+
upload_protocol?: string;
|
|
2252
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2253
|
+
uploadType?: string;
|
|
2254
|
+
},
|
|
2255
|
+
body: GenerateSshScriptRequest): Request<SshScript>;
|
|
2256
|
+
/** Gets details of a single migration job. */
|
|
2257
|
+
get(request?: {
|
|
2258
|
+
/** V1 error format. */
|
|
2259
|
+
"$.xgafv"?: string;
|
|
2260
|
+
/** OAuth access token. */
|
|
2261
|
+
access_token?: string;
|
|
2262
|
+
/** Data format for response. */
|
|
2263
|
+
alt?: string;
|
|
2264
|
+
/** JSONP */
|
|
2265
|
+
callback?: string;
|
|
2266
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2267
|
+
fields?: string;
|
|
2268
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2269
|
+
key?: string;
|
|
2270
|
+
/** Required. Name of the migration job resource to get. */
|
|
2271
|
+
name: string;
|
|
2272
|
+
/** OAuth 2.0 token for the current user. */
|
|
2273
|
+
oauth_token?: string;
|
|
2274
|
+
/** Returns response with indentations and line breaks. */
|
|
2275
|
+
prettyPrint?: boolean;
|
|
2276
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2277
|
+
quotaUser?: string;
|
|
2278
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2279
|
+
upload_protocol?: string;
|
|
2280
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2281
|
+
uploadType?: string;
|
|
2282
|
+
}): Request<MigrationJob>;
|
|
2283
|
+
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
2284
|
+
getIamPolicy(request?: {
|
|
2285
|
+
/** V1 error format. */
|
|
2286
|
+
"$.xgafv"?: string;
|
|
2287
|
+
/** OAuth access token. */
|
|
2288
|
+
access_token?: string;
|
|
2289
|
+
/** Data format for response. */
|
|
2290
|
+
alt?: string;
|
|
2291
|
+
/** JSONP */
|
|
2292
|
+
callback?: string;
|
|
2293
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2294
|
+
fields?: string;
|
|
2295
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2296
|
+
key?: string;
|
|
2297
|
+
/** OAuth 2.0 token for the current user. */
|
|
2298
|
+
oauth_token?: string;
|
|
2299
|
+
/**
|
|
2300
|
+
* Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for
|
|
2301
|
+
* policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy
|
|
2302
|
+
* in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional
|
|
2303
|
+
* role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM
|
|
2304
|
+
* documentation](https://cloud.google.com/iam/help/conditions/resource-policies).
|
|
2305
|
+
*/
|
|
2306
|
+
"options.requestedPolicyVersion"?: number;
|
|
2307
|
+
/** Returns response with indentations and line breaks. */
|
|
2308
|
+
prettyPrint?: boolean;
|
|
2309
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2310
|
+
quotaUser?: string;
|
|
2311
|
+
/**
|
|
2312
|
+
* REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this
|
|
2313
|
+
* field.
|
|
2314
|
+
*/
|
|
2315
|
+
resource: string;
|
|
2316
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2317
|
+
upload_protocol?: string;
|
|
2318
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2319
|
+
uploadType?: string;
|
|
2320
|
+
}): Request<Policy>;
|
|
2321
|
+
/** Lists migration jobs in a given project and location. */
|
|
2322
|
+
list(request?: {
|
|
2323
|
+
/** V1 error format. */
|
|
2324
|
+
"$.xgafv"?: string;
|
|
2325
|
+
/** OAuth access token. */
|
|
2326
|
+
access_token?: string;
|
|
2327
|
+
/** Data format for response. */
|
|
2328
|
+
alt?: string;
|
|
2329
|
+
/** JSONP */
|
|
2330
|
+
callback?: string;
|
|
2331
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2332
|
+
fields?: string;
|
|
2333
|
+
/**
|
|
2334
|
+
* A filter expression that filters migration jobs listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to use for
|
|
2335
|
+
* filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list migration jobs created this year by
|
|
2336
|
+
* specifying **createTime %gt; 2020-01-01T00:00:00.000000000Z.** You can also filter nested fields. For example, you could specify **reverseSshConnectivity.vmIp = "1.2.3.4"** to
|
|
2337
|
+
* select all migration jobs connecting through the specific SSH tunnel bastion.
|
|
2338
|
+
*/
|
|
2339
|
+
filter?: string;
|
|
2340
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2341
|
+
key?: string;
|
|
2342
|
+
/** OAuth 2.0 token for the current user. */
|
|
2343
|
+
oauth_token?: string;
|
|
2344
|
+
/** Sort the results based on the migration job name. Valid values are: "name", "name asc", and "name desc". */
|
|
2345
|
+
orderBy?: string;
|
|
2346
|
+
/**
|
|
2347
|
+
* The maximum number of migration jobs to return. The service may return fewer than this value. If unspecified, at most 50 migration jobs will be returned. The maximum value is
|
|
2348
|
+
* 1000; values above 1000 will be coerced to 1000.
|
|
2349
|
+
*/
|
|
2350
|
+
pageSize?: number;
|
|
2351
|
+
/**
|
|
2352
|
+
* The nextPageToken value received in the previous call to migrationJobs.list, used in the subsequent request to retrieve the next page of results. On first call this should be
|
|
2353
|
+
* left blank. When paginating, all other parameters provided to migrationJobs.list must match the call that provided the page token.
|
|
2354
|
+
*/
|
|
2355
|
+
pageToken?: string;
|
|
2356
|
+
/** Required. The parent, which owns this collection of migrationJobs. */
|
|
2357
|
+
parent: string;
|
|
2358
|
+
/** Returns response with indentations and line breaks. */
|
|
2359
|
+
prettyPrint?: boolean;
|
|
2360
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2361
|
+
quotaUser?: string;
|
|
2362
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2363
|
+
upload_protocol?: string;
|
|
2364
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2365
|
+
uploadType?: string;
|
|
2366
|
+
}): Request<ListMigrationJobsResponse>;
|
|
2367
|
+
/** Updates the parameters of a single migration job. */
|
|
2368
|
+
patch(request: {
|
|
2369
|
+
/** V1 error format. */
|
|
2370
|
+
"$.xgafv"?: string;
|
|
2371
|
+
/** OAuth access token. */
|
|
2372
|
+
access_token?: string;
|
|
2373
|
+
/** Data format for response. */
|
|
2374
|
+
alt?: string;
|
|
2375
|
+
/** JSONP */
|
|
2376
|
+
callback?: string;
|
|
2377
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2378
|
+
fields?: string;
|
|
2379
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2380
|
+
key?: string;
|
|
2381
|
+
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
2382
|
+
name: string;
|
|
2383
|
+
/** OAuth 2.0 token for the current user. */
|
|
2384
|
+
oauth_token?: string;
|
|
2385
|
+
/** Returns response with indentations and line breaks. */
|
|
2386
|
+
prettyPrint?: boolean;
|
|
2387
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2388
|
+
quotaUser?: string;
|
|
2389
|
+
/**
|
|
2390
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
2391
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
2392
|
+
*/
|
|
2393
|
+
requestId?: string;
|
|
2394
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
|
|
2395
|
+
updateMask?: string;
|
|
2396
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2397
|
+
upload_protocol?: string;
|
|
2398
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2399
|
+
uploadType?: string;
|
|
2400
|
+
/** Request body */
|
|
2401
|
+
resource: MigrationJob;
|
|
2402
|
+
}): Request<Operation>;
|
|
2403
|
+
patch(request: {
|
|
2404
|
+
/** V1 error format. */
|
|
2405
|
+
"$.xgafv"?: string;
|
|
2406
|
+
/** OAuth access token. */
|
|
2407
|
+
access_token?: string;
|
|
2408
|
+
/** Data format for response. */
|
|
2409
|
+
alt?: string;
|
|
2410
|
+
/** JSONP */
|
|
2411
|
+
callback?: string;
|
|
2412
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2413
|
+
fields?: string;
|
|
2414
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2415
|
+
key?: string;
|
|
2416
|
+
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
2417
|
+
name: string;
|
|
2418
|
+
/** OAuth 2.0 token for the current user. */
|
|
2419
|
+
oauth_token?: string;
|
|
2420
|
+
/** Returns response with indentations and line breaks. */
|
|
2421
|
+
prettyPrint?: boolean;
|
|
2422
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2423
|
+
quotaUser?: string;
|
|
2424
|
+
/**
|
|
2425
|
+
* A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always set this
|
|
2426
|
+
* value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
2427
|
+
*/
|
|
2428
|
+
requestId?: string;
|
|
2429
|
+
/** Required. Field mask is used to specify the fields to be overwritten in the migration job resource by the update. */
|
|
2430
|
+
updateMask?: string;
|
|
2431
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2432
|
+
upload_protocol?: string;
|
|
2433
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2434
|
+
uploadType?: string;
|
|
2435
|
+
},
|
|
2436
|
+
body: MigrationJob): Request<Operation>;
|
|
2437
|
+
/** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
|
|
2438
|
+
promote(request: {
|
|
2439
|
+
/** V1 error format. */
|
|
2440
|
+
"$.xgafv"?: string;
|
|
2441
|
+
/** OAuth access token. */
|
|
2442
|
+
access_token?: string;
|
|
2443
|
+
/** Data format for response. */
|
|
2444
|
+
alt?: string;
|
|
2445
|
+
/** JSONP */
|
|
2446
|
+
callback?: string;
|
|
2447
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2448
|
+
fields?: string;
|
|
2449
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2450
|
+
key?: string;
|
|
2451
|
+
/** Name of the migration job resource to promote. */
|
|
2452
|
+
name: string;
|
|
2453
|
+
/** OAuth 2.0 token for the current user. */
|
|
2454
|
+
oauth_token?: string;
|
|
2455
|
+
/** Returns response with indentations and line breaks. */
|
|
2456
|
+
prettyPrint?: boolean;
|
|
2457
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2458
|
+
quotaUser?: string;
|
|
2459
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2460
|
+
upload_protocol?: string;
|
|
2461
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2462
|
+
uploadType?: string;
|
|
2463
|
+
/** Request body */
|
|
2464
|
+
resource: PromoteMigrationJobRequest;
|
|
2465
|
+
}): Request<Operation>;
|
|
2466
|
+
promote(request: {
|
|
2467
|
+
/** V1 error format. */
|
|
2468
|
+
"$.xgafv"?: string;
|
|
2469
|
+
/** OAuth access token. */
|
|
2470
|
+
access_token?: string;
|
|
2471
|
+
/** Data format for response. */
|
|
2472
|
+
alt?: string;
|
|
2473
|
+
/** JSONP */
|
|
2474
|
+
callback?: string;
|
|
2475
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2476
|
+
fields?: string;
|
|
2477
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2478
|
+
key?: string;
|
|
2479
|
+
/** Name of the migration job resource to promote. */
|
|
2480
|
+
name: string;
|
|
2481
|
+
/** OAuth 2.0 token for the current user. */
|
|
2482
|
+
oauth_token?: string;
|
|
2483
|
+
/** Returns response with indentations and line breaks. */
|
|
2484
|
+
prettyPrint?: boolean;
|
|
2485
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
2486
|
+
quotaUser?: string;
|
|
2487
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
2488
|
+
upload_protocol?: string;
|
|
2489
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2490
|
+
uploadType?: string;
|
|
2491
|
+
},
|
|
2492
|
+
body: PromoteMigrationJobRequest): Request<Operation>;
|
|
2493
|
+
/** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
|
|
2494
|
+
restart(request: {
|
|
2495
|
+
/** V1 error format. */
|
|
2496
|
+
"$.xgafv"?: string;
|
|
2497
|
+
/** OAuth access token. */
|
|
2498
|
+
access_token?: string;
|
|
2499
|
+
/** Data format for response. */
|
|
2500
|
+
alt?: string;
|
|
2501
|
+
/** JSONP */
|
|
2502
|
+
callback?: string;
|
|
2503
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
2504
|
+
fields?: string;
|
|
2505
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
2506
|
+
key?: string;
|
|
2507
|
+
/** Name of the migration job resource to restart. */
|
|
2508
|
+
name: string;
|
|
2509
|
+
/** OAuth 2.0 token for the current user. */
|
|
2510
|
+
oauth_token?: string;
|
|
2511
|
+
/** Returns response with indentations and line breaks. */
|
|
1352
2512
|
prettyPrint?: boolean;
|
|
1353
2513
|
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
1354
2514
|
quotaUser?: string;
|
|
@@ -1834,6 +2994,182 @@ declare namespace gapi.client {
|
|
|
1834
2994
|
uploadType?: string;
|
|
1835
2995
|
}): Request<ListOperationsResponse>;
|
|
1836
2996
|
}
|
|
2997
|
+
interface PrivateConnectionsResource {
|
|
2998
|
+
/** Creates a new private connection in a given project and location. */
|
|
2999
|
+
create(request: {
|
|
3000
|
+
/** V1 error format. */
|
|
3001
|
+
"$.xgafv"?: string;
|
|
3002
|
+
/** OAuth access token. */
|
|
3003
|
+
access_token?: string;
|
|
3004
|
+
/** Data format for response. */
|
|
3005
|
+
alt?: string;
|
|
3006
|
+
/** JSONP */
|
|
3007
|
+
callback?: string;
|
|
3008
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3009
|
+
fields?: string;
|
|
3010
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3011
|
+
key?: string;
|
|
3012
|
+
/** OAuth 2.0 token for the current user. */
|
|
3013
|
+
oauth_token?: string;
|
|
3014
|
+
/** Required. The parent that owns the collection of PrivateConnections. */
|
|
3015
|
+
parent: string;
|
|
3016
|
+
/** Returns response with indentations and line breaks. */
|
|
3017
|
+
prettyPrint?: boolean;
|
|
3018
|
+
/** Required. The private connection identifier. */
|
|
3019
|
+
privateConnectionId?: string;
|
|
3020
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3021
|
+
quotaUser?: string;
|
|
3022
|
+
/**
|
|
3023
|
+
* Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
|
|
3024
|
+
* set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
3025
|
+
*/
|
|
3026
|
+
requestId?: string;
|
|
3027
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3028
|
+
upload_protocol?: string;
|
|
3029
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3030
|
+
uploadType?: string;
|
|
3031
|
+
/** Request body */
|
|
3032
|
+
resource: PrivateConnection;
|
|
3033
|
+
}): Request<Operation>;
|
|
3034
|
+
create(request: {
|
|
3035
|
+
/** V1 error format. */
|
|
3036
|
+
"$.xgafv"?: string;
|
|
3037
|
+
/** OAuth access token. */
|
|
3038
|
+
access_token?: string;
|
|
3039
|
+
/** Data format for response. */
|
|
3040
|
+
alt?: string;
|
|
3041
|
+
/** JSONP */
|
|
3042
|
+
callback?: string;
|
|
3043
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3044
|
+
fields?: string;
|
|
3045
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3046
|
+
key?: string;
|
|
3047
|
+
/** OAuth 2.0 token for the current user. */
|
|
3048
|
+
oauth_token?: string;
|
|
3049
|
+
/** Required. The parent that owns the collection of PrivateConnections. */
|
|
3050
|
+
parent: string;
|
|
3051
|
+
/** Returns response with indentations and line breaks. */
|
|
3052
|
+
prettyPrint?: boolean;
|
|
3053
|
+
/** Required. The private connection identifier. */
|
|
3054
|
+
privateConnectionId?: string;
|
|
3055
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3056
|
+
quotaUser?: string;
|
|
3057
|
+
/**
|
|
3058
|
+
* Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
|
|
3059
|
+
* set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
3060
|
+
*/
|
|
3061
|
+
requestId?: string;
|
|
3062
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3063
|
+
upload_protocol?: string;
|
|
3064
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3065
|
+
uploadType?: string;
|
|
3066
|
+
},
|
|
3067
|
+
body: PrivateConnection): Request<Operation>;
|
|
3068
|
+
/** Deletes a single Database Migration Service private connection. */
|
|
3069
|
+
delete(request?: {
|
|
3070
|
+
/** V1 error format. */
|
|
3071
|
+
"$.xgafv"?: string;
|
|
3072
|
+
/** OAuth access token. */
|
|
3073
|
+
access_token?: string;
|
|
3074
|
+
/** Data format for response. */
|
|
3075
|
+
alt?: string;
|
|
3076
|
+
/** JSONP */
|
|
3077
|
+
callback?: string;
|
|
3078
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3079
|
+
fields?: string;
|
|
3080
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3081
|
+
key?: string;
|
|
3082
|
+
/** Required. The name of the private connection to delete. */
|
|
3083
|
+
name: string;
|
|
3084
|
+
/** OAuth 2.0 token for the current user. */
|
|
3085
|
+
oauth_token?: string;
|
|
3086
|
+
/** Returns response with indentations and line breaks. */
|
|
3087
|
+
prettyPrint?: boolean;
|
|
3088
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3089
|
+
quotaUser?: string;
|
|
3090
|
+
/**
|
|
3091
|
+
* Optional. A unique id used to identify the request. If the server receives two requests with the same id, then the second request will be ignored. It is recommended to always
|
|
3092
|
+
* set this value to a UUID. The id must contain only letters (a-z, A-Z), numbers (0-9), underscores (_), and hyphens (-). The maximum length is 40 characters.
|
|
3093
|
+
*/
|
|
3094
|
+
requestId?: string;
|
|
3095
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3096
|
+
upload_protocol?: string;
|
|
3097
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3098
|
+
uploadType?: string;
|
|
3099
|
+
}): Request<Operation>;
|
|
3100
|
+
/** Gets details of a single private connection. */
|
|
3101
|
+
get(request?: {
|
|
3102
|
+
/** V1 error format. */
|
|
3103
|
+
"$.xgafv"?: string;
|
|
3104
|
+
/** OAuth access token. */
|
|
3105
|
+
access_token?: string;
|
|
3106
|
+
/** Data format for response. */
|
|
3107
|
+
alt?: string;
|
|
3108
|
+
/** JSONP */
|
|
3109
|
+
callback?: string;
|
|
3110
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3111
|
+
fields?: string;
|
|
3112
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3113
|
+
key?: string;
|
|
3114
|
+
/** Required. The name of the private connection to get. */
|
|
3115
|
+
name: string;
|
|
3116
|
+
/** OAuth 2.0 token for the current user. */
|
|
3117
|
+
oauth_token?: string;
|
|
3118
|
+
/** Returns response with indentations and line breaks. */
|
|
3119
|
+
prettyPrint?: boolean;
|
|
3120
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3121
|
+
quotaUser?: string;
|
|
3122
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3123
|
+
upload_protocol?: string;
|
|
3124
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3125
|
+
uploadType?: string;
|
|
3126
|
+
}): Request<PrivateConnection>;
|
|
3127
|
+
/** Retrieves a list of private connections in a given project and location. */
|
|
3128
|
+
list(request?: {
|
|
3129
|
+
/** V1 error format. */
|
|
3130
|
+
"$.xgafv"?: string;
|
|
3131
|
+
/** OAuth access token. */
|
|
3132
|
+
access_token?: string;
|
|
3133
|
+
/** Data format for response. */
|
|
3134
|
+
alt?: string;
|
|
3135
|
+
/** JSONP */
|
|
3136
|
+
callback?: string;
|
|
3137
|
+
/** Selector specifying which fields to include in a partial response. */
|
|
3138
|
+
fields?: string;
|
|
3139
|
+
/**
|
|
3140
|
+
* A filter expression that filters private connections listed in the response. The expression must specify the field name, a comparison operator, and the value that you want to
|
|
3141
|
+
* use for filtering. The value must be a string, a number, or a boolean. The comparison operator must be either =, !=, >, or <. For example, list private connections created this
|
|
3142
|
+
* year by specifying **createTime %gt; 2021-01-01T00:00:00.000000000Z**.
|
|
3143
|
+
*/
|
|
3144
|
+
filter?: string;
|
|
3145
|
+
/** API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. */
|
|
3146
|
+
key?: string;
|
|
3147
|
+
/** OAuth 2.0 token for the current user. */
|
|
3148
|
+
oauth_token?: string;
|
|
3149
|
+
/** Order by fields for the result. */
|
|
3150
|
+
orderBy?: string;
|
|
3151
|
+
/**
|
|
3152
|
+
* Maximum number of private connections to return. If unspecified, at most 50 private connections that will be returned. The maximum value is 1000; values above 1000 will be
|
|
3153
|
+
* coerced to 1000.
|
|
3154
|
+
*/
|
|
3155
|
+
pageSize?: number;
|
|
3156
|
+
/**
|
|
3157
|
+
* Page token received from a previous `ListPrivateConnections` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to
|
|
3158
|
+
* `ListPrivateConnections` must match the call that provided the page token.
|
|
3159
|
+
*/
|
|
3160
|
+
pageToken?: string;
|
|
3161
|
+
/** Required. The parent that owns the collection of private connections. */
|
|
3162
|
+
parent: string;
|
|
3163
|
+
/** Returns response with indentations and line breaks. */
|
|
3164
|
+
prettyPrint?: boolean;
|
|
3165
|
+
/** Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters. */
|
|
3166
|
+
quotaUser?: string;
|
|
3167
|
+
/** Upload protocol for media (e.g. "raw", "multipart"). */
|
|
3168
|
+
upload_protocol?: string;
|
|
3169
|
+
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3170
|
+
uploadType?: string;
|
|
3171
|
+
}): Request<ListPrivateConnectionsResponse>;
|
|
3172
|
+
}
|
|
1837
3173
|
interface LocationsResource {
|
|
1838
3174
|
/** Gets information about a location. */
|
|
1839
3175
|
get(request?: {
|
|
@@ -1899,8 +3235,10 @@ declare namespace gapi.client {
|
|
|
1899
3235
|
uploadType?: string;
|
|
1900
3236
|
}): Request<ListLocationsResponse>;
|
|
1901
3237
|
connectionProfiles: ConnectionProfilesResource;
|
|
3238
|
+
conversionWorkspaces: ConversionWorkspacesResource;
|
|
1902
3239
|
migrationJobs: MigrationJobsResource;
|
|
1903
3240
|
operations: OperationsResource;
|
|
3241
|
+
privateConnections: PrivateConnectionsResource;
|
|
1904
3242
|
}
|
|
1905
3243
|
interface ProjectsResource {
|
|
1906
3244
|
locations: LocationsResource;
|