@google-cloud/dms 1.0.5 → 2.1.0
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/CHANGELOG.md +25 -0
- package/README.md +17 -17
- package/build/protos/google/cloud/clouddms/v1/clouddms_resources.proto +1 -1
- package/build/protos/protos.d.ts +31 -24
- package/build/protos/protos.js +52 -23
- package/build/protos/protos.json +21 -1
- package/build/src/v1/data_migration_service_client.d.ts +571 -93
- package/build/src/v1/data_migration_service_client.js +113 -553
- package/build/src/v1/data_migration_service_client.js.map +1 -1
- package/build/src/v1/index.js +2 -1
- package/build/src/v1/index.js.map +1 -1
- package/package.json +12 -12
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,30 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [2.1.0](https://github.com/googleapis/nodejs-dms/compare/v2.0.0...v2.1.0) (2022-07-12)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* support regapic LRO ([#97](https://github.com/googleapis/nodejs-dms/issues/97)) ([733c394](https://github.com/googleapis/nodejs-dms/commit/733c3940e86ca015fc61223a2ec0de41a25e4e89))
|
|
9
|
+
|
|
10
|
+
## [2.0.0](https://github.com/googleapis/nodejs-dms/compare/v1.1.0...v2.0.0) (2022-05-20)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### ⚠ BREAKING CHANGES
|
|
14
|
+
|
|
15
|
+
* update library to use Node 12 (#90)
|
|
16
|
+
|
|
17
|
+
### Build System
|
|
18
|
+
|
|
19
|
+
* update library to use Node 12 ([#90](https://github.com/googleapis/nodejs-dms/issues/90)) ([168f46f](https://github.com/googleapis/nodejs-dms/commit/168f46f8314ff0b6ce59ca8e8236b26a98e923ab))
|
|
20
|
+
|
|
21
|
+
## [1.1.0](https://www.github.com/googleapis/nodejs-dms/compare/v1.0.5...v1.1.0) (2021-08-23)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
### Features
|
|
25
|
+
|
|
26
|
+
* turns on self-signed JWT feature flag ([#39](https://www.github.com/googleapis/nodejs-dms/issues/39)) ([ab31ef7](https://www.github.com/googleapis/nodejs-dms/commit/ab31ef7135716e3e304cf4988900ec59b0a77bef))
|
|
27
|
+
|
|
3
28
|
### [1.0.5](https://www.github.com/googleapis/nodejs-dms/compare/v1.0.4...v1.0.5) (2021-08-17)
|
|
4
29
|
|
|
5
30
|
|
package/README.md
CHANGED
|
@@ -4,9 +4,8 @@
|
|
|
4
4
|
|
|
5
5
|
# [Cloud Database Migration Service: Node.js Client](https://github.com/googleapis/nodejs-dms)
|
|
6
6
|
|
|
7
|
-
[](https://cloud.google.com/terms/launch-stages)
|
|
8
8
|
[](https://www.npmjs.org/package/@google-cloud/dms)
|
|
9
|
-
[](https://codecov.io/gh/googleapis/nodejs-dms)
|
|
10
9
|
|
|
11
10
|
|
|
12
11
|
|
|
@@ -96,37 +95,38 @@ also contains samples.
|
|
|
96
95
|
Our client libraries follow the [Node.js release schedule](https://nodejs.org/en/about/releases/).
|
|
97
96
|
Libraries are compatible with all current _active_ and _maintenance_ versions of
|
|
98
97
|
Node.js.
|
|
98
|
+
If you are using an end-of-life version of Node.js, we recommend that you update
|
|
99
|
+
as soon as possible to an actively supported LTS version.
|
|
99
100
|
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
The dist-tags follow the naming convention `legacy-(version)`.
|
|
103
|
-
|
|
104
|
-
_Legacy Node.js versions are supported as a best effort:_
|
|
105
|
-
|
|
106
|
-
* Legacy versions will not be tested in continuous integration.
|
|
107
|
-
* Some security patches may not be able to be backported.
|
|
108
|
-
* Dependencies will not be kept up-to-date, and features will not be backported.
|
|
101
|
+
Google's client libraries support legacy versions of Node.js runtimes on a
|
|
102
|
+
best-efforts basis with the following warnings:
|
|
109
103
|
|
|
110
|
-
|
|
104
|
+
* Legacy versions are not tested in continuous integration.
|
|
105
|
+
* Some security patches and features cannot be backported.
|
|
106
|
+
* Dependencies cannot be kept up-to-date.
|
|
111
107
|
|
|
112
|
-
|
|
113
|
-
|
|
108
|
+
Client libraries targeting some end-of-life versions of Node.js are available, and
|
|
109
|
+
can be installed through npm [dist-tags](https://docs.npmjs.com/cli/dist-tag).
|
|
110
|
+
The dist-tags follow the naming convention `legacy-(version)`.
|
|
111
|
+
For example, `npm install @google-cloud/dms@legacy-8` installs client libraries
|
|
112
|
+
for versions compatible with Node.js 8.
|
|
114
113
|
|
|
115
114
|
## Versioning
|
|
116
115
|
|
|
117
116
|
This library follows [Semantic Versioning](http://semver.org/).
|
|
118
117
|
|
|
119
118
|
|
|
120
|
-
|
|
121
|
-
is stable
|
|
119
|
+
|
|
120
|
+
This library is considered to be **stable**. The code surface will not change in backwards-incompatible ways
|
|
122
121
|
unless absolutely necessary (e.g. because of critical security issues) or with
|
|
123
|
-
an extensive deprecation period. Issues and requests against **
|
|
122
|
+
an extensive deprecation period. Issues and requests against **stable** libraries
|
|
124
123
|
are addressed with the highest priority.
|
|
125
124
|
|
|
126
125
|
|
|
127
126
|
|
|
128
127
|
|
|
129
128
|
|
|
129
|
+
|
|
130
130
|
More Information: [Google Cloud Platform Launch Stages][launch_stages]
|
|
131
131
|
|
|
132
132
|
[launch_stages]: https://cloud.google.com/terms/launch-stages
|
|
@@ -390,7 +390,7 @@ message MigrationJob {
|
|
|
390
390
|
// The migration job is being created.
|
|
391
391
|
CREATING = 3;
|
|
392
392
|
|
|
393
|
-
// The migration job is created
|
|
393
|
+
// The migration job is created and not started.
|
|
394
394
|
NOT_STARTED = 4;
|
|
395
395
|
|
|
396
396
|
// The migration job is running.
|
package/build/protos/protos.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2022 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -288,119 +288,119 @@ export namespace google {
|
|
|
288
288
|
namespace DataMigrationService {
|
|
289
289
|
|
|
290
290
|
/**
|
|
291
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
291
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|listMigrationJobs}.
|
|
292
292
|
* @param error Error, if any
|
|
293
293
|
* @param [response] ListMigrationJobsResponse
|
|
294
294
|
*/
|
|
295
295
|
type ListMigrationJobsCallback = (error: (Error|null), response?: google.cloud.clouddms.v1.ListMigrationJobsResponse) => void;
|
|
296
296
|
|
|
297
297
|
/**
|
|
298
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
298
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|getMigrationJob}.
|
|
299
299
|
* @param error Error, if any
|
|
300
300
|
* @param [response] MigrationJob
|
|
301
301
|
*/
|
|
302
302
|
type GetMigrationJobCallback = (error: (Error|null), response?: google.cloud.clouddms.v1.MigrationJob) => void;
|
|
303
303
|
|
|
304
304
|
/**
|
|
305
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
305
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|createMigrationJob}.
|
|
306
306
|
* @param error Error, if any
|
|
307
307
|
* @param [response] Operation
|
|
308
308
|
*/
|
|
309
309
|
type CreateMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
310
310
|
|
|
311
311
|
/**
|
|
312
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
312
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|updateMigrationJob}.
|
|
313
313
|
* @param error Error, if any
|
|
314
314
|
* @param [response] Operation
|
|
315
315
|
*/
|
|
316
316
|
type UpdateMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
317
317
|
|
|
318
318
|
/**
|
|
319
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
319
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|deleteMigrationJob}.
|
|
320
320
|
* @param error Error, if any
|
|
321
321
|
* @param [response] Operation
|
|
322
322
|
*/
|
|
323
323
|
type DeleteMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
324
324
|
|
|
325
325
|
/**
|
|
326
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
326
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|startMigrationJob}.
|
|
327
327
|
* @param error Error, if any
|
|
328
328
|
* @param [response] Operation
|
|
329
329
|
*/
|
|
330
330
|
type StartMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
333
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|stopMigrationJob}.
|
|
334
334
|
* @param error Error, if any
|
|
335
335
|
* @param [response] Operation
|
|
336
336
|
*/
|
|
337
337
|
type StopMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
338
338
|
|
|
339
339
|
/**
|
|
340
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
340
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|resumeMigrationJob}.
|
|
341
341
|
* @param error Error, if any
|
|
342
342
|
* @param [response] Operation
|
|
343
343
|
*/
|
|
344
344
|
type ResumeMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
345
345
|
|
|
346
346
|
/**
|
|
347
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
347
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|promoteMigrationJob}.
|
|
348
348
|
* @param error Error, if any
|
|
349
349
|
* @param [response] Operation
|
|
350
350
|
*/
|
|
351
351
|
type PromoteMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
352
352
|
|
|
353
353
|
/**
|
|
354
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
354
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|verifyMigrationJob}.
|
|
355
355
|
* @param error Error, if any
|
|
356
356
|
* @param [response] Operation
|
|
357
357
|
*/
|
|
358
358
|
type VerifyMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
359
359
|
|
|
360
360
|
/**
|
|
361
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
361
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|restartMigrationJob}.
|
|
362
362
|
* @param error Error, if any
|
|
363
363
|
* @param [response] Operation
|
|
364
364
|
*/
|
|
365
365
|
type RestartMigrationJobCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
366
366
|
|
|
367
367
|
/**
|
|
368
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
368
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|generateSshScript}.
|
|
369
369
|
* @param error Error, if any
|
|
370
370
|
* @param [response] SshScript
|
|
371
371
|
*/
|
|
372
372
|
type GenerateSshScriptCallback = (error: (Error|null), response?: google.cloud.clouddms.v1.SshScript) => void;
|
|
373
373
|
|
|
374
374
|
/**
|
|
375
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
375
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|listConnectionProfiles}.
|
|
376
376
|
* @param error Error, if any
|
|
377
377
|
* @param [response] ListConnectionProfilesResponse
|
|
378
378
|
*/
|
|
379
379
|
type ListConnectionProfilesCallback = (error: (Error|null), response?: google.cloud.clouddms.v1.ListConnectionProfilesResponse) => void;
|
|
380
380
|
|
|
381
381
|
/**
|
|
382
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
382
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|getConnectionProfile}.
|
|
383
383
|
* @param error Error, if any
|
|
384
384
|
* @param [response] ConnectionProfile
|
|
385
385
|
*/
|
|
386
386
|
type GetConnectionProfileCallback = (error: (Error|null), response?: google.cloud.clouddms.v1.ConnectionProfile) => void;
|
|
387
387
|
|
|
388
388
|
/**
|
|
389
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
389
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|createConnectionProfile}.
|
|
390
390
|
* @param error Error, if any
|
|
391
391
|
* @param [response] Operation
|
|
392
392
|
*/
|
|
393
393
|
type CreateConnectionProfileCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
394
394
|
|
|
395
395
|
/**
|
|
396
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
396
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|updateConnectionProfile}.
|
|
397
397
|
* @param error Error, if any
|
|
398
398
|
* @param [response] Operation
|
|
399
399
|
*/
|
|
400
400
|
type UpdateConnectionProfileCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
401
401
|
|
|
402
402
|
/**
|
|
403
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
403
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|deleteConnectionProfile}.
|
|
404
404
|
* @param error Error, if any
|
|
405
405
|
* @param [response] Operation
|
|
406
406
|
*/
|
|
@@ -4892,7 +4892,8 @@ export namespace google {
|
|
|
4892
4892
|
OUTPUT_ONLY = 3,
|
|
4893
4893
|
INPUT_ONLY = 4,
|
|
4894
4894
|
IMMUTABLE = 5,
|
|
4895
|
-
UNORDERED_LIST = 6
|
|
4895
|
+
UNORDERED_LIST = 6,
|
|
4896
|
+
NON_EMPTY_DEFAULT = 7
|
|
4896
4897
|
}
|
|
4897
4898
|
|
|
4898
4899
|
/** Properties of a ResourceDescriptor. */
|
|
@@ -6988,6 +6989,9 @@ export namespace google {
|
|
|
6988
6989
|
/** FieldOptions lazy */
|
|
6989
6990
|
lazy?: (boolean|null);
|
|
6990
6991
|
|
|
6992
|
+
/** FieldOptions unverifiedLazy */
|
|
6993
|
+
unverifiedLazy?: (boolean|null);
|
|
6994
|
+
|
|
6991
6995
|
/** FieldOptions deprecated */
|
|
6992
6996
|
deprecated?: (boolean|null);
|
|
6993
6997
|
|
|
@@ -7025,6 +7029,9 @@ export namespace google {
|
|
|
7025
7029
|
/** FieldOptions lazy. */
|
|
7026
7030
|
public lazy: boolean;
|
|
7027
7031
|
|
|
7032
|
+
/** FieldOptions unverifiedLazy. */
|
|
7033
|
+
public unverifiedLazy: boolean;
|
|
7034
|
+
|
|
7028
7035
|
/** FieldOptions deprecated. */
|
|
7029
7036
|
public deprecated: boolean;
|
|
7030
7037
|
|
|
@@ -9742,35 +9749,35 @@ export namespace google {
|
|
|
9742
9749
|
namespace Operations {
|
|
9743
9750
|
|
|
9744
9751
|
/**
|
|
9745
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
9752
|
+
* Callback as used by {@link google.longrunning.Operations|listOperations}.
|
|
9746
9753
|
* @param error Error, if any
|
|
9747
9754
|
* @param [response] ListOperationsResponse
|
|
9748
9755
|
*/
|
|
9749
9756
|
type ListOperationsCallback = (error: (Error|null), response?: google.longrunning.ListOperationsResponse) => void;
|
|
9750
9757
|
|
|
9751
9758
|
/**
|
|
9752
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
9759
|
+
* Callback as used by {@link google.longrunning.Operations|getOperation}.
|
|
9753
9760
|
* @param error Error, if any
|
|
9754
9761
|
* @param [response] Operation
|
|
9755
9762
|
*/
|
|
9756
9763
|
type GetOperationCallback = (error: (Error|null), response?: google.longrunning.Operation) => void;
|
|
9757
9764
|
|
|
9758
9765
|
/**
|
|
9759
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
9766
|
+
* Callback as used by {@link google.longrunning.Operations|deleteOperation}.
|
|
9760
9767
|
* @param error Error, if any
|
|
9761
9768
|
* @param [response] Empty
|
|
9762
9769
|
*/
|
|
9763
9770
|
type DeleteOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
9764
9771
|
|
|
9765
9772
|
/**
|
|
9766
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
9773
|
+
* Callback as used by {@link google.longrunning.Operations|cancelOperation}.
|
|
9767
9774
|
* @param error Error, if any
|
|
9768
9775
|
* @param [response] Empty
|
|
9769
9776
|
*/
|
|
9770
9777
|
type CancelOperationCallback = (error: (Error|null), response?: google.protobuf.Empty) => void;
|
|
9771
9778
|
|
|
9772
9779
|
/**
|
|
9773
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
9780
|
+
* Callback as used by {@link google.longrunning.Operations|waitOperation}.
|
|
9774
9781
|
* @param error Error, if any
|
|
9775
9782
|
* @param [response] Operation
|
|
9776
9783
|
*/
|
package/build/protos/protos.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// Copyright
|
|
1
|
+
// Copyright 2022 Google LLC
|
|
2
2
|
//
|
|
3
3
|
// Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
4
|
// you may not use this file except in compliance with the License.
|
|
@@ -99,7 +99,7 @@
|
|
|
99
99
|
};
|
|
100
100
|
|
|
101
101
|
/**
|
|
102
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
102
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|listMigrationJobs}.
|
|
103
103
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
104
104
|
* @typedef ListMigrationJobsCallback
|
|
105
105
|
* @type {function}
|
|
@@ -132,7 +132,7 @@
|
|
|
132
132
|
*/
|
|
133
133
|
|
|
134
134
|
/**
|
|
135
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
135
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|getMigrationJob}.
|
|
136
136
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
137
137
|
* @typedef GetMigrationJobCallback
|
|
138
138
|
* @type {function}
|
|
@@ -165,7 +165,7 @@
|
|
|
165
165
|
*/
|
|
166
166
|
|
|
167
167
|
/**
|
|
168
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
168
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|createMigrationJob}.
|
|
169
169
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
170
170
|
* @typedef CreateMigrationJobCallback
|
|
171
171
|
* @type {function}
|
|
@@ -198,7 +198,7 @@
|
|
|
198
198
|
*/
|
|
199
199
|
|
|
200
200
|
/**
|
|
201
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
201
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|updateMigrationJob}.
|
|
202
202
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
203
203
|
* @typedef UpdateMigrationJobCallback
|
|
204
204
|
* @type {function}
|
|
@@ -231,7 +231,7 @@
|
|
|
231
231
|
*/
|
|
232
232
|
|
|
233
233
|
/**
|
|
234
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
234
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|deleteMigrationJob}.
|
|
235
235
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
236
236
|
* @typedef DeleteMigrationJobCallback
|
|
237
237
|
* @type {function}
|
|
@@ -264,7 +264,7 @@
|
|
|
264
264
|
*/
|
|
265
265
|
|
|
266
266
|
/**
|
|
267
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
267
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|startMigrationJob}.
|
|
268
268
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
269
269
|
* @typedef StartMigrationJobCallback
|
|
270
270
|
* @type {function}
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
*/
|
|
298
298
|
|
|
299
299
|
/**
|
|
300
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
300
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|stopMigrationJob}.
|
|
301
301
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
302
302
|
* @typedef StopMigrationJobCallback
|
|
303
303
|
* @type {function}
|
|
@@ -330,7 +330,7 @@
|
|
|
330
330
|
*/
|
|
331
331
|
|
|
332
332
|
/**
|
|
333
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
333
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|resumeMigrationJob}.
|
|
334
334
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
335
335
|
* @typedef ResumeMigrationJobCallback
|
|
336
336
|
* @type {function}
|
|
@@ -363,7 +363,7 @@
|
|
|
363
363
|
*/
|
|
364
364
|
|
|
365
365
|
/**
|
|
366
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
366
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|promoteMigrationJob}.
|
|
367
367
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
368
368
|
* @typedef PromoteMigrationJobCallback
|
|
369
369
|
* @type {function}
|
|
@@ -396,7 +396,7 @@
|
|
|
396
396
|
*/
|
|
397
397
|
|
|
398
398
|
/**
|
|
399
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
399
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|verifyMigrationJob}.
|
|
400
400
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
401
401
|
* @typedef VerifyMigrationJobCallback
|
|
402
402
|
* @type {function}
|
|
@@ -429,7 +429,7 @@
|
|
|
429
429
|
*/
|
|
430
430
|
|
|
431
431
|
/**
|
|
432
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
432
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|restartMigrationJob}.
|
|
433
433
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
434
434
|
* @typedef RestartMigrationJobCallback
|
|
435
435
|
* @type {function}
|
|
@@ -462,7 +462,7 @@
|
|
|
462
462
|
*/
|
|
463
463
|
|
|
464
464
|
/**
|
|
465
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
465
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|generateSshScript}.
|
|
466
466
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
467
467
|
* @typedef GenerateSshScriptCallback
|
|
468
468
|
* @type {function}
|
|
@@ -495,7 +495,7 @@
|
|
|
495
495
|
*/
|
|
496
496
|
|
|
497
497
|
/**
|
|
498
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
498
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|listConnectionProfiles}.
|
|
499
499
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
500
500
|
* @typedef ListConnectionProfilesCallback
|
|
501
501
|
* @type {function}
|
|
@@ -528,7 +528,7 @@
|
|
|
528
528
|
*/
|
|
529
529
|
|
|
530
530
|
/**
|
|
531
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
531
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|getConnectionProfile}.
|
|
532
532
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
533
533
|
* @typedef GetConnectionProfileCallback
|
|
534
534
|
* @type {function}
|
|
@@ -561,7 +561,7 @@
|
|
|
561
561
|
*/
|
|
562
562
|
|
|
563
563
|
/**
|
|
564
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
564
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|createConnectionProfile}.
|
|
565
565
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
566
566
|
* @typedef CreateConnectionProfileCallback
|
|
567
567
|
* @type {function}
|
|
@@ -594,7 +594,7 @@
|
|
|
594
594
|
*/
|
|
595
595
|
|
|
596
596
|
/**
|
|
597
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
597
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|updateConnectionProfile}.
|
|
598
598
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
599
599
|
* @typedef UpdateConnectionProfileCallback
|
|
600
600
|
* @type {function}
|
|
@@ -627,7 +627,7 @@
|
|
|
627
627
|
*/
|
|
628
628
|
|
|
629
629
|
/**
|
|
630
|
-
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService
|
|
630
|
+
* Callback as used by {@link google.cloud.clouddms.v1.DataMigrationService|deleteConnectionProfile}.
|
|
631
631
|
* @memberof google.cloud.clouddms.v1.DataMigrationService
|
|
632
632
|
* @typedef DeleteConnectionProfileCallback
|
|
633
633
|
* @type {function}
|
|
@@ -12180,6 +12180,7 @@
|
|
|
12180
12180
|
* @property {number} INPUT_ONLY=4 INPUT_ONLY value
|
|
12181
12181
|
* @property {number} IMMUTABLE=5 IMMUTABLE value
|
|
12182
12182
|
* @property {number} UNORDERED_LIST=6 UNORDERED_LIST value
|
|
12183
|
+
* @property {number} NON_EMPTY_DEFAULT=7 NON_EMPTY_DEFAULT value
|
|
12183
12184
|
*/
|
|
12184
12185
|
api.FieldBehavior = (function() {
|
|
12185
12186
|
var valuesById = {}, values = Object.create(valuesById);
|
|
@@ -12190,6 +12191,7 @@
|
|
|
12190
12191
|
values[valuesById[4] = "INPUT_ONLY"] = 4;
|
|
12191
12192
|
values[valuesById[5] = "IMMUTABLE"] = 5;
|
|
12192
12193
|
values[valuesById[6] = "UNORDERED_LIST"] = 6;
|
|
12194
|
+
values[valuesById[7] = "NON_EMPTY_DEFAULT"] = 7;
|
|
12193
12195
|
return values;
|
|
12194
12196
|
})();
|
|
12195
12197
|
|
|
@@ -18057,6 +18059,7 @@
|
|
|
18057
18059
|
* @property {boolean|null} [packed] FieldOptions packed
|
|
18058
18060
|
* @property {google.protobuf.FieldOptions.JSType|null} [jstype] FieldOptions jstype
|
|
18059
18061
|
* @property {boolean|null} [lazy] FieldOptions lazy
|
|
18062
|
+
* @property {boolean|null} [unverifiedLazy] FieldOptions unverifiedLazy
|
|
18060
18063
|
* @property {boolean|null} [deprecated] FieldOptions deprecated
|
|
18061
18064
|
* @property {boolean|null} [weak] FieldOptions weak
|
|
18062
18065
|
* @property {Array.<google.protobuf.IUninterpretedOption>|null} [uninterpretedOption] FieldOptions uninterpretedOption
|
|
@@ -18113,6 +18116,14 @@
|
|
|
18113
18116
|
*/
|
|
18114
18117
|
FieldOptions.prototype.lazy = false;
|
|
18115
18118
|
|
|
18119
|
+
/**
|
|
18120
|
+
* FieldOptions unverifiedLazy.
|
|
18121
|
+
* @member {boolean} unverifiedLazy
|
|
18122
|
+
* @memberof google.protobuf.FieldOptions
|
|
18123
|
+
* @instance
|
|
18124
|
+
*/
|
|
18125
|
+
FieldOptions.prototype.unverifiedLazy = false;
|
|
18126
|
+
|
|
18116
18127
|
/**
|
|
18117
18128
|
* FieldOptions deprecated.
|
|
18118
18129
|
* @member {boolean} deprecated
|
|
@@ -18189,6 +18200,8 @@
|
|
|
18189
18200
|
writer.uint32(/* id 6, wireType 0 =*/48).int32(message.jstype);
|
|
18190
18201
|
if (message.weak != null && Object.hasOwnProperty.call(message, "weak"))
|
|
18191
18202
|
writer.uint32(/* id 10, wireType 0 =*/80).bool(message.weak);
|
|
18203
|
+
if (message.unverifiedLazy != null && Object.hasOwnProperty.call(message, "unverifiedLazy"))
|
|
18204
|
+
writer.uint32(/* id 15, wireType 0 =*/120).bool(message.unverifiedLazy);
|
|
18192
18205
|
if (message.uninterpretedOption != null && message.uninterpretedOption.length)
|
|
18193
18206
|
for (var i = 0; i < message.uninterpretedOption.length; ++i)
|
|
18194
18207
|
$root.google.protobuf.UninterpretedOption.encode(message.uninterpretedOption[i], writer.uint32(/* id 999, wireType 2 =*/7994).fork()).ldelim();
|
|
@@ -18246,6 +18259,9 @@
|
|
|
18246
18259
|
case 5:
|
|
18247
18260
|
message.lazy = reader.bool();
|
|
18248
18261
|
break;
|
|
18262
|
+
case 15:
|
|
18263
|
+
message.unverifiedLazy = reader.bool();
|
|
18264
|
+
break;
|
|
18249
18265
|
case 3:
|
|
18250
18266
|
message.deprecated = reader.bool();
|
|
18251
18267
|
break;
|
|
@@ -18329,6 +18345,9 @@
|
|
|
18329
18345
|
if (message.lazy != null && message.hasOwnProperty("lazy"))
|
|
18330
18346
|
if (typeof message.lazy !== "boolean")
|
|
18331
18347
|
return "lazy: boolean expected";
|
|
18348
|
+
if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy"))
|
|
18349
|
+
if (typeof message.unverifiedLazy !== "boolean")
|
|
18350
|
+
return "unverifiedLazy: boolean expected";
|
|
18332
18351
|
if (message.deprecated != null && message.hasOwnProperty("deprecated"))
|
|
18333
18352
|
if (typeof message.deprecated !== "boolean")
|
|
18334
18353
|
return "deprecated: boolean expected";
|
|
@@ -18358,6 +18377,7 @@
|
|
|
18358
18377
|
case 4:
|
|
18359
18378
|
case 5:
|
|
18360
18379
|
case 6:
|
|
18380
|
+
case 7:
|
|
18361
18381
|
break;
|
|
18362
18382
|
}
|
|
18363
18383
|
}
|
|
@@ -18413,6 +18433,8 @@
|
|
|
18413
18433
|
}
|
|
18414
18434
|
if (object.lazy != null)
|
|
18415
18435
|
message.lazy = Boolean(object.lazy);
|
|
18436
|
+
if (object.unverifiedLazy != null)
|
|
18437
|
+
message.unverifiedLazy = Boolean(object.unverifiedLazy);
|
|
18416
18438
|
if (object.deprecated != null)
|
|
18417
18439
|
message.deprecated = Boolean(object.deprecated);
|
|
18418
18440
|
if (object.weak != null)
|
|
@@ -18462,6 +18484,10 @@
|
|
|
18462
18484
|
case 6:
|
|
18463
18485
|
message[".google.api.fieldBehavior"][i] = 6;
|
|
18464
18486
|
break;
|
|
18487
|
+
case "NON_EMPTY_DEFAULT":
|
|
18488
|
+
case 7:
|
|
18489
|
+
message[".google.api.fieldBehavior"][i] = 7;
|
|
18490
|
+
break;
|
|
18465
18491
|
}
|
|
18466
18492
|
}
|
|
18467
18493
|
if (object[".google.api.resourceReference"] != null) {
|
|
@@ -18496,6 +18522,7 @@
|
|
|
18496
18522
|
object.lazy = false;
|
|
18497
18523
|
object.jstype = options.enums === String ? "JS_NORMAL" : 0;
|
|
18498
18524
|
object.weak = false;
|
|
18525
|
+
object.unverifiedLazy = false;
|
|
18499
18526
|
object[".google.api.resourceReference"] = null;
|
|
18500
18527
|
}
|
|
18501
18528
|
if (message.ctype != null && message.hasOwnProperty("ctype"))
|
|
@@ -18510,6 +18537,8 @@
|
|
|
18510
18537
|
object.jstype = options.enums === String ? $root.google.protobuf.FieldOptions.JSType[message.jstype] : message.jstype;
|
|
18511
18538
|
if (message.weak != null && message.hasOwnProperty("weak"))
|
|
18512
18539
|
object.weak = message.weak;
|
|
18540
|
+
if (message.unverifiedLazy != null && message.hasOwnProperty("unverifiedLazy"))
|
|
18541
|
+
object.unverifiedLazy = message.unverifiedLazy;
|
|
18513
18542
|
if (message.uninterpretedOption && message.uninterpretedOption.length) {
|
|
18514
18543
|
object.uninterpretedOption = [];
|
|
18515
18544
|
for (var j = 0; j < message.uninterpretedOption.length; ++j)
|
|
@@ -24608,7 +24637,7 @@
|
|
|
24608
24637
|
};
|
|
24609
24638
|
|
|
24610
24639
|
/**
|
|
24611
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
24640
|
+
* Callback as used by {@link google.longrunning.Operations|listOperations}.
|
|
24612
24641
|
* @memberof google.longrunning.Operations
|
|
24613
24642
|
* @typedef ListOperationsCallback
|
|
24614
24643
|
* @type {function}
|
|
@@ -24641,7 +24670,7 @@
|
|
|
24641
24670
|
*/
|
|
24642
24671
|
|
|
24643
24672
|
/**
|
|
24644
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
24673
|
+
* Callback as used by {@link google.longrunning.Operations|getOperation}.
|
|
24645
24674
|
* @memberof google.longrunning.Operations
|
|
24646
24675
|
* @typedef GetOperationCallback
|
|
24647
24676
|
* @type {function}
|
|
@@ -24674,7 +24703,7 @@
|
|
|
24674
24703
|
*/
|
|
24675
24704
|
|
|
24676
24705
|
/**
|
|
24677
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
24706
|
+
* Callback as used by {@link google.longrunning.Operations|deleteOperation}.
|
|
24678
24707
|
* @memberof google.longrunning.Operations
|
|
24679
24708
|
* @typedef DeleteOperationCallback
|
|
24680
24709
|
* @type {function}
|
|
@@ -24707,7 +24736,7 @@
|
|
|
24707
24736
|
*/
|
|
24708
24737
|
|
|
24709
24738
|
/**
|
|
24710
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
24739
|
+
* Callback as used by {@link google.longrunning.Operations|cancelOperation}.
|
|
24711
24740
|
* @memberof google.longrunning.Operations
|
|
24712
24741
|
* @typedef CancelOperationCallback
|
|
24713
24742
|
* @type {function}
|
|
@@ -24740,7 +24769,7 @@
|
|
|
24740
24769
|
*/
|
|
24741
24770
|
|
|
24742
24771
|
/**
|
|
24743
|
-
* Callback as used by {@link google.longrunning.Operations
|
|
24772
|
+
* Callback as used by {@link google.longrunning.Operations|waitOperation}.
|
|
24744
24773
|
* @memberof google.longrunning.Operations
|
|
24745
24774
|
* @typedef WaitOperationCallback
|
|
24746
24775
|
* @type {function}
|