google-cloud-migration_center-v1 0.3.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/migration_center/v1/migration_center/client.rb +99 -48
- data/lib/google/cloud/migration_center/v1/migration_center/operations.rb +13 -5
- data/lib/google/cloud/migration_center/v1/migration_center/rest/client.rb +99 -48
- data/lib/google/cloud/migration_center/v1/migration_center/rest/operations.rb +11 -4
- data/lib/google/cloud/migration_center/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1956fd985187956b8d5af3efa6a8921de2861cb0911a2265c40fc302d6cfc89d
|
4
|
+
data.tar.gz: 9921619393bb6b8cd2756bc972756af793c6ca5f0ec0632c713a951af02173b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 88a72d5584b069ee3e846a2db22afe464e4e2a8597a6ca6c829d44c3dbd913d756bb64a441fad2740f0f688375cdc45dda2f52b4f8c356ca04aebcaefd0a59ae
|
7
|
+
data.tar.gz: 90e4fa270d73bcba1f68fe8c3d663fa8dc5136b93dcb2e09a8f02fa88b26e4ab86fa798094275d7403e150318414155f93530701188ebc9508e5a7f9a45a8e34
|
@@ -31,6 +31,9 @@ module Google
|
|
31
31
|
# Service describing handlers for resources.
|
32
32
|
#
|
33
33
|
class Client
|
34
|
+
# @private
|
35
|
+
API_VERSION = ""
|
36
|
+
|
34
37
|
# @private
|
35
38
|
DEFAULT_ENDPOINT_TEMPLATE = "migrationcenter.$UNIVERSE_DOMAIN$"
|
36
39
|
|
@@ -263,10 +266,11 @@ module Google
|
|
263
266
|
# Customize the options with defaults
|
264
267
|
metadata = @config.rpcs.list_assets.metadata.to_h
|
265
268
|
|
266
|
-
# Set x-goog-api-client
|
269
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
267
270
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
268
271
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
269
272
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
273
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
270
274
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
271
275
|
|
272
276
|
header_params = {}
|
@@ -351,10 +355,11 @@ module Google
|
|
351
355
|
# Customize the options with defaults
|
352
356
|
metadata = @config.rpcs.get_asset.metadata.to_h
|
353
357
|
|
354
|
-
# Set x-goog-api-client
|
358
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
355
359
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
356
360
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
357
361
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
362
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
358
363
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
359
364
|
|
360
365
|
header_params = {}
|
@@ -457,10 +462,11 @@ module Google
|
|
457
462
|
# Customize the options with defaults
|
458
463
|
metadata = @config.rpcs.update_asset.metadata.to_h
|
459
464
|
|
460
|
-
# Set x-goog-api-client
|
465
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
461
466
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
462
467
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
463
468
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
469
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
464
470
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
465
471
|
|
466
472
|
header_params = {}
|
@@ -545,10 +551,11 @@ module Google
|
|
545
551
|
# Customize the options with defaults
|
546
552
|
metadata = @config.rpcs.batch_update_assets.metadata.to_h
|
547
553
|
|
548
|
-
# Set x-goog-api-client
|
554
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
549
555
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
550
556
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
551
557
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
558
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
552
559
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
553
560
|
|
554
561
|
header_params = {}
|
@@ -644,10 +651,11 @@ module Google
|
|
644
651
|
# Customize the options with defaults
|
645
652
|
metadata = @config.rpcs.delete_asset.metadata.to_h
|
646
653
|
|
647
|
-
# Set x-goog-api-client
|
654
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
648
655
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
649
656
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
650
657
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
658
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
651
659
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
652
660
|
|
653
661
|
header_params = {}
|
@@ -737,10 +745,11 @@ module Google
|
|
737
745
|
# Customize the options with defaults
|
738
746
|
metadata = @config.rpcs.batch_delete_assets.metadata.to_h
|
739
747
|
|
740
|
-
# Set x-goog-api-client
|
748
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
741
749
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
742
750
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
743
751
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
752
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
744
753
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
745
754
|
|
746
755
|
header_params = {}
|
@@ -826,10 +835,11 @@ module Google
|
|
826
835
|
# Customize the options with defaults
|
827
836
|
metadata = @config.rpcs.report_asset_frames.metadata.to_h
|
828
837
|
|
829
|
-
# Set x-goog-api-client
|
838
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
830
839
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
831
840
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
832
841
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
842
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
833
843
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
834
844
|
|
835
845
|
header_params = {}
|
@@ -916,10 +926,11 @@ module Google
|
|
916
926
|
# Customize the options with defaults
|
917
927
|
metadata = @config.rpcs.aggregate_assets_values.metadata.to_h
|
918
928
|
|
919
|
-
# Set x-goog-api-client
|
929
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
920
930
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
921
931
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
922
932
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
933
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
923
934
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
924
935
|
|
925
936
|
header_params = {}
|
@@ -1026,10 +1037,11 @@ module Google
|
|
1026
1037
|
# Customize the options with defaults
|
1027
1038
|
metadata = @config.rpcs.create_import_job.metadata.to_h
|
1028
1039
|
|
1029
|
-
# Set x-goog-api-client
|
1040
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1030
1041
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1031
1042
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1032
1043
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1044
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1033
1045
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1034
1046
|
|
1035
1047
|
header_params = {}
|
@@ -1128,10 +1140,11 @@ module Google
|
|
1128
1140
|
# Customize the options with defaults
|
1129
1141
|
metadata = @config.rpcs.list_import_jobs.metadata.to_h
|
1130
1142
|
|
1131
|
-
# Set x-goog-api-client
|
1143
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1132
1144
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1133
1145
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1134
1146
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1147
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1135
1148
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1136
1149
|
|
1137
1150
|
header_params = {}
|
@@ -1217,10 +1230,11 @@ module Google
|
|
1217
1230
|
# Customize the options with defaults
|
1218
1231
|
metadata = @config.rpcs.get_import_job.metadata.to_h
|
1219
1232
|
|
1220
|
-
# Set x-goog-api-client
|
1233
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1221
1234
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1222
1235
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1223
1236
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1237
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1224
1238
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1225
1239
|
|
1226
1240
|
header_params = {}
|
@@ -1327,10 +1341,11 @@ module Google
|
|
1327
1341
|
# Customize the options with defaults
|
1328
1342
|
metadata = @config.rpcs.delete_import_job.metadata.to_h
|
1329
1343
|
|
1330
|
-
# Set x-goog-api-client
|
1344
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1331
1345
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1332
1346
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1333
1347
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1348
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1334
1349
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1335
1350
|
|
1336
1351
|
header_params = {}
|
@@ -1441,10 +1456,11 @@ module Google
|
|
1441
1456
|
# Customize the options with defaults
|
1442
1457
|
metadata = @config.rpcs.update_import_job.metadata.to_h
|
1443
1458
|
|
1444
|
-
# Set x-goog-api-client
|
1459
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1445
1460
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1446
1461
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1447
1462
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1463
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1448
1464
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1449
1465
|
|
1450
1466
|
header_params = {}
|
@@ -1548,10 +1564,11 @@ module Google
|
|
1548
1564
|
# Customize the options with defaults
|
1549
1565
|
metadata = @config.rpcs.validate_import_job.metadata.to_h
|
1550
1566
|
|
1551
|
-
# Set x-goog-api-client
|
1567
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1552
1568
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1553
1569
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1554
1570
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1571
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1555
1572
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1556
1573
|
|
1557
1574
|
header_params = {}
|
@@ -1655,10 +1672,11 @@ module Google
|
|
1655
1672
|
# Customize the options with defaults
|
1656
1673
|
metadata = @config.rpcs.run_import_job.metadata.to_h
|
1657
1674
|
|
1658
|
-
# Set x-goog-api-client
|
1675
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1659
1676
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1660
1677
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1661
1678
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1679
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1662
1680
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1663
1681
|
|
1664
1682
|
header_params = {}
|
@@ -1741,10 +1759,11 @@ module Google
|
|
1741
1759
|
# Customize the options with defaults
|
1742
1760
|
metadata = @config.rpcs.get_import_data_file.metadata.to_h
|
1743
1761
|
|
1744
|
-
# Set x-goog-api-client
|
1762
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1745
1763
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1746
1764
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1747
1765
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1766
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1748
1767
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1749
1768
|
|
1750
1769
|
header_params = {}
|
@@ -1845,10 +1864,11 @@ module Google
|
|
1845
1864
|
# Customize the options with defaults
|
1846
1865
|
metadata = @config.rpcs.list_import_data_files.metadata.to_h
|
1847
1866
|
|
1848
|
-
# Set x-goog-api-client
|
1867
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1849
1868
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1850
1869
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1851
1870
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1871
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1852
1872
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1853
1873
|
|
1854
1874
|
header_params = {}
|
@@ -1956,10 +1976,11 @@ module Google
|
|
1956
1976
|
# Customize the options with defaults
|
1957
1977
|
metadata = @config.rpcs.create_import_data_file.metadata.to_h
|
1958
1978
|
|
1959
|
-
# Set x-goog-api-client
|
1979
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
1960
1980
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
1961
1981
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
1962
1982
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
1983
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
1963
1984
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
1964
1985
|
|
1965
1986
|
header_params = {}
|
@@ -2063,10 +2084,11 @@ module Google
|
|
2063
2084
|
# Customize the options with defaults
|
2064
2085
|
metadata = @config.rpcs.delete_import_data_file.metadata.to_h
|
2065
2086
|
|
2066
|
-
# Set x-goog-api-client
|
2087
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2067
2088
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2068
2089
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2069
2090
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2091
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2070
2092
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2071
2093
|
|
2072
2094
|
header_params = {}
|
@@ -2162,10 +2184,11 @@ module Google
|
|
2162
2184
|
# Customize the options with defaults
|
2163
2185
|
metadata = @config.rpcs.list_groups.metadata.to_h
|
2164
2186
|
|
2165
|
-
# Set x-goog-api-client
|
2187
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2166
2188
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2167
2189
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2168
2190
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2191
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2169
2192
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2170
2193
|
|
2171
2194
|
header_params = {}
|
@@ -2248,10 +2271,11 @@ module Google
|
|
2248
2271
|
# Customize the options with defaults
|
2249
2272
|
metadata = @config.rpcs.get_group.metadata.to_h
|
2250
2273
|
|
2251
|
-
# Set x-goog-api-client
|
2274
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2252
2275
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2253
2276
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2254
2277
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2278
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2255
2279
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2256
2280
|
|
2257
2281
|
header_params = {}
|
@@ -2362,10 +2386,11 @@ module Google
|
|
2362
2386
|
# Customize the options with defaults
|
2363
2387
|
metadata = @config.rpcs.create_group.metadata.to_h
|
2364
2388
|
|
2365
|
-
# Set x-goog-api-client
|
2389
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2366
2390
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2367
2391
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2368
2392
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2393
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2369
2394
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2370
2395
|
|
2371
2396
|
header_params = {}
|
@@ -2475,10 +2500,11 @@ module Google
|
|
2475
2500
|
# Customize the options with defaults
|
2476
2501
|
metadata = @config.rpcs.update_group.metadata.to_h
|
2477
2502
|
|
2478
|
-
# Set x-goog-api-client
|
2503
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2479
2504
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2480
2505
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2481
2506
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2507
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2482
2508
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2483
2509
|
|
2484
2510
|
header_params = {}
|
@@ -2582,10 +2608,11 @@ module Google
|
|
2582
2608
|
# Customize the options with defaults
|
2583
2609
|
metadata = @config.rpcs.delete_group.metadata.to_h
|
2584
2610
|
|
2585
|
-
# Set x-goog-api-client
|
2611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2586
2612
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2587
2613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2588
2614
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2615
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2589
2616
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2590
2617
|
|
2591
2618
|
header_params = {}
|
@@ -2700,10 +2727,11 @@ module Google
|
|
2700
2727
|
# Customize the options with defaults
|
2701
2728
|
metadata = @config.rpcs.add_assets_to_group.metadata.to_h
|
2702
2729
|
|
2703
|
-
# Set x-goog-api-client
|
2730
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2704
2731
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2705
2732
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2706
2733
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2734
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2707
2735
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2708
2736
|
|
2709
2737
|
header_params = {}
|
@@ -2817,10 +2845,11 @@ module Google
|
|
2817
2845
|
# Customize the options with defaults
|
2818
2846
|
metadata = @config.rpcs.remove_assets_from_group.metadata.to_h
|
2819
2847
|
|
2820
|
-
# Set x-goog-api-client
|
2848
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2821
2849
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2822
2850
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2823
2851
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2852
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2824
2853
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2825
2854
|
|
2826
2855
|
header_params = {}
|
@@ -2915,10 +2944,11 @@ module Google
|
|
2915
2944
|
# Customize the options with defaults
|
2916
2945
|
metadata = @config.rpcs.list_error_frames.metadata.to_h
|
2917
2946
|
|
2918
|
-
# Set x-goog-api-client
|
2947
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
2919
2948
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
2920
2949
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
2921
2950
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
2951
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
2922
2952
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
2923
2953
|
|
2924
2954
|
header_params = {}
|
@@ -3006,10 +3036,11 @@ module Google
|
|
3006
3036
|
# Customize the options with defaults
|
3007
3037
|
metadata = @config.rpcs.get_error_frame.metadata.to_h
|
3008
3038
|
|
3009
|
-
# Set x-goog-api-client
|
3039
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3010
3040
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3011
3041
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3012
3042
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3043
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3013
3044
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3014
3045
|
|
3015
3046
|
header_params = {}
|
@@ -3104,10 +3135,11 @@ module Google
|
|
3104
3135
|
# Customize the options with defaults
|
3105
3136
|
metadata = @config.rpcs.list_sources.metadata.to_h
|
3106
3137
|
|
3107
|
-
# Set x-goog-api-client
|
3138
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3108
3139
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3109
3140
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3110
3141
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3142
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3111
3143
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3112
3144
|
|
3113
3145
|
header_params = {}
|
@@ -3190,10 +3222,11 @@ module Google
|
|
3190
3222
|
# Customize the options with defaults
|
3191
3223
|
metadata = @config.rpcs.get_source.metadata.to_h
|
3192
3224
|
|
3193
|
-
# Set x-goog-api-client
|
3225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3194
3226
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3195
3227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3196
3228
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3229
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3197
3230
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3198
3231
|
|
3199
3232
|
header_params = {}
|
@@ -3304,10 +3337,11 @@ module Google
|
|
3304
3337
|
# Customize the options with defaults
|
3305
3338
|
metadata = @config.rpcs.create_source.metadata.to_h
|
3306
3339
|
|
3307
|
-
# Set x-goog-api-client
|
3340
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3308
3341
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3309
3342
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3310
3343
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3344
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3311
3345
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3312
3346
|
|
3313
3347
|
header_params = {}
|
@@ -3418,10 +3452,11 @@ module Google
|
|
3418
3452
|
# Customize the options with defaults
|
3419
3453
|
metadata = @config.rpcs.update_source.metadata.to_h
|
3420
3454
|
|
3421
|
-
# Set x-goog-api-client
|
3455
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3422
3456
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3423
3457
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3424
3458
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3459
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3425
3460
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3426
3461
|
|
3427
3462
|
header_params = {}
|
@@ -3525,10 +3560,11 @@ module Google
|
|
3525
3560
|
# Customize the options with defaults
|
3526
3561
|
metadata = @config.rpcs.delete_source.metadata.to_h
|
3527
3562
|
|
3528
|
-
# Set x-goog-api-client
|
3563
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3529
3564
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3530
3565
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3531
3566
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3567
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3532
3568
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3533
3569
|
|
3534
3570
|
header_params = {}
|
@@ -3623,10 +3659,11 @@ module Google
|
|
3623
3659
|
# Customize the options with defaults
|
3624
3660
|
metadata = @config.rpcs.list_preference_sets.metadata.to_h
|
3625
3661
|
|
3626
|
-
# Set x-goog-api-client
|
3662
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3627
3663
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3628
3664
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3629
3665
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3666
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3630
3667
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3631
3668
|
|
3632
3669
|
header_params = {}
|
@@ -3709,10 +3746,11 @@ module Google
|
|
3709
3746
|
# Customize the options with defaults
|
3710
3747
|
metadata = @config.rpcs.get_preference_set.metadata.to_h
|
3711
3748
|
|
3712
|
-
# Set x-goog-api-client
|
3749
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3713
3750
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3714
3751
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3715
3752
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3753
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3716
3754
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3717
3755
|
|
3718
3756
|
header_params = {}
|
@@ -3824,10 +3862,11 @@ module Google
|
|
3824
3862
|
# Customize the options with defaults
|
3825
3863
|
metadata = @config.rpcs.create_preference_set.metadata.to_h
|
3826
3864
|
|
3827
|
-
# Set x-goog-api-client
|
3865
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3828
3866
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3829
3867
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3830
3868
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3869
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3831
3870
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3832
3871
|
|
3833
3872
|
header_params = {}
|
@@ -3938,10 +3977,11 @@ module Google
|
|
3938
3977
|
# Customize the options with defaults
|
3939
3978
|
metadata = @config.rpcs.update_preference_set.metadata.to_h
|
3940
3979
|
|
3941
|
-
# Set x-goog-api-client
|
3980
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
3942
3981
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
3943
3982
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
3944
3983
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
3984
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
3945
3985
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
3946
3986
|
|
3947
3987
|
header_params = {}
|
@@ -4045,10 +4085,11 @@ module Google
|
|
4045
4085
|
# Customize the options with defaults
|
4046
4086
|
metadata = @config.rpcs.delete_preference_set.metadata.to_h
|
4047
4087
|
|
4048
|
-
# Set x-goog-api-client
|
4088
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4049
4089
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4050
4090
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4051
4091
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4092
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4052
4093
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4053
4094
|
|
4054
4095
|
header_params = {}
|
@@ -4131,10 +4172,11 @@ module Google
|
|
4131
4172
|
# Customize the options with defaults
|
4132
4173
|
metadata = @config.rpcs.get_settings.metadata.to_h
|
4133
4174
|
|
4134
|
-
# Set x-goog-api-client
|
4175
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4135
4176
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4136
4177
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4137
4178
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4179
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4138
4180
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4139
4181
|
|
4140
4182
|
header_params = {}
|
@@ -4244,10 +4286,11 @@ module Google
|
|
4244
4286
|
# Customize the options with defaults
|
4245
4287
|
metadata = @config.rpcs.update_settings.metadata.to_h
|
4246
4288
|
|
4247
|
-
# Set x-goog-api-client
|
4289
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4248
4290
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4249
4291
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4250
4292
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4293
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4251
4294
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4252
4295
|
|
4253
4296
|
header_params = {}
|
@@ -4359,10 +4402,11 @@ module Google
|
|
4359
4402
|
# Customize the options with defaults
|
4360
4403
|
metadata = @config.rpcs.create_report_config.metadata.to_h
|
4361
4404
|
|
4362
|
-
# Set x-goog-api-client
|
4405
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4363
4406
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4364
4407
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4365
4408
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4409
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4366
4410
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4367
4411
|
|
4368
4412
|
header_params = {}
|
@@ -4445,10 +4489,11 @@ module Google
|
|
4445
4489
|
# Customize the options with defaults
|
4446
4490
|
metadata = @config.rpcs.get_report_config.metadata.to_h
|
4447
4491
|
|
4448
|
-
# Set x-goog-api-client
|
4492
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4449
4493
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4450
4494
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4451
4495
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4496
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4452
4497
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4453
4498
|
|
4454
4499
|
header_params = {}
|
@@ -4543,10 +4588,11 @@ module Google
|
|
4543
4588
|
# Customize the options with defaults
|
4544
4589
|
metadata = @config.rpcs.list_report_configs.metadata.to_h
|
4545
4590
|
|
4546
|
-
# Set x-goog-api-client
|
4591
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4547
4592
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4548
4593
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4549
4594
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4595
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4550
4596
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4551
4597
|
|
4552
4598
|
header_params = {}
|
@@ -4654,10 +4700,11 @@ module Google
|
|
4654
4700
|
# Customize the options with defaults
|
4655
4701
|
metadata = @config.rpcs.delete_report_config.metadata.to_h
|
4656
4702
|
|
4657
|
-
# Set x-goog-api-client
|
4703
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4658
4704
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4659
4705
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4660
4706
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4707
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4661
4708
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4662
4709
|
|
4663
4710
|
header_params = {}
|
@@ -4769,10 +4816,11 @@ module Google
|
|
4769
4816
|
# Customize the options with defaults
|
4770
4817
|
metadata = @config.rpcs.create_report.metadata.to_h
|
4771
4818
|
|
4772
|
-
# Set x-goog-api-client
|
4819
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4773
4820
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4774
4821
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4775
4822
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4823
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4776
4824
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4777
4825
|
|
4778
4826
|
header_params = {}
|
@@ -4857,10 +4905,11 @@ module Google
|
|
4857
4905
|
# Customize the options with defaults
|
4858
4906
|
metadata = @config.rpcs.get_report.metadata.to_h
|
4859
4907
|
|
4860
|
-
# Set x-goog-api-client
|
4908
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4861
4909
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4862
4910
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4863
4911
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
4912
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4864
4913
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4865
4914
|
|
4866
4915
|
header_params = {}
|
@@ -4957,10 +5006,11 @@ module Google
|
|
4957
5006
|
# Customize the options with defaults
|
4958
5007
|
metadata = @config.rpcs.list_reports.metadata.to_h
|
4959
5008
|
|
4960
|
-
# Set x-goog-api-client
|
5009
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
4961
5010
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
4962
5011
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
4963
5012
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
5013
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
4964
5014
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
4965
5015
|
|
4966
5016
|
header_params = {}
|
@@ -5064,10 +5114,11 @@ module Google
|
|
5064
5114
|
# Customize the options with defaults
|
5065
5115
|
metadata = @config.rpcs.delete_report.metadata.to_h
|
5066
5116
|
|
5067
|
-
# Set x-goog-api-client
|
5117
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
5068
5118
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
5069
5119
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
5070
5120
|
gapic_version: ::Google::Cloud::MigrationCenter::V1::VERSION
|
5121
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
5071
5122
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
5072
5123
|
|
5073
5124
|
header_params = {}
|