google-cloud-cloud_dms-v1 0.8.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c457303e115e3cec5a9b1c3a8466dd7e5e91ab06a8402405010968d81bdbb417
4
- data.tar.gz: 3986d7e3d9d615aaad549560d49af3b478379eceb9b28c46e3f1d7b5a1611867
3
+ metadata.gz: 15f55da3e181272da030b2ff86007a4843d1a9618e2481d67a67036a2b5527c6
4
+ data.tar.gz: fd9a964afe3cf5cf2e95d099e9910a00c57e90f38c9d3174d673c5fedf7d47de
5
5
  SHA512:
6
- metadata.gz: 64cf6615504f14320ad5a524695e01415863b0d918c74e20a7aac20d82e210d54a8f560efa7f600cf5bf43bd4eb4cc4efcafcd2cfce20d4abe446fcfe4e26174
7
- data.tar.gz: ba8c7d823e5d795fbc04e5d5d4700c0350172004ba85c375776b85bd82fe4dd40c2b1cab30e27137dc97447f104aad99f7cee11433f15741b13281052240645b
6
+ metadata.gz: 214e1e31b0ad10158f7df33572062b7b7ee6a1b3f6a2dc4a588057736851cc5ef1d3107c12d99247ab6518eb47f96e0c9141c022d8d6db864301d9906aeb60af
7
+ data.tar.gz: 23f9471f50e994cd963c98ae87466063fbf03cca83d5142041d500bc5e0d6bfb2eceab677bfeba3111dc5c811440a44343af3df1238aeb4749cceecf09a60342
@@ -32,6 +32,9 @@ module Google
32
32
  # Database Migration service
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "datamigration.$UNIVERSE_DOMAIN$"
37
40
 
@@ -364,10 +367,11 @@ module Google
364
367
  # Customize the options with defaults
365
368
  metadata = @config.rpcs.list_migration_jobs.metadata.to_h
366
369
 
367
- # Set x-goog-api-client and x-goog-user-project headers
370
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
368
371
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
369
372
  lib_name: @config.lib_name, lib_version: @config.lib_version,
370
373
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
374
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
371
375
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
372
376
 
373
377
  header_params = {}
@@ -450,10 +454,11 @@ module Google
450
454
  # Customize the options with defaults
451
455
  metadata = @config.rpcs.get_migration_job.metadata.to_h
452
456
 
453
- # Set x-goog-api-client and x-goog-user-project headers
457
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
454
458
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
455
459
  lib_name: @config.lib_name, lib_version: @config.lib_version,
456
460
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
461
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
457
462
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
458
463
 
459
464
  header_params = {}
@@ -556,10 +561,11 @@ module Google
556
561
  # Customize the options with defaults
557
562
  metadata = @config.rpcs.create_migration_job.metadata.to_h
558
563
 
559
- # Set x-goog-api-client and x-goog-user-project headers
564
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
560
565
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
561
566
  lib_name: @config.lib_name, lib_version: @config.lib_version,
562
567
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
568
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
563
569
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
564
570
 
565
571
  header_params = {}
@@ -660,10 +666,11 @@ module Google
660
666
  # Customize the options with defaults
661
667
  metadata = @config.rpcs.update_migration_job.metadata.to_h
662
668
 
663
- # Set x-goog-api-client and x-goog-user-project headers
669
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
664
670
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
665
671
  lib_name: @config.lib_name, lib_version: @config.lib_version,
666
672
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
673
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
667
674
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
668
675
 
669
676
  header_params = {}
@@ -765,10 +772,11 @@ module Google
765
772
  # Customize the options with defaults
766
773
  metadata = @config.rpcs.delete_migration_job.metadata.to_h
767
774
 
768
- # Set x-goog-api-client and x-goog-user-project headers
775
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
769
776
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
770
777
  lib_name: @config.lib_name, lib_version: @config.lib_version,
771
778
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
779
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
772
780
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
773
781
 
774
782
  header_params = {}
@@ -861,10 +869,11 @@ module Google
861
869
  # Customize the options with defaults
862
870
  metadata = @config.rpcs.start_migration_job.metadata.to_h
863
871
 
864
- # Set x-goog-api-client and x-goog-user-project headers
872
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
865
873
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
866
874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
867
875
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
876
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
868
877
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
869
878
 
870
879
  header_params = {}
@@ -954,10 +963,11 @@ module Google
954
963
  # Customize the options with defaults
955
964
  metadata = @config.rpcs.stop_migration_job.metadata.to_h
956
965
 
957
- # Set x-goog-api-client and x-goog-user-project headers
966
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
958
967
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
959
968
  lib_name: @config.lib_name, lib_version: @config.lib_version,
960
969
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
970
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
961
971
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
962
972
 
963
973
  header_params = {}
@@ -1048,10 +1058,11 @@ module Google
1048
1058
  # Customize the options with defaults
1049
1059
  metadata = @config.rpcs.resume_migration_job.metadata.to_h
1050
1060
 
1051
- # Set x-goog-api-client and x-goog-user-project headers
1061
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1052
1062
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1053
1063
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1054
1064
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1065
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1055
1066
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1056
1067
 
1057
1068
  header_params = {}
@@ -1142,10 +1153,11 @@ module Google
1142
1153
  # Customize the options with defaults
1143
1154
  metadata = @config.rpcs.promote_migration_job.metadata.to_h
1144
1155
 
1145
- # Set x-goog-api-client and x-goog-user-project headers
1156
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1146
1157
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1147
1158
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1148
1159
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1160
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1149
1161
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1150
1162
 
1151
1163
  header_params = {}
@@ -1242,10 +1254,11 @@ module Google
1242
1254
  # Customize the options with defaults
1243
1255
  metadata = @config.rpcs.verify_migration_job.metadata.to_h
1244
1256
 
1245
- # Set x-goog-api-client and x-goog-user-project headers
1257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1246
1258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1247
1259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1248
1260
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1249
1262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1250
1263
 
1251
1264
  header_params = {}
@@ -1340,10 +1353,11 @@ module Google
1340
1353
  # Customize the options with defaults
1341
1354
  metadata = @config.rpcs.restart_migration_job.metadata.to_h
1342
1355
 
1343
- # Set x-goog-api-client and x-goog-user-project headers
1356
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1344
1357
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1345
1358
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1346
1359
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1360
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1347
1361
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1348
1362
 
1349
1363
  header_params = {}
@@ -1435,10 +1449,11 @@ module Google
1435
1449
  # Customize the options with defaults
1436
1450
  metadata = @config.rpcs.generate_ssh_script.metadata.to_h
1437
1451
 
1438
- # Set x-goog-api-client and x-goog-user-project headers
1452
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1439
1453
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1440
1454
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1441
1455
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1456
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1442
1457
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1443
1458
 
1444
1459
  header_params = {}
@@ -1535,10 +1550,11 @@ module Google
1535
1550
  # Customize the options with defaults
1536
1551
  metadata = @config.rpcs.generate_tcp_proxy_script.metadata.to_h
1537
1552
 
1538
- # Set x-goog-api-client and x-goog-user-project headers
1553
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1539
1554
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1540
1555
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1541
1556
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1557
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1542
1558
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1543
1559
 
1544
1560
  header_params = {}
@@ -1648,10 +1664,11 @@ module Google
1648
1664
  # Customize the options with defaults
1649
1665
  metadata = @config.rpcs.list_connection_profiles.metadata.to_h
1650
1666
 
1651
- # Set x-goog-api-client and x-goog-user-project headers
1667
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1652
1668
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1653
1669
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1654
1670
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1671
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1655
1672
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1656
1673
 
1657
1674
  header_params = {}
@@ -1734,10 +1751,11 @@ module Google
1734
1751
  # Customize the options with defaults
1735
1752
  metadata = @config.rpcs.get_connection_profile.metadata.to_h
1736
1753
 
1737
- # Set x-goog-api-client and x-goog-user-project headers
1754
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1738
1755
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1739
1756
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1740
1757
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1758
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1741
1759
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1742
1760
 
1743
1761
  header_params = {}
@@ -1846,10 +1864,11 @@ module Google
1846
1864
  # Customize the options with defaults
1847
1865
  metadata = @config.rpcs.create_connection_profile.metadata.to_h
1848
1866
 
1849
- # Set x-goog-api-client and x-goog-user-project headers
1867
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1850
1868
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1851
1869
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1852
1870
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1871
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1853
1872
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1854
1873
 
1855
1874
  header_params = {}
@@ -1958,10 +1977,11 @@ module Google
1958
1977
  # Customize the options with defaults
1959
1978
  metadata = @config.rpcs.update_connection_profile.metadata.to_h
1960
1979
 
1961
- # Set x-goog-api-client and x-goog-user-project headers
1980
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1962
1981
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1963
1982
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1964
1983
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
1984
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1965
1985
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1966
1986
 
1967
1987
  header_params = {}
@@ -2064,10 +2084,11 @@ module Google
2064
2084
  # Customize the options with defaults
2065
2085
  metadata = @config.rpcs.delete_connection_profile.metadata.to_h
2066
2086
 
2067
- # Set x-goog-api-client and x-goog-user-project headers
2087
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2068
2088
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2069
2089
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2070
2090
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2091
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2071
2092
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2072
2093
 
2073
2094
  header_params = {}
@@ -2171,10 +2192,11 @@ module Google
2171
2192
  # Customize the options with defaults
2172
2193
  metadata = @config.rpcs.create_private_connection.metadata.to_h
2173
2194
 
2174
- # Set x-goog-api-client and x-goog-user-project headers
2195
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2175
2196
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2176
2197
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2177
2198
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2199
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2178
2200
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2179
2201
 
2180
2202
  header_params = {}
@@ -2257,10 +2279,11 @@ module Google
2257
2279
  # Customize the options with defaults
2258
2280
  metadata = @config.rpcs.get_private_connection.metadata.to_h
2259
2281
 
2260
- # Set x-goog-api-client and x-goog-user-project headers
2282
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2261
2283
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2262
2284
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2263
2285
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2286
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2264
2287
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2265
2288
 
2266
2289
  header_params = {}
@@ -2366,10 +2389,11 @@ module Google
2366
2389
  # Customize the options with defaults
2367
2390
  metadata = @config.rpcs.list_private_connections.metadata.to_h
2368
2391
 
2369
- # Set x-goog-api-client and x-goog-user-project headers
2392
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2370
2393
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2371
2394
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2372
2395
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2396
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2373
2397
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2374
2398
 
2375
2399
  header_params = {}
@@ -2467,10 +2491,11 @@ module Google
2467
2491
  # Customize the options with defaults
2468
2492
  metadata = @config.rpcs.delete_private_connection.metadata.to_h
2469
2493
 
2470
- # Set x-goog-api-client and x-goog-user-project headers
2494
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2471
2495
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2472
2496
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2473
2497
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2498
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2474
2499
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2475
2500
 
2476
2501
  header_params = {}
@@ -2553,10 +2578,11 @@ module Google
2553
2578
  # Customize the options with defaults
2554
2579
  metadata = @config.rpcs.get_conversion_workspace.metadata.to_h
2555
2580
 
2556
- # Set x-goog-api-client and x-goog-user-project headers
2581
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2557
2582
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2558
2583
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2559
2584
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2585
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2560
2586
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2561
2587
 
2562
2588
  header_params = {}
@@ -2661,10 +2687,11 @@ module Google
2661
2687
  # Customize the options with defaults
2662
2688
  metadata = @config.rpcs.list_conversion_workspaces.metadata.to_h
2663
2689
 
2664
- # Set x-goog-api-client and x-goog-user-project headers
2690
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2665
2691
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2666
2692
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2667
2693
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2694
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2668
2695
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2669
2696
 
2670
2697
  header_params = {}
@@ -2766,10 +2793,11 @@ module Google
2766
2793
  # Customize the options with defaults
2767
2794
  metadata = @config.rpcs.create_conversion_workspace.metadata.to_h
2768
2795
 
2769
- # Set x-goog-api-client and x-goog-user-project headers
2796
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2770
2797
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2771
2798
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2772
2799
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2800
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2773
2801
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2774
2802
 
2775
2803
  header_params = {}
@@ -2870,10 +2898,11 @@ module Google
2870
2898
  # Customize the options with defaults
2871
2899
  metadata = @config.rpcs.update_conversion_workspace.metadata.to_h
2872
2900
 
2873
- # Set x-goog-api-client and x-goog-user-project headers
2901
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2874
2902
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2875
2903
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2876
2904
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
2905
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2877
2906
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2878
2907
 
2879
2908
  header_params = {}
@@ -2974,10 +3003,11 @@ module Google
2974
3003
  # Customize the options with defaults
2975
3004
  metadata = @config.rpcs.delete_conversion_workspace.metadata.to_h
2976
3005
 
2977
- # Set x-goog-api-client and x-goog-user-project headers
3006
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2978
3007
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2979
3008
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2980
3009
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3010
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2981
3011
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2982
3012
 
2983
3013
  header_params = {}
@@ -3074,10 +3104,11 @@ module Google
3074
3104
  # Customize the options with defaults
3075
3105
  metadata = @config.rpcs.create_mapping_rule.metadata.to_h
3076
3106
 
3077
- # Set x-goog-api-client and x-goog-user-project headers
3107
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3078
3108
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3079
3109
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3080
3110
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3111
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3081
3112
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3082
3113
 
3083
3114
  header_params = {}
@@ -3167,10 +3198,11 @@ module Google
3167
3198
  # Customize the options with defaults
3168
3199
  metadata = @config.rpcs.delete_mapping_rule.metadata.to_h
3169
3200
 
3170
- # Set x-goog-api-client and x-goog-user-project headers
3201
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3171
3202
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3172
3203
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3173
3204
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3205
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3174
3206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3175
3207
 
3176
3208
  header_params = {}
@@ -3267,10 +3299,11 @@ module Google
3267
3299
  # Customize the options with defaults
3268
3300
  metadata = @config.rpcs.list_mapping_rules.metadata.to_h
3269
3301
 
3270
- # Set x-goog-api-client and x-goog-user-project headers
3302
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3271
3303
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3272
3304
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3273
3305
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3306
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3274
3307
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3275
3308
 
3276
3309
  header_params = {}
@@ -3359,10 +3392,11 @@ module Google
3359
3392
  # Customize the options with defaults
3360
3393
  metadata = @config.rpcs.get_mapping_rule.metadata.to_h
3361
3394
 
3362
- # Set x-goog-api-client and x-goog-user-project headers
3395
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3363
3396
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3364
3397
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3365
3398
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3399
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3366
3400
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3367
3401
 
3368
3402
  header_params = {}
@@ -3462,10 +3496,11 @@ module Google
3462
3496
  # Customize the options with defaults
3463
3497
  metadata = @config.rpcs.seed_conversion_workspace.metadata.to_h
3464
3498
 
3465
- # Set x-goog-api-client and x-goog-user-project headers
3499
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3466
3500
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3467
3501
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3468
3502
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3503
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3469
3504
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3470
3505
 
3471
3506
  header_params = {}
@@ -3565,10 +3600,11 @@ module Google
3565
3600
  # Customize the options with defaults
3566
3601
  metadata = @config.rpcs.import_mapping_rules.metadata.to_h
3567
3602
 
3568
- # Set x-goog-api-client and x-goog-user-project headers
3603
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3569
3604
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3570
3605
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3571
3606
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3607
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3572
3608
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3573
3609
 
3574
3610
  header_params = {}
@@ -3669,10 +3705,11 @@ module Google
3669
3705
  # Customize the options with defaults
3670
3706
  metadata = @config.rpcs.convert_conversion_workspace.metadata.to_h
3671
3707
 
3672
- # Set x-goog-api-client and x-goog-user-project headers
3708
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3673
3709
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3674
3710
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3675
3711
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3712
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3676
3713
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3677
3714
 
3678
3715
  header_params = {}
@@ -3764,10 +3801,11 @@ module Google
3764
3801
  # Customize the options with defaults
3765
3802
  metadata = @config.rpcs.commit_conversion_workspace.metadata.to_h
3766
3803
 
3767
- # Set x-goog-api-client and x-goog-user-project headers
3804
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3768
3805
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3769
3806
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3770
3807
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3808
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3771
3809
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3772
3810
 
3773
3811
  header_params = {}
@@ -3857,10 +3895,11 @@ module Google
3857
3895
  # Customize the options with defaults
3858
3896
  metadata = @config.rpcs.rollback_conversion_workspace.metadata.to_h
3859
3897
 
3860
- # Set x-goog-api-client and x-goog-user-project headers
3898
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3861
3899
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3862
3900
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3863
3901
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
3902
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3864
3903
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3865
3904
 
3866
3905
  header_params = {}
@@ -3965,10 +4004,11 @@ module Google
3965
4004
  # Customize the options with defaults
3966
4005
  metadata = @config.rpcs.apply_conversion_workspace.metadata.to_h
3967
4006
 
3968
- # Set x-goog-api-client and x-goog-user-project headers
4007
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3969
4008
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3970
4009
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3971
4010
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
4011
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3972
4012
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3973
4013
 
3974
4014
  header_params = {}
@@ -4085,10 +4125,11 @@ module Google
4085
4125
  # Customize the options with defaults
4086
4126
  metadata = @config.rpcs.describe_database_entities.metadata.to_h
4087
4127
 
4088
- # Set x-goog-api-client and x-goog-user-project headers
4128
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4089
4129
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4090
4130
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4091
4131
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
4132
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4092
4133
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4093
4134
 
4094
4135
  header_params = {}
@@ -4188,10 +4229,11 @@ module Google
4188
4229
  # Customize the options with defaults
4189
4230
  metadata = @config.rpcs.search_background_jobs.metadata.to_h
4190
4231
 
4191
- # Set x-goog-api-client and x-goog-user-project headers
4232
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4192
4233
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4193
4234
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4194
4235
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
4236
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4195
4237
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4196
4238
 
4197
4239
  header_params = {}
@@ -4278,10 +4320,11 @@ module Google
4278
4320
  # Customize the options with defaults
4279
4321
  metadata = @config.rpcs.describe_conversion_workspace_revisions.metadata.to_h
4280
4322
 
4281
- # Set x-goog-api-client and x-goog-user-project headers
4323
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4282
4324
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4283
4325
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4284
4326
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
4327
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4285
4328
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4286
4329
 
4287
4330
  header_params = {}
@@ -4369,10 +4412,11 @@ module Google
4369
4412
  # Customize the options with defaults
4370
4413
  metadata = @config.rpcs.fetch_static_ips.metadata.to_h
4371
4414
 
4372
- # Set x-goog-api-client and x-goog-user-project headers
4415
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4373
4416
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4374
4417
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4375
4418
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
4419
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4376
4420
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4377
4421
 
4378
4422
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module DataMigrationService
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "datamigration.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::CloudDMS::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module CloudDMS
23
23
  module V1
24
- VERSION = "0.8.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-cloud_dms-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common