google-cloud-dataform-v1beta1 0.7.0 → 0.7.1

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.
@@ -33,6 +33,9 @@ module Google
33
33
  # tables in BigQuery.
34
34
  #
35
35
  class Client
36
+ # @private
37
+ API_VERSION = ""
38
+
36
39
  # @private
37
40
  DEFAULT_ENDPOINT_TEMPLATE = "dataform.$UNIVERSE_DOMAIN$"
38
41
 
@@ -267,10 +270,11 @@ module Google
267
270
  # Customize the options with defaults
268
271
  metadata = @config.rpcs.list_repositories.metadata.to_h
269
272
 
270
- # Set x-goog-api-client and x-goog-user-project headers
273
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
271
274
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
272
275
  lib_name: @config.lib_name, lib_version: @config.lib_version,
273
276
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
277
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
274
278
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
275
279
 
276
280
  header_params = {}
@@ -353,10 +357,11 @@ module Google
353
357
  # Customize the options with defaults
354
358
  metadata = @config.rpcs.get_repository.metadata.to_h
355
359
 
356
- # Set x-goog-api-client and x-goog-user-project headers
360
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
357
361
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
358
362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
359
363
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
364
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
365
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
366
 
362
367
  header_params = {}
@@ -444,10 +449,11 @@ module Google
444
449
  # Customize the options with defaults
445
450
  metadata = @config.rpcs.create_repository.metadata.to_h
446
451
 
447
- # Set x-goog-api-client and x-goog-user-project headers
452
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
448
453
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
449
454
  lib_name: @config.lib_name, lib_version: @config.lib_version,
450
455
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
456
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
451
457
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
452
458
 
453
459
  header_params = {}
@@ -532,10 +538,11 @@ module Google
532
538
  # Customize the options with defaults
533
539
  metadata = @config.rpcs.update_repository.metadata.to_h
534
540
 
535
- # Set x-goog-api-client and x-goog-user-project headers
541
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
536
542
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
537
543
  lib_name: @config.lib_name, lib_version: @config.lib_version,
538
544
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
545
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
539
546
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
540
547
 
541
548
  header_params = {}
@@ -621,10 +628,11 @@ module Google
621
628
  # Customize the options with defaults
622
629
  metadata = @config.rpcs.delete_repository.metadata.to_h
623
630
 
624
- # Set x-goog-api-client and x-goog-user-project headers
631
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
625
632
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
626
633
  lib_name: @config.lib_name, lib_version: @config.lib_version,
627
634
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
635
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
628
636
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
629
637
 
630
638
  header_params = {}
@@ -716,10 +724,11 @@ module Google
716
724
  # Customize the options with defaults
717
725
  metadata = @config.rpcs.commit_repository_changes.metadata.to_h
718
726
 
719
- # Set x-goog-api-client and x-goog-user-project headers
727
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
720
728
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
721
729
  lib_name: @config.lib_name, lib_version: @config.lib_version,
722
730
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
731
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
723
732
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
724
733
 
725
734
  header_params = {}
@@ -807,10 +816,11 @@ module Google
807
816
  # Customize the options with defaults
808
817
  metadata = @config.rpcs.read_repository_file.metadata.to_h
809
818
 
810
- # Set x-goog-api-client and x-goog-user-project headers
819
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
811
820
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
812
821
  lib_name: @config.lib_name, lib_version: @config.lib_version,
813
822
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
823
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
814
824
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
815
825
 
816
826
  header_params = {}
@@ -915,10 +925,11 @@ module Google
915
925
  # Customize the options with defaults
916
926
  metadata = @config.rpcs.query_repository_directory_contents.metadata.to_h
917
927
 
918
- # Set x-goog-api-client and x-goog-user-project headers
928
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
919
929
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
920
930
  lib_name: @config.lib_name, lib_version: @config.lib_version,
921
931
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
932
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
922
933
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
923
934
 
924
935
  header_params = {}
@@ -1016,10 +1027,11 @@ module Google
1016
1027
  # Customize the options with defaults
1017
1028
  metadata = @config.rpcs.fetch_repository_history.metadata.to_h
1018
1029
 
1019
- # Set x-goog-api-client and x-goog-user-project headers
1030
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1020
1031
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1021
1032
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1022
1033
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1034
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1023
1035
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1024
1036
 
1025
1037
  header_params = {}
@@ -1102,10 +1114,11 @@ module Google
1102
1114
  # Customize the options with defaults
1103
1115
  metadata = @config.rpcs.compute_repository_access_token_status.metadata.to_h
1104
1116
 
1105
- # Set x-goog-api-client and x-goog-user-project headers
1117
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1106
1118
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1107
1119
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1108
1120
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1121
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1109
1122
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1110
1123
 
1111
1124
  header_params = {}
@@ -1187,10 +1200,11 @@ module Google
1187
1200
  # Customize the options with defaults
1188
1201
  metadata = @config.rpcs.fetch_remote_branches.metadata.to_h
1189
1202
 
1190
- # Set x-goog-api-client and x-goog-user-project headers
1203
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1191
1204
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1192
1205
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1193
1206
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1207
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1194
1208
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1195
1209
 
1196
1210
  header_params = {}
@@ -1293,10 +1307,11 @@ module Google
1293
1307
  # Customize the options with defaults
1294
1308
  metadata = @config.rpcs.list_workspaces.metadata.to_h
1295
1309
 
1296
- # Set x-goog-api-client and x-goog-user-project headers
1310
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1297
1311
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1298
1312
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1299
1313
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1314
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1300
1315
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1301
1316
 
1302
1317
  header_params = {}
@@ -1379,10 +1394,11 @@ module Google
1379
1394
  # Customize the options with defaults
1380
1395
  metadata = @config.rpcs.get_workspace.metadata.to_h
1381
1396
 
1382
- # Set x-goog-api-client and x-goog-user-project headers
1397
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1383
1398
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1384
1399
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1385
1400
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1401
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1386
1402
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1387
1403
 
1388
1404
  header_params = {}
@@ -1470,10 +1486,11 @@ module Google
1470
1486
  # Customize the options with defaults
1471
1487
  metadata = @config.rpcs.create_workspace.metadata.to_h
1472
1488
 
1473
- # Set x-goog-api-client and x-goog-user-project headers
1489
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1474
1490
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1475
1491
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1476
1492
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1493
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1477
1494
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1478
1495
 
1479
1496
  header_params = {}
@@ -1555,10 +1572,11 @@ module Google
1555
1572
  # Customize the options with defaults
1556
1573
  metadata = @config.rpcs.delete_workspace.metadata.to_h
1557
1574
 
1558
- # Set x-goog-api-client and x-goog-user-project headers
1575
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1559
1576
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1560
1577
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1561
1578
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1579
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1562
1580
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1563
1581
 
1564
1582
  header_params = {}
@@ -1640,10 +1658,11 @@ module Google
1640
1658
  # Customize the options with defaults
1641
1659
  metadata = @config.rpcs.install_npm_packages.metadata.to_h
1642
1660
 
1643
- # Set x-goog-api-client and x-goog-user-project headers
1661
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1644
1662
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1645
1663
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1646
1664
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1665
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1647
1666
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1648
1667
 
1649
1668
  header_params = {}
@@ -1731,10 +1750,11 @@ module Google
1731
1750
  # Customize the options with defaults
1732
1751
  metadata = @config.rpcs.pull_git_commits.metadata.to_h
1733
1752
 
1734
- # Set x-goog-api-client and x-goog-user-project headers
1753
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1735
1754
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1736
1755
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1737
1756
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1757
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1738
1758
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1739
1759
 
1740
1760
  header_params = {}
@@ -1820,10 +1840,11 @@ module Google
1820
1840
  # Customize the options with defaults
1821
1841
  metadata = @config.rpcs.push_git_commits.metadata.to_h
1822
1842
 
1823
- # Set x-goog-api-client and x-goog-user-project headers
1843
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1824
1844
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1825
1845
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1826
1846
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1847
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1827
1848
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1828
1849
 
1829
1850
  header_params = {}
@@ -1905,10 +1926,11 @@ module Google
1905
1926
  # Customize the options with defaults
1906
1927
  metadata = @config.rpcs.fetch_file_git_statuses.metadata.to_h
1907
1928
 
1908
- # Set x-goog-api-client and x-goog-user-project headers
1929
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1909
1930
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1910
1931
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1911
1932
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
1933
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1912
1934
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1913
1935
 
1914
1936
  header_params = {}
@@ -1994,10 +2016,11 @@ module Google
1994
2016
  # Customize the options with defaults
1995
2017
  metadata = @config.rpcs.fetch_git_ahead_behind.metadata.to_h
1996
2018
 
1997
- # Set x-goog-api-client and x-goog-user-project headers
2019
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1998
2020
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1999
2021
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2000
2022
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2023
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2001
2024
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2002
2025
 
2003
2026
  header_params = {}
@@ -2086,10 +2109,11 @@ module Google
2086
2109
  # Customize the options with defaults
2087
2110
  metadata = @config.rpcs.commit_workspace_changes.metadata.to_h
2088
2111
 
2089
- # Set x-goog-api-client and x-goog-user-project headers
2112
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2090
2113
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2091
2114
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2092
2115
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2116
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2093
2117
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2094
2118
 
2095
2119
  header_params = {}
@@ -2176,10 +2200,11 @@ module Google
2176
2200
  # Customize the options with defaults
2177
2201
  metadata = @config.rpcs.reset_workspace_changes.metadata.to_h
2178
2202
 
2179
- # Set x-goog-api-client and x-goog-user-project headers
2203
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2180
2204
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2181
2205
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2182
2206
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2207
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2183
2208
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2184
2209
 
2185
2210
  header_params = {}
@@ -2264,10 +2289,11 @@ module Google
2264
2289
  # Customize the options with defaults
2265
2290
  metadata = @config.rpcs.fetch_file_diff.metadata.to_h
2266
2291
 
2267
- # Set x-goog-api-client and x-goog-user-project headers
2292
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2268
2293
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2269
2294
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2270
2295
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2296
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2271
2297
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2272
2298
 
2273
2299
  header_params = {}
@@ -2367,10 +2393,11 @@ module Google
2367
2393
  # Customize the options with defaults
2368
2394
  metadata = @config.rpcs.query_directory_contents.metadata.to_h
2369
2395
 
2370
- # Set x-goog-api-client and x-goog-user-project headers
2396
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2371
2397
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2372
2398
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2373
2399
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2400
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2374
2401
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2375
2402
 
2376
2403
  header_params = {}
@@ -2456,10 +2483,11 @@ module Google
2456
2483
  # Customize the options with defaults
2457
2484
  metadata = @config.rpcs.make_directory.metadata.to_h
2458
2485
 
2459
- # Set x-goog-api-client and x-goog-user-project headers
2486
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2460
2487
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2461
2488
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2462
2489
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2490
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2463
2491
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2464
2492
 
2465
2493
  header_params = {}
@@ -2544,10 +2572,11 @@ module Google
2544
2572
  # Customize the options with defaults
2545
2573
  metadata = @config.rpcs.remove_directory.metadata.to_h
2546
2574
 
2547
- # Set x-goog-api-client and x-goog-user-project headers
2575
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2548
2576
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2549
2577
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2550
2578
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2579
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2551
2580
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2552
2581
 
2553
2582
  header_params = {}
@@ -2636,10 +2665,11 @@ module Google
2636
2665
  # Customize the options with defaults
2637
2666
  metadata = @config.rpcs.move_directory.metadata.to_h
2638
2667
 
2639
- # Set x-goog-api-client and x-goog-user-project headers
2668
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2640
2669
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2641
2670
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2642
2671
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2672
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2643
2673
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2644
2674
 
2645
2675
  header_params = {}
@@ -2724,10 +2754,11 @@ module Google
2724
2754
  # Customize the options with defaults
2725
2755
  metadata = @config.rpcs.read_file.metadata.to_h
2726
2756
 
2727
- # Set x-goog-api-client and x-goog-user-project headers
2757
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2728
2758
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2729
2759
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2730
2760
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2761
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2731
2762
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2732
2763
 
2733
2764
  header_params = {}
@@ -2812,10 +2843,11 @@ module Google
2812
2843
  # Customize the options with defaults
2813
2844
  metadata = @config.rpcs.remove_file.metadata.to_h
2814
2845
 
2815
- # Set x-goog-api-client and x-goog-user-project headers
2846
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2816
2847
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2817
2848
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2818
2849
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2850
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2819
2851
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2820
2852
 
2821
2853
  header_params = {}
@@ -2903,10 +2935,11 @@ module Google
2903
2935
  # Customize the options with defaults
2904
2936
  metadata = @config.rpcs.move_file.metadata.to_h
2905
2937
 
2906
- # Set x-goog-api-client and x-goog-user-project headers
2938
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2907
2939
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2908
2940
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2909
2941
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
2942
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2910
2943
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2911
2944
 
2912
2945
  header_params = {}
@@ -2992,10 +3025,11 @@ module Google
2992
3025
  # Customize the options with defaults
2993
3026
  metadata = @config.rpcs.write_file.metadata.to_h
2994
3027
 
2995
- # Set x-goog-api-client and x-goog-user-project headers
3028
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2996
3029
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2997
3030
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2998
3031
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3032
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2999
3033
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3000
3034
 
3001
3035
  header_params = {}
@@ -3092,10 +3126,11 @@ module Google
3092
3126
  # Customize the options with defaults
3093
3127
  metadata = @config.rpcs.list_release_configs.metadata.to_h
3094
3128
 
3095
- # Set x-goog-api-client and x-goog-user-project headers
3129
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3096
3130
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3097
3131
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3098
3132
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3133
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3099
3134
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3100
3135
 
3101
3136
  header_params = {}
@@ -3178,10 +3213,11 @@ module Google
3178
3213
  # Customize the options with defaults
3179
3214
  metadata = @config.rpcs.get_release_config.metadata.to_h
3180
3215
 
3181
- # Set x-goog-api-client and x-goog-user-project headers
3216
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3182
3217
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3183
3218
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3184
3219
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3220
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3185
3221
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3186
3222
 
3187
3223
  header_params = {}
@@ -3269,10 +3305,11 @@ module Google
3269
3305
  # Customize the options with defaults
3270
3306
  metadata = @config.rpcs.create_release_config.metadata.to_h
3271
3307
 
3272
- # Set x-goog-api-client and x-goog-user-project headers
3308
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3273
3309
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3274
3310
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3275
3311
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3312
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3276
3313
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3277
3314
 
3278
3315
  header_params = {}
@@ -3357,10 +3394,11 @@ module Google
3357
3394
  # Customize the options with defaults
3358
3395
  metadata = @config.rpcs.update_release_config.metadata.to_h
3359
3396
 
3360
- # Set x-goog-api-client and x-goog-user-project headers
3397
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3361
3398
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3362
3399
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3363
3400
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3401
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3364
3402
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3365
3403
 
3366
3404
  header_params = {}
@@ -3442,10 +3480,11 @@ module Google
3442
3480
  # Customize the options with defaults
3443
3481
  metadata = @config.rpcs.delete_release_config.metadata.to_h
3444
3482
 
3445
- # Set x-goog-api-client and x-goog-user-project headers
3483
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3446
3484
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3447
3485
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3448
3486
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3487
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3449
3488
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3450
3489
 
3451
3490
  header_params = {}
@@ -3542,10 +3581,11 @@ module Google
3542
3581
  # Customize the options with defaults
3543
3582
  metadata = @config.rpcs.list_compilation_results.metadata.to_h
3544
3583
 
3545
- # Set x-goog-api-client and x-goog-user-project headers
3584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3546
3585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3547
3586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3548
3587
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3549
3589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3550
3590
 
3551
3591
  header_params = {}
@@ -3628,10 +3668,11 @@ module Google
3628
3668
  # Customize the options with defaults
3629
3669
  metadata = @config.rpcs.get_compilation_result.metadata.to_h
3630
3670
 
3631
- # Set x-goog-api-client and x-goog-user-project headers
3671
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3632
3672
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3633
3673
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3634
3674
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3675
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3635
3676
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3636
3677
 
3637
3678
  header_params = {}
@@ -3716,10 +3757,11 @@ module Google
3716
3757
  # Customize the options with defaults
3717
3758
  metadata = @config.rpcs.create_compilation_result.metadata.to_h
3718
3759
 
3719
- # Set x-goog-api-client and x-goog-user-project headers
3760
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3720
3761
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3721
3762
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3722
3763
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3764
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3723
3765
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3724
3766
 
3725
3767
  header_params = {}
@@ -3820,10 +3862,11 @@ module Google
3820
3862
  # Customize the options with defaults
3821
3863
  metadata = @config.rpcs.query_compilation_result_actions.metadata.to_h
3822
3864
 
3823
- # Set x-goog-api-client and x-goog-user-project headers
3865
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3824
3866
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3825
3867
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3826
3868
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3869
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3827
3870
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3828
3871
 
3829
3872
  header_params = {}
@@ -3921,10 +3964,11 @@ module Google
3921
3964
  # Customize the options with defaults
3922
3965
  metadata = @config.rpcs.list_workflow_configs.metadata.to_h
3923
3966
 
3924
- # Set x-goog-api-client and x-goog-user-project headers
3967
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3925
3968
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3926
3969
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3927
3970
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
3971
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3928
3972
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3929
3973
 
3930
3974
  header_params = {}
@@ -4007,10 +4051,11 @@ module Google
4007
4051
  # Customize the options with defaults
4008
4052
  metadata = @config.rpcs.get_workflow_config.metadata.to_h
4009
4053
 
4010
- # Set x-goog-api-client and x-goog-user-project headers
4054
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4011
4055
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4012
4056
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4013
4057
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4058
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4014
4059
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4015
4060
 
4016
4061
  header_params = {}
@@ -4098,10 +4143,11 @@ module Google
4098
4143
  # Customize the options with defaults
4099
4144
  metadata = @config.rpcs.create_workflow_config.metadata.to_h
4100
4145
 
4101
- # Set x-goog-api-client and x-goog-user-project headers
4146
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4102
4147
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4103
4148
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4104
4149
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4150
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4105
4151
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4106
4152
 
4107
4153
  header_params = {}
@@ -4186,10 +4232,11 @@ module Google
4186
4232
  # Customize the options with defaults
4187
4233
  metadata = @config.rpcs.update_workflow_config.metadata.to_h
4188
4234
 
4189
- # Set x-goog-api-client and x-goog-user-project headers
4235
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4190
4236
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4191
4237
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4192
4238
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4239
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4193
4240
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4194
4241
 
4195
4242
  header_params = {}
@@ -4271,10 +4318,11 @@ module Google
4271
4318
  # Customize the options with defaults
4272
4319
  metadata = @config.rpcs.delete_workflow_config.metadata.to_h
4273
4320
 
4274
- # Set x-goog-api-client and x-goog-user-project headers
4321
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4275
4322
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4276
4323
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4277
4324
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4325
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4278
4326
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4279
4327
 
4280
4328
  header_params = {}
@@ -4377,10 +4425,11 @@ module Google
4377
4425
  # Customize the options with defaults
4378
4426
  metadata = @config.rpcs.list_workflow_invocations.metadata.to_h
4379
4427
 
4380
- # Set x-goog-api-client and x-goog-user-project headers
4428
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4381
4429
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4382
4430
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4383
4431
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4432
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4384
4433
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4385
4434
 
4386
4435
  header_params = {}
@@ -4463,10 +4512,11 @@ module Google
4463
4512
  # Customize the options with defaults
4464
4513
  metadata = @config.rpcs.get_workflow_invocation.metadata.to_h
4465
4514
 
4466
- # Set x-goog-api-client and x-goog-user-project headers
4515
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4467
4516
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4468
4517
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4469
4518
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4519
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4470
4520
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4471
4521
 
4472
4522
  header_params = {}
@@ -4551,10 +4601,11 @@ module Google
4551
4601
  # Customize the options with defaults
4552
4602
  metadata = @config.rpcs.create_workflow_invocation.metadata.to_h
4553
4603
 
4554
- # Set x-goog-api-client and x-goog-user-project headers
4604
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4555
4605
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4556
4606
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4557
4607
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4608
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4558
4609
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4559
4610
 
4560
4611
  header_params = {}
@@ -4636,10 +4687,11 @@ module Google
4636
4687
  # Customize the options with defaults
4637
4688
  metadata = @config.rpcs.delete_workflow_invocation.metadata.to_h
4638
4689
 
4639
- # Set x-goog-api-client and x-goog-user-project headers
4690
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4640
4691
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4641
4692
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4642
4693
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4694
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4643
4695
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4644
4696
 
4645
4697
  header_params = {}
@@ -4721,10 +4773,11 @@ module Google
4721
4773
  # Customize the options with defaults
4722
4774
  metadata = @config.rpcs.cancel_workflow_invocation.metadata.to_h
4723
4775
 
4724
- # Set x-goog-api-client and x-goog-user-project headers
4776
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4725
4777
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4726
4778
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4727
4779
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4780
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4728
4781
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4729
4782
 
4730
4783
  header_params = {}
@@ -4822,10 +4875,11 @@ module Google
4822
4875
  # Customize the options with defaults
4823
4876
  metadata = @config.rpcs.query_workflow_invocation_actions.metadata.to_h
4824
4877
 
4825
- # Set x-goog-api-client and x-goog-user-project headers
4878
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4826
4879
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4827
4880
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4828
4881
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION
4882
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4829
4883
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4830
4884
 
4831
4885
  header_params = {}