@maxim_mazurok/gapi.client.datamigration-v1beta1 0.1.20260225 → 0.1.20260310
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 +155 -96
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://datamigration.googleapis.com/$discovery/rest?version=v1beta1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260310
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -38,7 +38,11 @@ declare namespace gapi.client {
|
|
|
38
38
|
/** Specifies the identities that do not cause logging for this type of permission. Follows the same format of Binding.members. */
|
|
39
39
|
exemptedMembers?: string[];
|
|
40
40
|
/** The log type that this config enables. */
|
|
41
|
-
logType?:
|
|
41
|
+
logType?:
|
|
42
|
+
| 'LOG_TYPE_UNSPECIFIED'
|
|
43
|
+
| 'ADMIN_READ'
|
|
44
|
+
| 'DATA_WRITE'
|
|
45
|
+
| 'DATA_READ';
|
|
42
46
|
}
|
|
43
47
|
interface BadRequest {
|
|
44
48
|
/** Describes all violations in a client request. */
|
|
@@ -65,17 +69,24 @@ declare namespace gapi.client {
|
|
|
65
69
|
}
|
|
66
70
|
interface CloudSqlSettings {
|
|
67
71
|
/** The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives. */
|
|
68
|
-
activationPolicy?:
|
|
72
|
+
activationPolicy?:
|
|
73
|
+
| 'SQL_ACTIVATION_POLICY_UNSPECIFIED'
|
|
74
|
+
| 'ALWAYS'
|
|
75
|
+
| 'NEVER';
|
|
69
76
|
/** [default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB. */
|
|
70
77
|
autoStorageIncrease?: boolean;
|
|
71
78
|
/** The database flags passed to the Cloud SQL instance at startup. An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }. */
|
|
72
79
|
databaseFlags?: {[P in string]: string};
|
|
73
80
|
/** The database engine type and version. */
|
|
74
|
-
databaseVersion?:
|
|
81
|
+
databaseVersion?:
|
|
82
|
+
| 'SQL_DATABASE_VERSION_UNSPECIFIED'
|
|
83
|
+
| 'MYSQL_5_6'
|
|
84
|
+
| 'MYSQL_5_7'
|
|
85
|
+
| 'MYSQL_8_0';
|
|
75
86
|
/** The storage capacity available to the database, in GB. The minimum (and default) size is 10GB. */
|
|
76
87
|
dataDiskSizeGb?: string;
|
|
77
88
|
/** The type of storage: `PD_SSD` (default) or `PD_HDD`. */
|
|
78
|
-
dataDiskType?:
|
|
89
|
+
dataDiskType?: 'SQL_DATA_DISK_TYPE_UNSPECIFIED' | 'PD_SSD' | 'PD_HDD';
|
|
79
90
|
/** The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled. */
|
|
80
91
|
ipConfig?: SqlIpConfig;
|
|
81
92
|
/** Input only. Initial root password. */
|
|
@@ -109,17 +120,25 @@ declare namespace gapi.client {
|
|
|
109
120
|
/** The name of this connection profile resource in the form of projects/{project}/locations/{location}/connectionProfiles/{connectionProfile}. */
|
|
110
121
|
name?: string;
|
|
111
122
|
/** The database provider. */
|
|
112
|
-
provider?:
|
|
123
|
+
provider?: 'DATABASE_PROVIDER_UNSPECIFIED' | 'CLOUDSQL' | 'RDS';
|
|
113
124
|
/** The current connection profile state (e.g. DRAFT, READY, or FAILED). */
|
|
114
|
-
state?:
|
|
125
|
+
state?:
|
|
126
|
+
| 'STATE_UNSPECIFIED'
|
|
127
|
+
| 'DRAFT'
|
|
128
|
+
| 'CREATING'
|
|
129
|
+
| 'READY'
|
|
130
|
+
| 'UPDATING'
|
|
131
|
+
| 'DELETING'
|
|
132
|
+
| 'DELETED'
|
|
133
|
+
| 'FAILED';
|
|
115
134
|
/** 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". */
|
|
116
135
|
updateTime?: string;
|
|
117
136
|
}
|
|
118
137
|
interface DatabaseType {
|
|
119
138
|
/** The database engine. */
|
|
120
|
-
engine?:
|
|
139
|
+
engine?: 'DATABASE_ENGINE_UNSPECIFIED' | 'MYSQL';
|
|
121
140
|
/** The database provider. */
|
|
122
|
-
provider?:
|
|
141
|
+
provider?: 'DATABASE_PROVIDER_UNSPECIFIED' | 'CLOUDSQL' | 'RDS';
|
|
123
142
|
}
|
|
124
143
|
interface DebugInfo {
|
|
125
144
|
/** Additional debugging information provided by the server. */
|
|
@@ -262,7 +281,13 @@ declare namespace gapi.client {
|
|
|
262
281
|
/** The name (URI) of this migration job resource, in the form of: projects/{project}/locations/{location}/migrationJobs/{migrationJob}. */
|
|
263
282
|
name?: string;
|
|
264
283
|
/** Output only. The current migration job phase. */
|
|
265
|
-
phase?:
|
|
284
|
+
phase?:
|
|
285
|
+
| 'PHASE_UNSPECIFIED'
|
|
286
|
+
| 'FULL_DUMP'
|
|
287
|
+
| 'CDC'
|
|
288
|
+
| 'PROMOTE_IN_PROGRESS'
|
|
289
|
+
| 'WAITING_FOR_SOURCE_WRITES_TO_STOP'
|
|
290
|
+
| 'PREPARING_THE_DUMP';
|
|
266
291
|
/** The details needed to communicate to the source over Reverse SSH tunnel connectivity. */
|
|
267
292
|
reverseSshConnectivity?: ReverseSshConnectivity;
|
|
268
293
|
/** Required. The resource name (URI) of the source connection profile. */
|
|
@@ -270,11 +295,27 @@ declare namespace gapi.client {
|
|
|
270
295
|
/** The database engine type and provider of the source. */
|
|
271
296
|
sourceDatabase?: DatabaseType;
|
|
272
297
|
/** The current migration job state. */
|
|
273
|
-
state?:
|
|
298
|
+
state?:
|
|
299
|
+
| 'STATE_UNSPECIFIED'
|
|
300
|
+
| 'MAINTENANCE'
|
|
301
|
+
| 'DRAFT'
|
|
302
|
+
| 'CREATING'
|
|
303
|
+
| 'NOT_STARTED'
|
|
304
|
+
| 'RUNNING'
|
|
305
|
+
| 'FAILED'
|
|
306
|
+
| 'COMPLETED'
|
|
307
|
+
| 'DELETING'
|
|
308
|
+
| 'STOPPING'
|
|
309
|
+
| 'STOPPED'
|
|
310
|
+
| 'DELETED'
|
|
311
|
+
| 'UPDATING'
|
|
312
|
+
| 'STARTING'
|
|
313
|
+
| 'RESTARTING'
|
|
314
|
+
| 'RESUMING';
|
|
274
315
|
/** static ip connectivity data (default, no additional details needed). */
|
|
275
316
|
staticIpConnectivity?: any;
|
|
276
317
|
/** Required. The migration job type. */
|
|
277
|
-
type?:
|
|
318
|
+
type?: 'TYPE_UNSPECIFIED' | 'ONE_TIME' | 'CONTINUOUS';
|
|
278
319
|
/** Output only. The timestamp when the migration job resource was last updated. A timestamp in RFC3339 UTC "Zulu" format, accurate to nanoseconds. Example: "2014-10-02T15:01:23.045123456Z". */
|
|
279
320
|
updateTime?: string;
|
|
280
321
|
/** The details of the VPC network that the source database is located in. */
|
|
@@ -282,7 +323,25 @@ declare namespace gapi.client {
|
|
|
282
323
|
}
|
|
283
324
|
interface MigrationJobVerificationError {
|
|
284
325
|
/** Output only. An instance of ErrorCode specifying the error that occurred. */
|
|
285
|
-
errorCode?:
|
|
326
|
+
errorCode?:
|
|
327
|
+
| 'ERROR_CODE_UNSPECIFIED'
|
|
328
|
+
| 'CONNECTION_FAILURE'
|
|
329
|
+
| 'AUTHENTICATION_FAILURE'
|
|
330
|
+
| 'INVALID_CONNECTION_PROFILE_CONFIG'
|
|
331
|
+
| 'VERSION_INCOMPATIBILITY'
|
|
332
|
+
| 'CONNECTION_PROFILE_TYPES_INCOMPATIBILITY'
|
|
333
|
+
| 'UNSUPPORTED_GTID_MODE'
|
|
334
|
+
| 'UNSUPPORTED_DEFINER'
|
|
335
|
+
| 'CANT_RESTART_RUNNING_MIGRATION'
|
|
336
|
+
| 'TABLES_WITH_LIMITED_SUPPORT'
|
|
337
|
+
| 'UNSUPPORTED_DATABASE_LOCALE'
|
|
338
|
+
| 'UNSUPPORTED_DATABASE_FDW_CONFIG'
|
|
339
|
+
| 'ERROR_RDBMS'
|
|
340
|
+
| 'SOURCE_SIZE_EXCEEDS_THRESHOLD'
|
|
341
|
+
| 'EXISTING_CONFLICTING_DATABASES'
|
|
342
|
+
| 'PARALLEL_IMPORT_INSUFFICIENT_PRIVILEGE'
|
|
343
|
+
| 'EXISTING_DATA'
|
|
344
|
+
| 'SOURCE_MAX_SUBSCRIPTIONS';
|
|
286
345
|
/** Output only. A specific detailed error message, if supplied by the engine. */
|
|
287
346
|
errorDetailMessage?: string;
|
|
288
347
|
/** Output only. A formatted message with further details about the error and a CTA. */
|
|
@@ -431,7 +490,7 @@ declare namespace gapi.client {
|
|
|
431
490
|
/** Input only. The unencrypted PKCS#1 or PKCS#8 PEM-encoded private key associated with the Client Certificate. If this field is used then the 'client_certificate' field is mandatory. */
|
|
432
491
|
clientKey?: string;
|
|
433
492
|
/** Output only. The ssl config type according to 'client_key', 'client_certificate' and 'ca_certificate'. */
|
|
434
|
-
type?:
|
|
493
|
+
type?: 'SSL_TYPE_UNSPECIFIED' | 'SERVER_ONLY' | 'SERVER_CLIENT';
|
|
435
494
|
}
|
|
436
495
|
interface StartMigrationJobRequest {}
|
|
437
496
|
interface StaticIpConnectivity {}
|
|
@@ -473,11 +532,11 @@ declare namespace gapi.client {
|
|
|
473
532
|
/** Creates a new connection profile in a given project and location. */
|
|
474
533
|
create(request: {
|
|
475
534
|
/** V1 error format. */
|
|
476
|
-
'$.xgafv'?:
|
|
535
|
+
'$.xgafv'?: '1' | '2';
|
|
477
536
|
/** OAuth access token. */
|
|
478
537
|
access_token?: string;
|
|
479
538
|
/** Data format for response. */
|
|
480
|
-
alt?:
|
|
539
|
+
alt?: 'json' | 'media' | 'proto';
|
|
481
540
|
/** JSONP */
|
|
482
541
|
callback?: string;
|
|
483
542
|
/** Required. The connection profile identifier. */
|
|
@@ -506,11 +565,11 @@ declare namespace gapi.client {
|
|
|
506
565
|
create(
|
|
507
566
|
request: {
|
|
508
567
|
/** V1 error format. */
|
|
509
|
-
'$.xgafv'?:
|
|
568
|
+
'$.xgafv'?: '1' | '2';
|
|
510
569
|
/** OAuth access token. */
|
|
511
570
|
access_token?: string;
|
|
512
571
|
/** Data format for response. */
|
|
513
|
-
alt?:
|
|
572
|
+
alt?: 'json' | 'media' | 'proto';
|
|
514
573
|
/** JSONP */
|
|
515
574
|
callback?: string;
|
|
516
575
|
/** Required. The connection profile identifier. */
|
|
@@ -539,11 +598,11 @@ declare namespace gapi.client {
|
|
|
539
598
|
/** 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. */
|
|
540
599
|
delete(request?: {
|
|
541
600
|
/** V1 error format. */
|
|
542
|
-
'$.xgafv'?:
|
|
601
|
+
'$.xgafv'?: '1' | '2';
|
|
543
602
|
/** OAuth access token. */
|
|
544
603
|
access_token?: string;
|
|
545
604
|
/** Data format for response. */
|
|
546
|
-
alt?:
|
|
605
|
+
alt?: 'json' | 'media' | 'proto';
|
|
547
606
|
/** JSONP */
|
|
548
607
|
callback?: string;
|
|
549
608
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -570,11 +629,11 @@ declare namespace gapi.client {
|
|
|
570
629
|
/** Gets details of a single connection profile. */
|
|
571
630
|
get(request?: {
|
|
572
631
|
/** V1 error format. */
|
|
573
|
-
'$.xgafv'?:
|
|
632
|
+
'$.xgafv'?: '1' | '2';
|
|
574
633
|
/** OAuth access token. */
|
|
575
634
|
access_token?: string;
|
|
576
635
|
/** Data format for response. */
|
|
577
|
-
alt?:
|
|
636
|
+
alt?: 'json' | 'media' | 'proto';
|
|
578
637
|
/** JSONP */
|
|
579
638
|
callback?: string;
|
|
580
639
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -597,11 +656,11 @@ declare namespace gapi.client {
|
|
|
597
656
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
598
657
|
getIamPolicy(request?: {
|
|
599
658
|
/** V1 error format. */
|
|
600
|
-
'$.xgafv'?:
|
|
659
|
+
'$.xgafv'?: '1' | '2';
|
|
601
660
|
/** OAuth access token. */
|
|
602
661
|
access_token?: string;
|
|
603
662
|
/** Data format for response. */
|
|
604
|
-
alt?:
|
|
663
|
+
alt?: 'json' | 'media' | 'proto';
|
|
605
664
|
/** JSONP */
|
|
606
665
|
callback?: string;
|
|
607
666
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -626,11 +685,11 @@ declare namespace gapi.client {
|
|
|
626
685
|
/** Retrieve a list of all connection profiles in a given project and location. */
|
|
627
686
|
list(request?: {
|
|
628
687
|
/** V1 error format. */
|
|
629
|
-
'$.xgafv'?:
|
|
688
|
+
'$.xgafv'?: '1' | '2';
|
|
630
689
|
/** OAuth access token. */
|
|
631
690
|
access_token?: string;
|
|
632
691
|
/** Data format for response. */
|
|
633
|
-
alt?:
|
|
692
|
+
alt?: 'json' | 'media' | 'proto';
|
|
634
693
|
/** JSONP */
|
|
635
694
|
callback?: string;
|
|
636
695
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -661,11 +720,11 @@ declare namespace gapi.client {
|
|
|
661
720
|
/** Update the configuration of a single connection profile. */
|
|
662
721
|
patch(request: {
|
|
663
722
|
/** V1 error format. */
|
|
664
|
-
'$.xgafv'?:
|
|
723
|
+
'$.xgafv'?: '1' | '2';
|
|
665
724
|
/** OAuth access token. */
|
|
666
725
|
access_token?: string;
|
|
667
726
|
/** Data format for response. */
|
|
668
|
-
alt?:
|
|
727
|
+
alt?: 'json' | 'media' | 'proto';
|
|
669
728
|
/** JSONP */
|
|
670
729
|
callback?: string;
|
|
671
730
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -694,11 +753,11 @@ declare namespace gapi.client {
|
|
|
694
753
|
patch(
|
|
695
754
|
request: {
|
|
696
755
|
/** V1 error format. */
|
|
697
|
-
'$.xgafv'?:
|
|
756
|
+
'$.xgafv'?: '1' | '2';
|
|
698
757
|
/** OAuth access token. */
|
|
699
758
|
access_token?: string;
|
|
700
759
|
/** Data format for response. */
|
|
701
|
-
alt?:
|
|
760
|
+
alt?: 'json' | 'media' | 'proto';
|
|
702
761
|
/** JSONP */
|
|
703
762
|
callback?: string;
|
|
704
763
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -728,11 +787,11 @@ declare namespace gapi.client {
|
|
|
728
787
|
setIamPolicy(
|
|
729
788
|
request: {
|
|
730
789
|
/** V1 error format. */
|
|
731
|
-
'$.xgafv'?:
|
|
790
|
+
'$.xgafv'?: '1' | '2';
|
|
732
791
|
/** OAuth access token. */
|
|
733
792
|
access_token?: string;
|
|
734
793
|
/** Data format for response. */
|
|
735
|
-
alt?:
|
|
794
|
+
alt?: 'json' | 'media' | 'proto';
|
|
736
795
|
/** JSONP */
|
|
737
796
|
callback?: string;
|
|
738
797
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -758,11 +817,11 @@ declare namespace gapi.client {
|
|
|
758
817
|
testIamPermissions(
|
|
759
818
|
request: {
|
|
760
819
|
/** V1 error format. */
|
|
761
|
-
'$.xgafv'?:
|
|
820
|
+
'$.xgafv'?: '1' | '2';
|
|
762
821
|
/** OAuth access token. */
|
|
763
822
|
access_token?: string;
|
|
764
823
|
/** Data format for response. */
|
|
765
|
-
alt?:
|
|
824
|
+
alt?: 'json' | 'media' | 'proto';
|
|
766
825
|
/** JSONP */
|
|
767
826
|
callback?: string;
|
|
768
827
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -789,11 +848,11 @@ declare namespace gapi.client {
|
|
|
789
848
|
/** Creates a new migration job in a given project and location. */
|
|
790
849
|
create(request: {
|
|
791
850
|
/** V1 error format. */
|
|
792
|
-
'$.xgafv'?:
|
|
851
|
+
'$.xgafv'?: '1' | '2';
|
|
793
852
|
/** OAuth access token. */
|
|
794
853
|
access_token?: string;
|
|
795
854
|
/** Data format for response. */
|
|
796
|
-
alt?:
|
|
855
|
+
alt?: 'json' | 'media' | 'proto';
|
|
797
856
|
/** JSONP */
|
|
798
857
|
callback?: string;
|
|
799
858
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -822,11 +881,11 @@ declare namespace gapi.client {
|
|
|
822
881
|
create(
|
|
823
882
|
request: {
|
|
824
883
|
/** V1 error format. */
|
|
825
|
-
'$.xgafv'?:
|
|
884
|
+
'$.xgafv'?: '1' | '2';
|
|
826
885
|
/** OAuth access token. */
|
|
827
886
|
access_token?: string;
|
|
828
887
|
/** Data format for response. */
|
|
829
|
-
alt?:
|
|
888
|
+
alt?: 'json' | 'media' | 'proto';
|
|
830
889
|
/** JSONP */
|
|
831
890
|
callback?: string;
|
|
832
891
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -855,11 +914,11 @@ declare namespace gapi.client {
|
|
|
855
914
|
/** Deletes a single migration job. */
|
|
856
915
|
delete(request?: {
|
|
857
916
|
/** V1 error format. */
|
|
858
|
-
'$.xgafv'?:
|
|
917
|
+
'$.xgafv'?: '1' | '2';
|
|
859
918
|
/** OAuth access token. */
|
|
860
919
|
access_token?: string;
|
|
861
920
|
/** Data format for response. */
|
|
862
|
-
alt?:
|
|
921
|
+
alt?: 'json' | 'media' | 'proto';
|
|
863
922
|
/** JSONP */
|
|
864
923
|
callback?: string;
|
|
865
924
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -886,11 +945,11 @@ declare namespace gapi.client {
|
|
|
886
945
|
/** Generate a SSH configuration script to configure the reverse SSH connectivity. */
|
|
887
946
|
generateSshScript(request: {
|
|
888
947
|
/** V1 error format. */
|
|
889
|
-
'$.xgafv'?:
|
|
948
|
+
'$.xgafv'?: '1' | '2';
|
|
890
949
|
/** OAuth access token. */
|
|
891
950
|
access_token?: string;
|
|
892
951
|
/** Data format for response. */
|
|
893
|
-
alt?:
|
|
952
|
+
alt?: 'json' | 'media' | 'proto';
|
|
894
953
|
/** JSONP */
|
|
895
954
|
callback?: string;
|
|
896
955
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -915,11 +974,11 @@ declare namespace gapi.client {
|
|
|
915
974
|
generateSshScript(
|
|
916
975
|
request: {
|
|
917
976
|
/** V1 error format. */
|
|
918
|
-
'$.xgafv'?:
|
|
977
|
+
'$.xgafv'?: '1' | '2';
|
|
919
978
|
/** OAuth access token. */
|
|
920
979
|
access_token?: string;
|
|
921
980
|
/** Data format for response. */
|
|
922
|
-
alt?:
|
|
981
|
+
alt?: 'json' | 'media' | 'proto';
|
|
923
982
|
/** JSONP */
|
|
924
983
|
callback?: string;
|
|
925
984
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -944,11 +1003,11 @@ declare namespace gapi.client {
|
|
|
944
1003
|
/** Gets details of a single migration job. */
|
|
945
1004
|
get(request?: {
|
|
946
1005
|
/** V1 error format. */
|
|
947
|
-
'$.xgafv'?:
|
|
1006
|
+
'$.xgafv'?: '1' | '2';
|
|
948
1007
|
/** OAuth access token. */
|
|
949
1008
|
access_token?: string;
|
|
950
1009
|
/** Data format for response. */
|
|
951
|
-
alt?:
|
|
1010
|
+
alt?: 'json' | 'media' | 'proto';
|
|
952
1011
|
/** JSONP */
|
|
953
1012
|
callback?: string;
|
|
954
1013
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -971,11 +1030,11 @@ declare namespace gapi.client {
|
|
|
971
1030
|
/** Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. */
|
|
972
1031
|
getIamPolicy(request?: {
|
|
973
1032
|
/** V1 error format. */
|
|
974
|
-
'$.xgafv'?:
|
|
1033
|
+
'$.xgafv'?: '1' | '2';
|
|
975
1034
|
/** OAuth access token. */
|
|
976
1035
|
access_token?: string;
|
|
977
1036
|
/** Data format for response. */
|
|
978
|
-
alt?:
|
|
1037
|
+
alt?: 'json' | 'media' | 'proto';
|
|
979
1038
|
/** JSONP */
|
|
980
1039
|
callback?: string;
|
|
981
1040
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1000,11 +1059,11 @@ declare namespace gapi.client {
|
|
|
1000
1059
|
/** Lists migration jobs in a given project and location. */
|
|
1001
1060
|
list(request?: {
|
|
1002
1061
|
/** V1 error format. */
|
|
1003
|
-
'$.xgafv'?:
|
|
1062
|
+
'$.xgafv'?: '1' | '2';
|
|
1004
1063
|
/** OAuth access token. */
|
|
1005
1064
|
access_token?: string;
|
|
1006
1065
|
/** Data format for response. */
|
|
1007
|
-
alt?:
|
|
1066
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1008
1067
|
/** JSONP */
|
|
1009
1068
|
callback?: string;
|
|
1010
1069
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1035,11 +1094,11 @@ declare namespace gapi.client {
|
|
|
1035
1094
|
/** Updates the parameters of a single migration job. */
|
|
1036
1095
|
patch(request: {
|
|
1037
1096
|
/** V1 error format. */
|
|
1038
|
-
'$.xgafv'?:
|
|
1097
|
+
'$.xgafv'?: '1' | '2';
|
|
1039
1098
|
/** OAuth access token. */
|
|
1040
1099
|
access_token?: string;
|
|
1041
1100
|
/** Data format for response. */
|
|
1042
|
-
alt?:
|
|
1101
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1043
1102
|
/** JSONP */
|
|
1044
1103
|
callback?: string;
|
|
1045
1104
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1068,11 +1127,11 @@ declare namespace gapi.client {
|
|
|
1068
1127
|
patch(
|
|
1069
1128
|
request: {
|
|
1070
1129
|
/** V1 error format. */
|
|
1071
|
-
'$.xgafv'?:
|
|
1130
|
+
'$.xgafv'?: '1' | '2';
|
|
1072
1131
|
/** OAuth access token. */
|
|
1073
1132
|
access_token?: string;
|
|
1074
1133
|
/** Data format for response. */
|
|
1075
|
-
alt?:
|
|
1134
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1076
1135
|
/** JSONP */
|
|
1077
1136
|
callback?: string;
|
|
1078
1137
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1101,11 +1160,11 @@ declare namespace gapi.client {
|
|
|
1101
1160
|
/** Promote a migration job, stopping replication to the destination and promoting the destination to be a standalone database. */
|
|
1102
1161
|
promote(request: {
|
|
1103
1162
|
/** V1 error format. */
|
|
1104
|
-
'$.xgafv'?:
|
|
1163
|
+
'$.xgafv'?: '1' | '2';
|
|
1105
1164
|
/** OAuth access token. */
|
|
1106
1165
|
access_token?: string;
|
|
1107
1166
|
/** Data format for response. */
|
|
1108
|
-
alt?:
|
|
1167
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1109
1168
|
/** JSONP */
|
|
1110
1169
|
callback?: string;
|
|
1111
1170
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1130,11 +1189,11 @@ declare namespace gapi.client {
|
|
|
1130
1189
|
promote(
|
|
1131
1190
|
request: {
|
|
1132
1191
|
/** V1 error format. */
|
|
1133
|
-
'$.xgafv'?:
|
|
1192
|
+
'$.xgafv'?: '1' | '2';
|
|
1134
1193
|
/** OAuth access token. */
|
|
1135
1194
|
access_token?: string;
|
|
1136
1195
|
/** Data format for response. */
|
|
1137
|
-
alt?:
|
|
1196
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1138
1197
|
/** JSONP */
|
|
1139
1198
|
callback?: string;
|
|
1140
1199
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1159,11 +1218,11 @@ declare namespace gapi.client {
|
|
|
1159
1218
|
/** Restart a stopped or failed migration job, resetting the destination instance to its original state and starting the migration process from scratch. */
|
|
1160
1219
|
restart(request: {
|
|
1161
1220
|
/** V1 error format. */
|
|
1162
|
-
'$.xgafv'?:
|
|
1221
|
+
'$.xgafv'?: '1' | '2';
|
|
1163
1222
|
/** OAuth access token. */
|
|
1164
1223
|
access_token?: string;
|
|
1165
1224
|
/** Data format for response. */
|
|
1166
|
-
alt?:
|
|
1225
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1167
1226
|
/** JSONP */
|
|
1168
1227
|
callback?: string;
|
|
1169
1228
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1188,11 +1247,11 @@ declare namespace gapi.client {
|
|
|
1188
1247
|
restart(
|
|
1189
1248
|
request: {
|
|
1190
1249
|
/** V1 error format. */
|
|
1191
|
-
'$.xgafv'?:
|
|
1250
|
+
'$.xgafv'?: '1' | '2';
|
|
1192
1251
|
/** OAuth access token. */
|
|
1193
1252
|
access_token?: string;
|
|
1194
1253
|
/** Data format for response. */
|
|
1195
|
-
alt?:
|
|
1254
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1196
1255
|
/** JSONP */
|
|
1197
1256
|
callback?: string;
|
|
1198
1257
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1217,11 +1276,11 @@ declare namespace gapi.client {
|
|
|
1217
1276
|
/** Resume a migration job that is currently stopped and is resumable (was stopped during CDC phase). */
|
|
1218
1277
|
resume(request: {
|
|
1219
1278
|
/** V1 error format. */
|
|
1220
|
-
'$.xgafv'?:
|
|
1279
|
+
'$.xgafv'?: '1' | '2';
|
|
1221
1280
|
/** OAuth access token. */
|
|
1222
1281
|
access_token?: string;
|
|
1223
1282
|
/** Data format for response. */
|
|
1224
|
-
alt?:
|
|
1283
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1225
1284
|
/** JSONP */
|
|
1226
1285
|
callback?: string;
|
|
1227
1286
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1246,11 +1305,11 @@ declare namespace gapi.client {
|
|
|
1246
1305
|
resume(
|
|
1247
1306
|
request: {
|
|
1248
1307
|
/** V1 error format. */
|
|
1249
|
-
'$.xgafv'?:
|
|
1308
|
+
'$.xgafv'?: '1' | '2';
|
|
1250
1309
|
/** OAuth access token. */
|
|
1251
1310
|
access_token?: string;
|
|
1252
1311
|
/** Data format for response. */
|
|
1253
|
-
alt?:
|
|
1312
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1254
1313
|
/** JSONP */
|
|
1255
1314
|
callback?: string;
|
|
1256
1315
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1276,11 +1335,11 @@ declare namespace gapi.client {
|
|
|
1276
1335
|
setIamPolicy(
|
|
1277
1336
|
request: {
|
|
1278
1337
|
/** V1 error format. */
|
|
1279
|
-
'$.xgafv'?:
|
|
1338
|
+
'$.xgafv'?: '1' | '2';
|
|
1280
1339
|
/** OAuth access token. */
|
|
1281
1340
|
access_token?: string;
|
|
1282
1341
|
/** Data format for response. */
|
|
1283
|
-
alt?:
|
|
1342
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1284
1343
|
/** JSONP */
|
|
1285
1344
|
callback?: string;
|
|
1286
1345
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1305,11 +1364,11 @@ declare namespace gapi.client {
|
|
|
1305
1364
|
/** Start an already created migration job. */
|
|
1306
1365
|
start(request: {
|
|
1307
1366
|
/** V1 error format. */
|
|
1308
|
-
'$.xgafv'?:
|
|
1367
|
+
'$.xgafv'?: '1' | '2';
|
|
1309
1368
|
/** OAuth access token. */
|
|
1310
1369
|
access_token?: string;
|
|
1311
1370
|
/** Data format for response. */
|
|
1312
|
-
alt?:
|
|
1371
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1313
1372
|
/** JSONP */
|
|
1314
1373
|
callback?: string;
|
|
1315
1374
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1334,11 +1393,11 @@ declare namespace gapi.client {
|
|
|
1334
1393
|
start(
|
|
1335
1394
|
request: {
|
|
1336
1395
|
/** V1 error format. */
|
|
1337
|
-
'$.xgafv'?:
|
|
1396
|
+
'$.xgafv'?: '1' | '2';
|
|
1338
1397
|
/** OAuth access token. */
|
|
1339
1398
|
access_token?: string;
|
|
1340
1399
|
/** Data format for response. */
|
|
1341
|
-
alt?:
|
|
1400
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1342
1401
|
/** JSONP */
|
|
1343
1402
|
callback?: string;
|
|
1344
1403
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1363,11 +1422,11 @@ declare namespace gapi.client {
|
|
|
1363
1422
|
/** Stops a running migration job. */
|
|
1364
1423
|
stop(request: {
|
|
1365
1424
|
/** V1 error format. */
|
|
1366
|
-
'$.xgafv'?:
|
|
1425
|
+
'$.xgafv'?: '1' | '2';
|
|
1367
1426
|
/** OAuth access token. */
|
|
1368
1427
|
access_token?: string;
|
|
1369
1428
|
/** Data format for response. */
|
|
1370
|
-
alt?:
|
|
1429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1371
1430
|
/** JSONP */
|
|
1372
1431
|
callback?: string;
|
|
1373
1432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1392,11 +1451,11 @@ declare namespace gapi.client {
|
|
|
1392
1451
|
stop(
|
|
1393
1452
|
request: {
|
|
1394
1453
|
/** V1 error format. */
|
|
1395
|
-
'$.xgafv'?:
|
|
1454
|
+
'$.xgafv'?: '1' | '2';
|
|
1396
1455
|
/** OAuth access token. */
|
|
1397
1456
|
access_token?: string;
|
|
1398
1457
|
/** Data format for response. */
|
|
1399
|
-
alt?:
|
|
1458
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1400
1459
|
/** JSONP */
|
|
1401
1460
|
callback?: string;
|
|
1402
1461
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1422,11 +1481,11 @@ declare namespace gapi.client {
|
|
|
1422
1481
|
testIamPermissions(
|
|
1423
1482
|
request: {
|
|
1424
1483
|
/** V1 error format. */
|
|
1425
|
-
'$.xgafv'?:
|
|
1484
|
+
'$.xgafv'?: '1' | '2';
|
|
1426
1485
|
/** OAuth access token. */
|
|
1427
1486
|
access_token?: string;
|
|
1428
1487
|
/** Data format for response. */
|
|
1429
|
-
alt?:
|
|
1488
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1430
1489
|
/** JSONP */
|
|
1431
1490
|
callback?: string;
|
|
1432
1491
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1451,11 +1510,11 @@ declare namespace gapi.client {
|
|
|
1451
1510
|
/** Verify a migration job, making sure the destination can reach the source and that all configuration and prerequisites are met. */
|
|
1452
1511
|
verify(request: {
|
|
1453
1512
|
/** V1 error format. */
|
|
1454
|
-
'$.xgafv'?:
|
|
1513
|
+
'$.xgafv'?: '1' | '2';
|
|
1455
1514
|
/** OAuth access token. */
|
|
1456
1515
|
access_token?: string;
|
|
1457
1516
|
/** Data format for response. */
|
|
1458
|
-
alt?:
|
|
1517
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1459
1518
|
/** JSONP */
|
|
1460
1519
|
callback?: string;
|
|
1461
1520
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1480,11 +1539,11 @@ declare namespace gapi.client {
|
|
|
1480
1539
|
verify(
|
|
1481
1540
|
request: {
|
|
1482
1541
|
/** V1 error format. */
|
|
1483
|
-
'$.xgafv'?:
|
|
1542
|
+
'$.xgafv'?: '1' | '2';
|
|
1484
1543
|
/** OAuth access token. */
|
|
1485
1544
|
access_token?: string;
|
|
1486
1545
|
/** Data format for response. */
|
|
1487
|
-
alt?:
|
|
1546
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1488
1547
|
/** JSONP */
|
|
1489
1548
|
callback?: string;
|
|
1490
1549
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1511,11 +1570,11 @@ declare namespace gapi.client {
|
|
|
1511
1570
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`. */
|
|
1512
1571
|
cancel(request: {
|
|
1513
1572
|
/** V1 error format. */
|
|
1514
|
-
'$.xgafv'?:
|
|
1573
|
+
'$.xgafv'?: '1' | '2';
|
|
1515
1574
|
/** OAuth access token. */
|
|
1516
1575
|
access_token?: string;
|
|
1517
1576
|
/** Data format for response. */
|
|
1518
|
-
alt?:
|
|
1577
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1519
1578
|
/** JSONP */
|
|
1520
1579
|
callback?: string;
|
|
1521
1580
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1540,11 +1599,11 @@ declare namespace gapi.client {
|
|
|
1540
1599
|
cancel(
|
|
1541
1600
|
request: {
|
|
1542
1601
|
/** V1 error format. */
|
|
1543
|
-
'$.xgafv'?:
|
|
1602
|
+
'$.xgafv'?: '1' | '2';
|
|
1544
1603
|
/** OAuth access token. */
|
|
1545
1604
|
access_token?: string;
|
|
1546
1605
|
/** Data format for response. */
|
|
1547
|
-
alt?:
|
|
1606
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1548
1607
|
/** JSONP */
|
|
1549
1608
|
callback?: string;
|
|
1550
1609
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1569,11 +1628,11 @@ declare namespace gapi.client {
|
|
|
1569
1628
|
/** Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. */
|
|
1570
1629
|
delete(request?: {
|
|
1571
1630
|
/** V1 error format. */
|
|
1572
|
-
'$.xgafv'?:
|
|
1631
|
+
'$.xgafv'?: '1' | '2';
|
|
1573
1632
|
/** OAuth access token. */
|
|
1574
1633
|
access_token?: string;
|
|
1575
1634
|
/** Data format for response. */
|
|
1576
|
-
alt?:
|
|
1635
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1577
1636
|
/** JSONP */
|
|
1578
1637
|
callback?: string;
|
|
1579
1638
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1596,11 +1655,11 @@ declare namespace gapi.client {
|
|
|
1596
1655
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1597
1656
|
get(request?: {
|
|
1598
1657
|
/** V1 error format. */
|
|
1599
|
-
'$.xgafv'?:
|
|
1658
|
+
'$.xgafv'?: '1' | '2';
|
|
1600
1659
|
/** OAuth access token. */
|
|
1601
1660
|
access_token?: string;
|
|
1602
1661
|
/** Data format for response. */
|
|
1603
|
-
alt?:
|
|
1662
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1604
1663
|
/** JSONP */
|
|
1605
1664
|
callback?: string;
|
|
1606
1665
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1623,11 +1682,11 @@ declare namespace gapi.client {
|
|
|
1623
1682
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`. */
|
|
1624
1683
|
list(request?: {
|
|
1625
1684
|
/** V1 error format. */
|
|
1626
|
-
'$.xgafv'?:
|
|
1685
|
+
'$.xgafv'?: '1' | '2';
|
|
1627
1686
|
/** OAuth access token. */
|
|
1628
1687
|
access_token?: string;
|
|
1629
1688
|
/** Data format for response. */
|
|
1630
|
-
alt?:
|
|
1689
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1631
1690
|
/** JSONP */
|
|
1632
1691
|
callback?: string;
|
|
1633
1692
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1660,11 +1719,11 @@ declare namespace gapi.client {
|
|
|
1660
1719
|
/** Gets information about a location. */
|
|
1661
1720
|
get(request?: {
|
|
1662
1721
|
/** V1 error format. */
|
|
1663
|
-
'$.xgafv'?:
|
|
1722
|
+
'$.xgafv'?: '1' | '2';
|
|
1664
1723
|
/** OAuth access token. */
|
|
1665
1724
|
access_token?: string;
|
|
1666
1725
|
/** Data format for response. */
|
|
1667
|
-
alt?:
|
|
1726
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1668
1727
|
/** JSONP */
|
|
1669
1728
|
callback?: string;
|
|
1670
1729
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1687,11 +1746,11 @@ declare namespace gapi.client {
|
|
|
1687
1746
|
/** Lists information about the supported locations for this service. This method can be called in two ways: * **List all public locations:** Use the path `GET /v1/locations`. * **List project-visible locations:** Use the path `GET /v1/projects/{project_id}/locations`. This may include public locations as well as private or other locations specifically visible to the project. */
|
|
1688
1747
|
list(request?: {
|
|
1689
1748
|
/** V1 error format. */
|
|
1690
|
-
'$.xgafv'?:
|
|
1749
|
+
'$.xgafv'?: '1' | '2';
|
|
1691
1750
|
/** OAuth access token. */
|
|
1692
1751
|
access_token?: string;
|
|
1693
1752
|
/** Data format for response. */
|
|
1694
|
-
alt?:
|
|
1753
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1695
1754
|
/** JSONP */
|
|
1696
1755
|
callback?: string;
|
|
1697
1756
|
/** Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage. */
|