@google-cloud/dms 3.2.0 → 3.4.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 +15 -0
- package/build/protos/google/cloud/clouddms/v1/clouddms.proto +1 -1
- package/build/protos/google/cloud/clouddms/v1/clouddms_resources.proto +1 -1
- package/build/protos/google/cloud/clouddms/v1/conversionworkspace_resources.proto +1 -1
- package/build/protos/protos.d.ts +770 -16
- package/build/protos/protos.js +2848 -154
- package/build/protos/protos.json +349 -17
- package/build/src/v1/data_migration_service_client.js +10 -7
- package/package.json +3 -3
package/build/protos/protos.json
CHANGED
|
@@ -5381,6 +5381,10 @@
|
|
|
5381
5381
|
"rule": "repeated",
|
|
5382
5382
|
"type": "ClientLibrarySettings",
|
|
5383
5383
|
"id": 109
|
|
5384
|
+
},
|
|
5385
|
+
"protoReferenceDocumentationUri": {
|
|
5386
|
+
"type": "string",
|
|
5387
|
+
"id": 110
|
|
5384
5388
|
}
|
|
5385
5389
|
}
|
|
5386
5390
|
},
|
|
@@ -5438,6 +5442,31 @@
|
|
|
5438
5442
|
"common": {
|
|
5439
5443
|
"type": "CommonLanguageSettings",
|
|
5440
5444
|
"id": 1
|
|
5445
|
+
},
|
|
5446
|
+
"renamedServices": {
|
|
5447
|
+
"keyType": "string",
|
|
5448
|
+
"type": "string",
|
|
5449
|
+
"id": 2
|
|
5450
|
+
},
|
|
5451
|
+
"renamedResources": {
|
|
5452
|
+
"keyType": "string",
|
|
5453
|
+
"type": "string",
|
|
5454
|
+
"id": 3
|
|
5455
|
+
},
|
|
5456
|
+
"ignoredResources": {
|
|
5457
|
+
"rule": "repeated",
|
|
5458
|
+
"type": "string",
|
|
5459
|
+
"id": 4
|
|
5460
|
+
},
|
|
5461
|
+
"forcedNamespaceAliases": {
|
|
5462
|
+
"rule": "repeated",
|
|
5463
|
+
"type": "string",
|
|
5464
|
+
"id": 5
|
|
5465
|
+
},
|
|
5466
|
+
"handwrittenSignatures": {
|
|
5467
|
+
"rule": "repeated",
|
|
5468
|
+
"type": "string",
|
|
5469
|
+
"id": 6
|
|
5441
5470
|
}
|
|
5442
5471
|
}
|
|
5443
5472
|
},
|
|
@@ -5466,6 +5495,11 @@
|
|
|
5466
5495
|
"longRunning": {
|
|
5467
5496
|
"type": "LongRunning",
|
|
5468
5497
|
"id": 2
|
|
5498
|
+
},
|
|
5499
|
+
"autoPopulatedFields": {
|
|
5500
|
+
"rule": "repeated",
|
|
5501
|
+
"type": "string",
|
|
5502
|
+
"id": 3
|
|
5469
5503
|
}
|
|
5470
5504
|
},
|
|
5471
5505
|
"nested": {
|
|
@@ -5497,7 +5531,10 @@
|
|
|
5497
5531
|
"CLOUD": 1,
|
|
5498
5532
|
"ADS": 2,
|
|
5499
5533
|
"PHOTOS": 3,
|
|
5500
|
-
"STREET_VIEW": 4
|
|
5534
|
+
"STREET_VIEW": 4,
|
|
5535
|
+
"SHOPPING": 5,
|
|
5536
|
+
"GEO": 6,
|
|
5537
|
+
"GENERATIVE_AI": 7
|
|
5501
5538
|
}
|
|
5502
5539
|
},
|
|
5503
5540
|
"ClientLibraryDestination": {
|
|
@@ -5534,7 +5571,8 @@
|
|
|
5534
5571
|
"INPUT_ONLY": 4,
|
|
5535
5572
|
"IMMUTABLE": 5,
|
|
5536
5573
|
"UNORDERED_LIST": 6,
|
|
5537
|
-
"NON_EMPTY_DEFAULT": 7
|
|
5574
|
+
"NON_EMPTY_DEFAULT": 7,
|
|
5575
|
+
"IDENTIFIER": 8
|
|
5538
5576
|
}
|
|
5539
5577
|
},
|
|
5540
5578
|
"resourceReference": {
|
|
@@ -5636,6 +5674,21 @@
|
|
|
5636
5674
|
}
|
|
5637
5675
|
}
|
|
5638
5676
|
},
|
|
5677
|
+
"Edition": {
|
|
5678
|
+
"values": {
|
|
5679
|
+
"EDITION_UNKNOWN": 0,
|
|
5680
|
+
"EDITION_PROTO2": 998,
|
|
5681
|
+
"EDITION_PROTO3": 999,
|
|
5682
|
+
"EDITION_2023": 1000,
|
|
5683
|
+
"EDITION_2024": 1001,
|
|
5684
|
+
"EDITION_1_TEST_ONLY": 1,
|
|
5685
|
+
"EDITION_2_TEST_ONLY": 2,
|
|
5686
|
+
"EDITION_99997_TEST_ONLY": 99997,
|
|
5687
|
+
"EDITION_99998_TEST_ONLY": 99998,
|
|
5688
|
+
"EDITION_99999_TEST_ONLY": 99999,
|
|
5689
|
+
"EDITION_MAX": 2147483647
|
|
5690
|
+
}
|
|
5691
|
+
},
|
|
5639
5692
|
"FileDescriptorProto": {
|
|
5640
5693
|
"fields": {
|
|
5641
5694
|
"name": {
|
|
@@ -5700,8 +5753,8 @@
|
|
|
5700
5753
|
"id": 12
|
|
5701
5754
|
},
|
|
5702
5755
|
"edition": {
|
|
5703
|
-
"type": "
|
|
5704
|
-
"id":
|
|
5756
|
+
"type": "Edition",
|
|
5757
|
+
"id": 14
|
|
5705
5758
|
}
|
|
5706
5759
|
}
|
|
5707
5760
|
},
|
|
@@ -5793,6 +5846,26 @@
|
|
|
5793
5846
|
"rule": "repeated",
|
|
5794
5847
|
"type": "UninterpretedOption",
|
|
5795
5848
|
"id": 999
|
|
5849
|
+
},
|
|
5850
|
+
"declaration": {
|
|
5851
|
+
"rule": "repeated",
|
|
5852
|
+
"type": "Declaration",
|
|
5853
|
+
"id": 2,
|
|
5854
|
+
"options": {
|
|
5855
|
+
"retention": "RETENTION_SOURCE"
|
|
5856
|
+
}
|
|
5857
|
+
},
|
|
5858
|
+
"features": {
|
|
5859
|
+
"type": "FeatureSet",
|
|
5860
|
+
"id": 50
|
|
5861
|
+
},
|
|
5862
|
+
"verification": {
|
|
5863
|
+
"type": "VerificationState",
|
|
5864
|
+
"id": 3,
|
|
5865
|
+
"options": {
|
|
5866
|
+
"default": "UNVERIFIED",
|
|
5867
|
+
"retention": "RETENTION_SOURCE"
|
|
5868
|
+
}
|
|
5796
5869
|
}
|
|
5797
5870
|
},
|
|
5798
5871
|
"extensions": [
|
|
@@ -5800,7 +5873,45 @@
|
|
|
5800
5873
|
1000,
|
|
5801
5874
|
536870911
|
|
5802
5875
|
]
|
|
5803
|
-
]
|
|
5876
|
+
],
|
|
5877
|
+
"nested": {
|
|
5878
|
+
"Declaration": {
|
|
5879
|
+
"fields": {
|
|
5880
|
+
"number": {
|
|
5881
|
+
"type": "int32",
|
|
5882
|
+
"id": 1
|
|
5883
|
+
},
|
|
5884
|
+
"fullName": {
|
|
5885
|
+
"type": "string",
|
|
5886
|
+
"id": 2
|
|
5887
|
+
},
|
|
5888
|
+
"type": {
|
|
5889
|
+
"type": "string",
|
|
5890
|
+
"id": 3
|
|
5891
|
+
},
|
|
5892
|
+
"reserved": {
|
|
5893
|
+
"type": "bool",
|
|
5894
|
+
"id": 5
|
|
5895
|
+
},
|
|
5896
|
+
"repeated": {
|
|
5897
|
+
"type": "bool",
|
|
5898
|
+
"id": 6
|
|
5899
|
+
}
|
|
5900
|
+
},
|
|
5901
|
+
"reserved": [
|
|
5902
|
+
[
|
|
5903
|
+
4,
|
|
5904
|
+
4
|
|
5905
|
+
]
|
|
5906
|
+
]
|
|
5907
|
+
},
|
|
5908
|
+
"VerificationState": {
|
|
5909
|
+
"values": {
|
|
5910
|
+
"DECLARATION": 0,
|
|
5911
|
+
"UNVERIFIED": 1
|
|
5912
|
+
}
|
|
5913
|
+
}
|
|
5914
|
+
}
|
|
5804
5915
|
},
|
|
5805
5916
|
"FieldDescriptorProto": {
|
|
5806
5917
|
"fields": {
|
|
@@ -5875,8 +5986,8 @@
|
|
|
5875
5986
|
"Label": {
|
|
5876
5987
|
"values": {
|
|
5877
5988
|
"LABEL_OPTIONAL": 1,
|
|
5878
|
-
"
|
|
5879
|
-
"
|
|
5989
|
+
"LABEL_REPEATED": 3,
|
|
5990
|
+
"LABEL_REQUIRED": 2
|
|
5880
5991
|
}
|
|
5881
5992
|
}
|
|
5882
5993
|
}
|
|
@@ -6064,13 +6175,6 @@
|
|
|
6064
6175
|
"default": false
|
|
6065
6176
|
}
|
|
6066
6177
|
},
|
|
6067
|
-
"phpGenericServices": {
|
|
6068
|
-
"type": "bool",
|
|
6069
|
-
"id": 42,
|
|
6070
|
-
"options": {
|
|
6071
|
-
"default": false
|
|
6072
|
-
}
|
|
6073
|
-
},
|
|
6074
6178
|
"deprecated": {
|
|
6075
6179
|
"type": "bool",
|
|
6076
6180
|
"id": 23,
|
|
@@ -6113,6 +6217,10 @@
|
|
|
6113
6217
|
"type": "string",
|
|
6114
6218
|
"id": 45
|
|
6115
6219
|
},
|
|
6220
|
+
"features": {
|
|
6221
|
+
"type": "FeatureSet",
|
|
6222
|
+
"id": 50
|
|
6223
|
+
},
|
|
6116
6224
|
"uninterpretedOption": {
|
|
6117
6225
|
"rule": "repeated",
|
|
6118
6226
|
"type": "UninterpretedOption",
|
|
@@ -6126,6 +6234,10 @@
|
|
|
6126
6234
|
]
|
|
6127
6235
|
],
|
|
6128
6236
|
"reserved": [
|
|
6237
|
+
[
|
|
6238
|
+
42,
|
|
6239
|
+
42
|
|
6240
|
+
],
|
|
6129
6241
|
[
|
|
6130
6242
|
38,
|
|
6131
6243
|
38
|
|
@@ -6175,6 +6287,10 @@
|
|
|
6175
6287
|
"deprecated": true
|
|
6176
6288
|
}
|
|
6177
6289
|
},
|
|
6290
|
+
"features": {
|
|
6291
|
+
"type": "FeatureSet",
|
|
6292
|
+
"id": 12
|
|
6293
|
+
},
|
|
6178
6294
|
"uninterpretedOption": {
|
|
6179
6295
|
"rule": "repeated",
|
|
6180
6296
|
"type": "UninterpretedOption",
|
|
@@ -6269,9 +6385,22 @@
|
|
|
6269
6385
|
"type": "OptionRetention",
|
|
6270
6386
|
"id": 17
|
|
6271
6387
|
},
|
|
6272
|
-
"
|
|
6388
|
+
"targets": {
|
|
6389
|
+
"rule": "repeated",
|
|
6273
6390
|
"type": "OptionTargetType",
|
|
6274
|
-
"id":
|
|
6391
|
+
"id": 19,
|
|
6392
|
+
"options": {
|
|
6393
|
+
"packed": false
|
|
6394
|
+
}
|
|
6395
|
+
},
|
|
6396
|
+
"editionDefaults": {
|
|
6397
|
+
"rule": "repeated",
|
|
6398
|
+
"type": "EditionDefault",
|
|
6399
|
+
"id": 20
|
|
6400
|
+
},
|
|
6401
|
+
"features": {
|
|
6402
|
+
"type": "FeatureSet",
|
|
6403
|
+
"id": 21
|
|
6275
6404
|
},
|
|
6276
6405
|
"uninterpretedOption": {
|
|
6277
6406
|
"rule": "repeated",
|
|
@@ -6289,6 +6418,10 @@
|
|
|
6289
6418
|
[
|
|
6290
6419
|
4,
|
|
6291
6420
|
4
|
|
6421
|
+
],
|
|
6422
|
+
[
|
|
6423
|
+
18,
|
|
6424
|
+
18
|
|
6292
6425
|
]
|
|
6293
6426
|
],
|
|
6294
6427
|
"nested": {
|
|
@@ -6326,11 +6459,27 @@
|
|
|
6326
6459
|
"TARGET_TYPE_SERVICE": 8,
|
|
6327
6460
|
"TARGET_TYPE_METHOD": 9
|
|
6328
6461
|
}
|
|
6462
|
+
},
|
|
6463
|
+
"EditionDefault": {
|
|
6464
|
+
"fields": {
|
|
6465
|
+
"edition": {
|
|
6466
|
+
"type": "Edition",
|
|
6467
|
+
"id": 3
|
|
6468
|
+
},
|
|
6469
|
+
"value": {
|
|
6470
|
+
"type": "string",
|
|
6471
|
+
"id": 2
|
|
6472
|
+
}
|
|
6473
|
+
}
|
|
6329
6474
|
}
|
|
6330
6475
|
}
|
|
6331
6476
|
},
|
|
6332
6477
|
"OneofOptions": {
|
|
6333
6478
|
"fields": {
|
|
6479
|
+
"features": {
|
|
6480
|
+
"type": "FeatureSet",
|
|
6481
|
+
"id": 1
|
|
6482
|
+
},
|
|
6334
6483
|
"uninterpretedOption": {
|
|
6335
6484
|
"rule": "repeated",
|
|
6336
6485
|
"type": "UninterpretedOption",
|
|
@@ -6364,6 +6513,10 @@
|
|
|
6364
6513
|
"deprecated": true
|
|
6365
6514
|
}
|
|
6366
6515
|
},
|
|
6516
|
+
"features": {
|
|
6517
|
+
"type": "FeatureSet",
|
|
6518
|
+
"id": 7
|
|
6519
|
+
},
|
|
6367
6520
|
"uninterpretedOption": {
|
|
6368
6521
|
"rule": "repeated",
|
|
6369
6522
|
"type": "UninterpretedOption",
|
|
@@ -6392,6 +6545,17 @@
|
|
|
6392
6545
|
"default": false
|
|
6393
6546
|
}
|
|
6394
6547
|
},
|
|
6548
|
+
"features": {
|
|
6549
|
+
"type": "FeatureSet",
|
|
6550
|
+
"id": 2
|
|
6551
|
+
},
|
|
6552
|
+
"debugRedact": {
|
|
6553
|
+
"type": "bool",
|
|
6554
|
+
"id": 3,
|
|
6555
|
+
"options": {
|
|
6556
|
+
"default": false
|
|
6557
|
+
}
|
|
6558
|
+
},
|
|
6395
6559
|
"uninterpretedOption": {
|
|
6396
6560
|
"rule": "repeated",
|
|
6397
6561
|
"type": "UninterpretedOption",
|
|
@@ -6407,6 +6571,10 @@
|
|
|
6407
6571
|
},
|
|
6408
6572
|
"ServiceOptions": {
|
|
6409
6573
|
"fields": {
|
|
6574
|
+
"features": {
|
|
6575
|
+
"type": "FeatureSet",
|
|
6576
|
+
"id": 34
|
|
6577
|
+
},
|
|
6410
6578
|
"deprecated": {
|
|
6411
6579
|
"type": "bool",
|
|
6412
6580
|
"id": 33,
|
|
@@ -6443,6 +6611,10 @@
|
|
|
6443
6611
|
"default": "IDEMPOTENCY_UNKNOWN"
|
|
6444
6612
|
}
|
|
6445
6613
|
},
|
|
6614
|
+
"features": {
|
|
6615
|
+
"type": "FeatureSet",
|
|
6616
|
+
"id": 35
|
|
6617
|
+
},
|
|
6446
6618
|
"uninterpretedOption": {
|
|
6447
6619
|
"rule": "repeated",
|
|
6448
6620
|
"type": "UninterpretedOption",
|
|
@@ -6514,6 +6686,166 @@
|
|
|
6514
6686
|
}
|
|
6515
6687
|
}
|
|
6516
6688
|
},
|
|
6689
|
+
"FeatureSet": {
|
|
6690
|
+
"fields": {
|
|
6691
|
+
"fieldPresence": {
|
|
6692
|
+
"type": "FieldPresence",
|
|
6693
|
+
"id": 1,
|
|
6694
|
+
"options": {
|
|
6695
|
+
"retention": "RETENTION_RUNTIME",
|
|
6696
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6697
|
+
"edition_defaults.edition": "EDITION_2023",
|
|
6698
|
+
"edition_defaults.value": "EXPLICIT"
|
|
6699
|
+
}
|
|
6700
|
+
},
|
|
6701
|
+
"enumType": {
|
|
6702
|
+
"type": "EnumType",
|
|
6703
|
+
"id": 2,
|
|
6704
|
+
"options": {
|
|
6705
|
+
"retention": "RETENTION_RUNTIME",
|
|
6706
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6707
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
|
6708
|
+
"edition_defaults.value": "OPEN"
|
|
6709
|
+
}
|
|
6710
|
+
},
|
|
6711
|
+
"repeatedFieldEncoding": {
|
|
6712
|
+
"type": "RepeatedFieldEncoding",
|
|
6713
|
+
"id": 3,
|
|
6714
|
+
"options": {
|
|
6715
|
+
"retention": "RETENTION_RUNTIME",
|
|
6716
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6717
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
|
6718
|
+
"edition_defaults.value": "PACKED"
|
|
6719
|
+
}
|
|
6720
|
+
},
|
|
6721
|
+
"utf8Validation": {
|
|
6722
|
+
"type": "Utf8Validation",
|
|
6723
|
+
"id": 4,
|
|
6724
|
+
"options": {
|
|
6725
|
+
"retention": "RETENTION_RUNTIME",
|
|
6726
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6727
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
|
6728
|
+
"edition_defaults.value": "VERIFY"
|
|
6729
|
+
}
|
|
6730
|
+
},
|
|
6731
|
+
"messageEncoding": {
|
|
6732
|
+
"type": "MessageEncoding",
|
|
6733
|
+
"id": 5,
|
|
6734
|
+
"options": {
|
|
6735
|
+
"retention": "RETENTION_RUNTIME",
|
|
6736
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6737
|
+
"edition_defaults.edition": "EDITION_PROTO2",
|
|
6738
|
+
"edition_defaults.value": "LENGTH_PREFIXED"
|
|
6739
|
+
}
|
|
6740
|
+
},
|
|
6741
|
+
"jsonFormat": {
|
|
6742
|
+
"type": "JsonFormat",
|
|
6743
|
+
"id": 6,
|
|
6744
|
+
"options": {
|
|
6745
|
+
"retention": "RETENTION_RUNTIME",
|
|
6746
|
+
"targets": "TARGET_TYPE_FILE",
|
|
6747
|
+
"edition_defaults.edition": "EDITION_PROTO3",
|
|
6748
|
+
"edition_defaults.value": "ALLOW"
|
|
6749
|
+
}
|
|
6750
|
+
}
|
|
6751
|
+
},
|
|
6752
|
+
"extensions": [
|
|
6753
|
+
[
|
|
6754
|
+
1000,
|
|
6755
|
+
1000
|
|
6756
|
+
],
|
|
6757
|
+
[
|
|
6758
|
+
1001,
|
|
6759
|
+
1001
|
|
6760
|
+
],
|
|
6761
|
+
[
|
|
6762
|
+
9995,
|
|
6763
|
+
9999
|
|
6764
|
+
]
|
|
6765
|
+
],
|
|
6766
|
+
"reserved": [
|
|
6767
|
+
[
|
|
6768
|
+
999,
|
|
6769
|
+
999
|
|
6770
|
+
]
|
|
6771
|
+
],
|
|
6772
|
+
"nested": {
|
|
6773
|
+
"FieldPresence": {
|
|
6774
|
+
"values": {
|
|
6775
|
+
"FIELD_PRESENCE_UNKNOWN": 0,
|
|
6776
|
+
"EXPLICIT": 1,
|
|
6777
|
+
"IMPLICIT": 2,
|
|
6778
|
+
"LEGACY_REQUIRED": 3
|
|
6779
|
+
}
|
|
6780
|
+
},
|
|
6781
|
+
"EnumType": {
|
|
6782
|
+
"values": {
|
|
6783
|
+
"ENUM_TYPE_UNKNOWN": 0,
|
|
6784
|
+
"OPEN": 1,
|
|
6785
|
+
"CLOSED": 2
|
|
6786
|
+
}
|
|
6787
|
+
},
|
|
6788
|
+
"RepeatedFieldEncoding": {
|
|
6789
|
+
"values": {
|
|
6790
|
+
"REPEATED_FIELD_ENCODING_UNKNOWN": 0,
|
|
6791
|
+
"PACKED": 1,
|
|
6792
|
+
"EXPANDED": 2
|
|
6793
|
+
}
|
|
6794
|
+
},
|
|
6795
|
+
"Utf8Validation": {
|
|
6796
|
+
"values": {
|
|
6797
|
+
"UTF8_VALIDATION_UNKNOWN": 0,
|
|
6798
|
+
"VERIFY": 2,
|
|
6799
|
+
"NONE": 3
|
|
6800
|
+
}
|
|
6801
|
+
},
|
|
6802
|
+
"MessageEncoding": {
|
|
6803
|
+
"values": {
|
|
6804
|
+
"MESSAGE_ENCODING_UNKNOWN": 0,
|
|
6805
|
+
"LENGTH_PREFIXED": 1,
|
|
6806
|
+
"DELIMITED": 2
|
|
6807
|
+
}
|
|
6808
|
+
},
|
|
6809
|
+
"JsonFormat": {
|
|
6810
|
+
"values": {
|
|
6811
|
+
"JSON_FORMAT_UNKNOWN": 0,
|
|
6812
|
+
"ALLOW": 1,
|
|
6813
|
+
"LEGACY_BEST_EFFORT": 2
|
|
6814
|
+
}
|
|
6815
|
+
}
|
|
6816
|
+
}
|
|
6817
|
+
},
|
|
6818
|
+
"FeatureSetDefaults": {
|
|
6819
|
+
"fields": {
|
|
6820
|
+
"defaults": {
|
|
6821
|
+
"rule": "repeated",
|
|
6822
|
+
"type": "FeatureSetEditionDefault",
|
|
6823
|
+
"id": 1
|
|
6824
|
+
},
|
|
6825
|
+
"minimumEdition": {
|
|
6826
|
+
"type": "Edition",
|
|
6827
|
+
"id": 4
|
|
6828
|
+
},
|
|
6829
|
+
"maximumEdition": {
|
|
6830
|
+
"type": "Edition",
|
|
6831
|
+
"id": 5
|
|
6832
|
+
}
|
|
6833
|
+
},
|
|
6834
|
+
"nested": {
|
|
6835
|
+
"FeatureSetEditionDefault": {
|
|
6836
|
+
"fields": {
|
|
6837
|
+
"edition": {
|
|
6838
|
+
"type": "Edition",
|
|
6839
|
+
"id": 3
|
|
6840
|
+
},
|
|
6841
|
+
"features": {
|
|
6842
|
+
"type": "FeatureSet",
|
|
6843
|
+
"id": 2
|
|
6844
|
+
}
|
|
6845
|
+
}
|
|
6846
|
+
}
|
|
6847
|
+
}
|
|
6848
|
+
},
|
|
6517
6849
|
"SourceCodeInfo": {
|
|
6518
6850
|
"fields": {
|
|
6519
6851
|
"location": {
|
|
@@ -6815,7 +7147,7 @@
|
|
|
6815
7147
|
"options": {
|
|
6816
7148
|
"cc_enable_arenas": true,
|
|
6817
7149
|
"csharp_namespace": "Google.LongRunning",
|
|
6818
|
-
"go_package": "google.
|
|
7150
|
+
"go_package": "cloud.google.com/go/longrunning/autogen/longrunningpb;longrunningpb",
|
|
6819
7151
|
"java_multiple_files": true,
|
|
6820
7152
|
"java_outer_classname": "OperationsProto",
|
|
6821
7153
|
"java_package": "com.google.longrunning",
|
|
@@ -72,7 +72,7 @@ class DataMigrationServiceClient {
|
|
|
72
72
|
* ```
|
|
73
73
|
*/
|
|
74
74
|
constructor(opts, gaxInstance) {
|
|
75
|
-
var _a, _b, _c, _d;
|
|
75
|
+
var _a, _b, _c, _d, _e;
|
|
76
76
|
this._terminated = false;
|
|
77
77
|
this.descriptors = {
|
|
78
78
|
page: {},
|
|
@@ -87,14 +87,17 @@ class DataMigrationServiceClient {
|
|
|
87
87
|
(opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== (opts === null || opts === void 0 ? void 0 : opts.universeDomain)) {
|
|
88
88
|
throw new Error('Please set either universe_domain or universeDomain, but not both.');
|
|
89
89
|
}
|
|
90
|
+
const universeDomainEnvVar = typeof process === 'object' && typeof process.env === 'object'
|
|
91
|
+
? process.env['GOOGLE_CLOUD_UNIVERSE_DOMAIN']
|
|
92
|
+
: undefined;
|
|
90
93
|
this._universeDomain =
|
|
91
|
-
(_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : 'googleapis.com';
|
|
94
|
+
(_c = (_b = (_a = opts === null || opts === void 0 ? void 0 : opts.universeDomain) !== null && _a !== void 0 ? _a : opts === null || opts === void 0 ? void 0 : opts.universe_domain) !== null && _b !== void 0 ? _b : universeDomainEnvVar) !== null && _c !== void 0 ? _c : 'googleapis.com';
|
|
92
95
|
this._servicePath = 'datamigration.' + this._universeDomain;
|
|
93
96
|
const servicePath = (opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint) || this._servicePath;
|
|
94
97
|
this._providedCustomServicePath = !!((opts === null || opts === void 0 ? void 0 : opts.servicePath) || (opts === null || opts === void 0 ? void 0 : opts.apiEndpoint));
|
|
95
98
|
const port = (opts === null || opts === void 0 ? void 0 : opts.port) || staticMembers.port;
|
|
96
|
-
const clientConfig = (
|
|
97
|
-
const fallback = (
|
|
99
|
+
const clientConfig = (_d = opts === null || opts === void 0 ? void 0 : opts.clientConfig) !== null && _d !== void 0 ? _d : {};
|
|
100
|
+
const fallback = (_e = opts === null || opts === void 0 ? void 0 : opts.fallback) !== null && _e !== void 0 ? _e : (typeof window !== 'undefined' && typeof (window === null || window === void 0 ? void 0 : window.fetch) === 'function');
|
|
98
101
|
opts = Object.assign({ servicePath, port, clientConfig, fallback }, opts);
|
|
99
102
|
// Request numeric enum values if REST transport is used.
|
|
100
103
|
opts.numericEnums = true;
|
|
@@ -126,7 +129,7 @@ class DataMigrationServiceClient {
|
|
|
126
129
|
this.locationsClient = new this._gaxModule.LocationsClient(this._gaxGrpc, opts);
|
|
127
130
|
// Determine the client header string.
|
|
128
131
|
const clientHeader = [`gax/${this._gaxModule.version}`, `gapic/${version}`];
|
|
129
|
-
if (typeof process
|
|
132
|
+
if (typeof process === 'object' && 'versions' in process) {
|
|
130
133
|
clientHeader.push(`gl-node/${process.versions.node}`);
|
|
131
134
|
}
|
|
132
135
|
else {
|
|
@@ -432,7 +435,7 @@ class DataMigrationServiceClient {
|
|
|
432
435
|
* @returns {string} The DNS address for this service.
|
|
433
436
|
*/
|
|
434
437
|
static get servicePath() {
|
|
435
|
-
if (typeof process
|
|
438
|
+
if (typeof process === 'object' &&
|
|
436
439
|
typeof process.emitWarning === 'function') {
|
|
437
440
|
process.emitWarning('Static servicePath is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
438
441
|
}
|
|
@@ -444,7 +447,7 @@ class DataMigrationServiceClient {
|
|
|
444
447
|
* @returns {string} The DNS address for this service.
|
|
445
448
|
*/
|
|
446
449
|
static get apiEndpoint() {
|
|
447
|
-
if (typeof process
|
|
450
|
+
if (typeof process === 'object' &&
|
|
448
451
|
typeof process.emitWarning === 'function') {
|
|
449
452
|
process.emitWarning('Static apiEndpoint is deprecated, please use the instance method instead.', 'DeprecationWarning');
|
|
450
453
|
}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@google-cloud/dms",
|
|
3
3
|
"description": "Cloud Database Migration API client for Node.js",
|
|
4
|
-
"version": "3.
|
|
4
|
+
"version": "3.4.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Google LLC",
|
|
7
7
|
"engines": {
|
|
@@ -52,9 +52,9 @@
|
|
|
52
52
|
"@types/mocha": "^9.0.0",
|
|
53
53
|
"@types/node": "^20.4.5",
|
|
54
54
|
"@types/sinon": "^17.0.0",
|
|
55
|
-
"c8": "^
|
|
55
|
+
"c8": "^9.0.0",
|
|
56
56
|
"codecov": "^3.6.5",
|
|
57
|
-
"gapic-tools": "^0.
|
|
57
|
+
"gapic-tools": "^0.4.0",
|
|
58
58
|
"gts": "^5.0.0",
|
|
59
59
|
"jsdoc": "^4.0.0",
|
|
60
60
|
"jsdoc-fresh": "^3.0.0",
|