google-cloud-dataform-v1beta1 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -35,6 +35,9 @@ module Google
35
35
  # tables in BigQuery.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "dataform.$UNIVERSE_DOMAIN$"
40
43
 
@@ -261,12 +264,13 @@ module Google
261
264
  # Customize the options with defaults
262
265
  call_metadata = @config.rpcs.list_repositories.metadata.to_h
263
266
 
264
- # Set x-goog-api-client and x-goog-user-project headers
267
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
265
268
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
266
269
  lib_name: @config.lib_name, lib_version: @config.lib_version,
267
270
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
268
271
  transports_version_send: [:rest]
269
272
 
273
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
270
274
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
271
275
 
272
276
  options.apply_defaults timeout: @config.rpcs.list_repositories.timeout,
@@ -339,12 +343,13 @@ module Google
339
343
  # Customize the options with defaults
340
344
  call_metadata = @config.rpcs.get_repository.metadata.to_h
341
345
 
342
- # Set x-goog-api-client and x-goog-user-project headers
346
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
343
347
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
344
348
  lib_name: @config.lib_name, lib_version: @config.lib_version,
345
349
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
346
350
  transports_version_send: [:rest]
347
351
 
352
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
348
353
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
349
354
 
350
355
  options.apply_defaults timeout: @config.rpcs.get_repository.timeout,
@@ -423,12 +428,13 @@ module Google
423
428
  # Customize the options with defaults
424
429
  call_metadata = @config.rpcs.create_repository.metadata.to_h
425
430
 
426
- # Set x-goog-api-client and x-goog-user-project headers
431
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
427
432
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
428
433
  lib_name: @config.lib_name, lib_version: @config.lib_version,
429
434
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
430
435
  transports_version_send: [:rest]
431
436
 
437
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
432
438
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
433
439
 
434
440
  options.apply_defaults timeout: @config.rpcs.create_repository.timeout,
@@ -504,12 +510,13 @@ module Google
504
510
  # Customize the options with defaults
505
511
  call_metadata = @config.rpcs.update_repository.metadata.to_h
506
512
 
507
- # Set x-goog-api-client and x-goog-user-project headers
513
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
508
514
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
509
515
  lib_name: @config.lib_name, lib_version: @config.lib_version,
510
516
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
511
517
  transports_version_send: [:rest]
512
518
 
519
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
513
520
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
514
521
 
515
522
  options.apply_defaults timeout: @config.rpcs.update_repository.timeout,
@@ -586,12 +593,13 @@ module Google
586
593
  # Customize the options with defaults
587
594
  call_metadata = @config.rpcs.delete_repository.metadata.to_h
588
595
 
589
- # Set x-goog-api-client and x-goog-user-project headers
596
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
590
597
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
591
598
  lib_name: @config.lib_name, lib_version: @config.lib_version,
592
599
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
593
600
  transports_version_send: [:rest]
594
601
 
602
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
595
603
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
596
604
 
597
605
  options.apply_defaults timeout: @config.rpcs.delete_repository.timeout,
@@ -674,12 +682,13 @@ module Google
674
682
  # Customize the options with defaults
675
683
  call_metadata = @config.rpcs.commit_repository_changes.metadata.to_h
676
684
 
677
- # Set x-goog-api-client and x-goog-user-project headers
685
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
678
686
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
679
687
  lib_name: @config.lib_name, lib_version: @config.lib_version,
680
688
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
681
689
  transports_version_send: [:rest]
682
690
 
691
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
683
692
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
684
693
 
685
694
  options.apply_defaults timeout: @config.rpcs.commit_repository_changes.timeout,
@@ -758,12 +767,13 @@ module Google
758
767
  # Customize the options with defaults
759
768
  call_metadata = @config.rpcs.read_repository_file.metadata.to_h
760
769
 
761
- # Set x-goog-api-client and x-goog-user-project headers
770
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
762
771
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
763
772
  lib_name: @config.lib_name, lib_version: @config.lib_version,
764
773
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
765
774
  transports_version_send: [:rest]
766
775
 
776
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
767
777
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
768
778
 
769
779
  options.apply_defaults timeout: @config.rpcs.read_repository_file.timeout,
@@ -859,12 +869,13 @@ module Google
859
869
  # Customize the options with defaults
860
870
  call_metadata = @config.rpcs.query_repository_directory_contents.metadata.to_h
861
871
 
862
- # 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
863
873
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
864
874
  lib_name: @config.lib_name, lib_version: @config.lib_version,
865
875
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
866
876
  transports_version_send: [:rest]
867
877
 
878
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
868
879
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
869
880
 
870
881
  options.apply_defaults timeout: @config.rpcs.query_repository_directory_contents.timeout,
@@ -953,12 +964,13 @@ module Google
953
964
  # Customize the options with defaults
954
965
  call_metadata = @config.rpcs.fetch_repository_history.metadata.to_h
955
966
 
956
- # Set x-goog-api-client and x-goog-user-project headers
967
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
957
968
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
958
969
  lib_name: @config.lib_name, lib_version: @config.lib_version,
959
970
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
960
971
  transports_version_send: [:rest]
961
972
 
973
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
962
974
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
963
975
 
964
976
  options.apply_defaults timeout: @config.rpcs.fetch_repository_history.timeout,
@@ -1032,12 +1044,13 @@ module Google
1032
1044
  # Customize the options with defaults
1033
1045
  call_metadata = @config.rpcs.compute_repository_access_token_status.metadata.to_h
1034
1046
 
1035
- # Set x-goog-api-client and x-goog-user-project headers
1047
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1036
1048
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1037
1049
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1038
1050
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1039
1051
  transports_version_send: [:rest]
1040
1052
 
1053
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1041
1054
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1042
1055
 
1043
1056
  options.apply_defaults timeout: @config.rpcs.compute_repository_access_token_status.timeout,
@@ -1110,12 +1123,13 @@ module Google
1110
1123
  # Customize the options with defaults
1111
1124
  call_metadata = @config.rpcs.fetch_remote_branches.metadata.to_h
1112
1125
 
1113
- # Set x-goog-api-client and x-goog-user-project headers
1126
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1114
1127
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1115
1128
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1116
1129
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1117
1130
  transports_version_send: [:rest]
1118
1131
 
1132
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1119
1133
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1120
1134
 
1121
1135
  options.apply_defaults timeout: @config.rpcs.fetch_remote_branches.timeout,
@@ -1209,12 +1223,13 @@ module Google
1209
1223
  # Customize the options with defaults
1210
1224
  call_metadata = @config.rpcs.list_workspaces.metadata.to_h
1211
1225
 
1212
- # Set x-goog-api-client and x-goog-user-project headers
1226
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1213
1227
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1214
1228
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1215
1229
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1216
1230
  transports_version_send: [:rest]
1217
1231
 
1232
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1218
1233
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1219
1234
 
1220
1235
  options.apply_defaults timeout: @config.rpcs.list_workspaces.timeout,
@@ -1287,12 +1302,13 @@ module Google
1287
1302
  # Customize the options with defaults
1288
1303
  call_metadata = @config.rpcs.get_workspace.metadata.to_h
1289
1304
 
1290
- # Set x-goog-api-client and x-goog-user-project headers
1305
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1291
1306
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1292
1307
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1293
1308
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1294
1309
  transports_version_send: [:rest]
1295
1310
 
1311
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1296
1312
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1297
1313
 
1298
1314
  options.apply_defaults timeout: @config.rpcs.get_workspace.timeout,
@@ -1371,12 +1387,13 @@ module Google
1371
1387
  # Customize the options with defaults
1372
1388
  call_metadata = @config.rpcs.create_workspace.metadata.to_h
1373
1389
 
1374
- # Set x-goog-api-client and x-goog-user-project headers
1390
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1375
1391
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1376
1392
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1377
1393
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1378
1394
  transports_version_send: [:rest]
1379
1395
 
1396
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1380
1397
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1381
1398
 
1382
1399
  options.apply_defaults timeout: @config.rpcs.create_workspace.timeout,
@@ -1449,12 +1466,13 @@ module Google
1449
1466
  # Customize the options with defaults
1450
1467
  call_metadata = @config.rpcs.delete_workspace.metadata.to_h
1451
1468
 
1452
- # Set x-goog-api-client and x-goog-user-project headers
1469
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1453
1470
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1454
1471
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1455
1472
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1456
1473
  transports_version_send: [:rest]
1457
1474
 
1475
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1458
1476
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1459
1477
 
1460
1478
  options.apply_defaults timeout: @config.rpcs.delete_workspace.timeout,
@@ -1527,12 +1545,13 @@ module Google
1527
1545
  # Customize the options with defaults
1528
1546
  call_metadata = @config.rpcs.install_npm_packages.metadata.to_h
1529
1547
 
1530
- # Set x-goog-api-client and x-goog-user-project headers
1548
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1531
1549
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1532
1550
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1533
1551
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1534
1552
  transports_version_send: [:rest]
1535
1553
 
1554
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1536
1555
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1537
1556
 
1538
1557
  options.apply_defaults timeout: @config.rpcs.install_npm_packages.timeout,
@@ -1611,12 +1630,13 @@ module Google
1611
1630
  # Customize the options with defaults
1612
1631
  call_metadata = @config.rpcs.pull_git_commits.metadata.to_h
1613
1632
 
1614
- # Set x-goog-api-client and x-goog-user-project headers
1633
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1615
1634
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1616
1635
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1617
1636
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1618
1637
  transports_version_send: [:rest]
1619
1638
 
1639
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1620
1640
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1621
1641
 
1622
1642
  options.apply_defaults timeout: @config.rpcs.pull_git_commits.timeout,
@@ -1693,12 +1713,13 @@ module Google
1693
1713
  # Customize the options with defaults
1694
1714
  call_metadata = @config.rpcs.push_git_commits.metadata.to_h
1695
1715
 
1696
- # Set x-goog-api-client and x-goog-user-project headers
1716
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1697
1717
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1698
1718
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1699
1719
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1700
1720
  transports_version_send: [:rest]
1701
1721
 
1722
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1702
1723
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1703
1724
 
1704
1725
  options.apply_defaults timeout: @config.rpcs.push_git_commits.timeout,
@@ -1771,12 +1792,13 @@ module Google
1771
1792
  # Customize the options with defaults
1772
1793
  call_metadata = @config.rpcs.fetch_file_git_statuses.metadata.to_h
1773
1794
 
1774
- # Set x-goog-api-client and x-goog-user-project headers
1795
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1775
1796
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1776
1797
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1777
1798
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1778
1799
  transports_version_send: [:rest]
1779
1800
 
1801
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1780
1802
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1781
1803
 
1782
1804
  options.apply_defaults timeout: @config.rpcs.fetch_file_git_statuses.timeout,
@@ -1853,12 +1875,13 @@ module Google
1853
1875
  # Customize the options with defaults
1854
1876
  call_metadata = @config.rpcs.fetch_git_ahead_behind.metadata.to_h
1855
1877
 
1856
- # Set x-goog-api-client and x-goog-user-project headers
1878
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1857
1879
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1858
1880
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1859
1881
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1860
1882
  transports_version_send: [:rest]
1861
1883
 
1884
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1862
1885
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1863
1886
 
1864
1887
  options.apply_defaults timeout: @config.rpcs.fetch_git_ahead_behind.timeout,
@@ -1938,12 +1961,13 @@ module Google
1938
1961
  # Customize the options with defaults
1939
1962
  call_metadata = @config.rpcs.commit_workspace_changes.metadata.to_h
1940
1963
 
1941
- # Set x-goog-api-client and x-goog-user-project headers
1964
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1942
1965
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1943
1966
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1944
1967
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
1945
1968
  transports_version_send: [:rest]
1946
1969
 
1970
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1947
1971
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1948
1972
 
1949
1973
  options.apply_defaults timeout: @config.rpcs.commit_workspace_changes.timeout,
@@ -2021,12 +2045,13 @@ module Google
2021
2045
  # Customize the options with defaults
2022
2046
  call_metadata = @config.rpcs.reset_workspace_changes.metadata.to_h
2023
2047
 
2024
- # Set x-goog-api-client and x-goog-user-project headers
2048
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2025
2049
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2026
2050
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2027
2051
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2028
2052
  transports_version_send: [:rest]
2029
2053
 
2054
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2030
2055
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2031
2056
 
2032
2057
  options.apply_defaults timeout: @config.rpcs.reset_workspace_changes.timeout,
@@ -2102,12 +2127,13 @@ module Google
2102
2127
  # Customize the options with defaults
2103
2128
  call_metadata = @config.rpcs.fetch_file_diff.metadata.to_h
2104
2129
 
2105
- # Set x-goog-api-client and x-goog-user-project headers
2130
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2106
2131
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2107
2132
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2108
2133
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2109
2134
  transports_version_send: [:rest]
2110
2135
 
2136
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2111
2137
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2112
2138
 
2113
2139
  options.apply_defaults timeout: @config.rpcs.fetch_file_diff.timeout,
@@ -2198,12 +2224,13 @@ module Google
2198
2224
  # Customize the options with defaults
2199
2225
  call_metadata = @config.rpcs.query_directory_contents.metadata.to_h
2200
2226
 
2201
- # Set x-goog-api-client and x-goog-user-project headers
2227
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2202
2228
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2203
2229
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2204
2230
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2205
2231
  transports_version_send: [:rest]
2206
2232
 
2233
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2207
2234
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2208
2235
 
2209
2236
  options.apply_defaults timeout: @config.rpcs.query_directory_contents.timeout,
@@ -2280,12 +2307,13 @@ module Google
2280
2307
  # Customize the options with defaults
2281
2308
  call_metadata = @config.rpcs.make_directory.metadata.to_h
2282
2309
 
2283
- # Set x-goog-api-client and x-goog-user-project headers
2310
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2284
2311
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2285
2312
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2286
2313
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2287
2314
  transports_version_send: [:rest]
2288
2315
 
2316
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2289
2317
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2290
2318
 
2291
2319
  options.apply_defaults timeout: @config.rpcs.make_directory.timeout,
@@ -2361,12 +2389,13 @@ module Google
2361
2389
  # Customize the options with defaults
2362
2390
  call_metadata = @config.rpcs.remove_directory.metadata.to_h
2363
2391
 
2364
- # 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
2365
2393
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2366
2394
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2367
2395
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2368
2396
  transports_version_send: [:rest]
2369
2397
 
2398
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2370
2399
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2371
2400
 
2372
2401
  options.apply_defaults timeout: @config.rpcs.remove_directory.timeout,
@@ -2446,12 +2475,13 @@ module Google
2446
2475
  # Customize the options with defaults
2447
2476
  call_metadata = @config.rpcs.move_directory.metadata.to_h
2448
2477
 
2449
- # Set x-goog-api-client and x-goog-user-project headers
2478
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2450
2479
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2451
2480
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2452
2481
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2453
2482
  transports_version_send: [:rest]
2454
2483
 
2484
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2455
2485
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2456
2486
 
2457
2487
  options.apply_defaults timeout: @config.rpcs.move_directory.timeout,
@@ -2527,12 +2557,13 @@ module Google
2527
2557
  # Customize the options with defaults
2528
2558
  call_metadata = @config.rpcs.read_file.metadata.to_h
2529
2559
 
2530
- # Set x-goog-api-client and x-goog-user-project headers
2560
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2531
2561
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2532
2562
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2533
2563
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2534
2564
  transports_version_send: [:rest]
2535
2565
 
2566
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2536
2567
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2537
2568
 
2538
2569
  options.apply_defaults timeout: @config.rpcs.read_file.timeout,
@@ -2608,12 +2639,13 @@ module Google
2608
2639
  # Customize the options with defaults
2609
2640
  call_metadata = @config.rpcs.remove_file.metadata.to_h
2610
2641
 
2611
- # Set x-goog-api-client and x-goog-user-project headers
2642
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2612
2643
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2613
2644
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2614
2645
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2615
2646
  transports_version_send: [:rest]
2616
2647
 
2648
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2617
2649
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2618
2650
 
2619
2651
  options.apply_defaults timeout: @config.rpcs.remove_file.timeout,
@@ -2692,12 +2724,13 @@ module Google
2692
2724
  # Customize the options with defaults
2693
2725
  call_metadata = @config.rpcs.move_file.metadata.to_h
2694
2726
 
2695
- # Set x-goog-api-client and x-goog-user-project headers
2727
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2696
2728
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2697
2729
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2698
2730
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2699
2731
  transports_version_send: [:rest]
2700
2732
 
2733
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2701
2734
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2702
2735
 
2703
2736
  options.apply_defaults timeout: @config.rpcs.move_file.timeout,
@@ -2774,12 +2807,13 @@ module Google
2774
2807
  # Customize the options with defaults
2775
2808
  call_metadata = @config.rpcs.write_file.metadata.to_h
2776
2809
 
2777
- # Set x-goog-api-client and x-goog-user-project headers
2810
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2778
2811
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2779
2812
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2780
2813
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2781
2814
  transports_version_send: [:rest]
2782
2815
 
2816
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2783
2817
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2784
2818
 
2785
2819
  options.apply_defaults timeout: @config.rpcs.write_file.timeout,
@@ -2867,12 +2901,13 @@ module Google
2867
2901
  # Customize the options with defaults
2868
2902
  call_metadata = @config.rpcs.list_release_configs.metadata.to_h
2869
2903
 
2870
- # Set x-goog-api-client and x-goog-user-project headers
2904
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2871
2905
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2872
2906
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2873
2907
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2874
2908
  transports_version_send: [:rest]
2875
2909
 
2910
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2876
2911
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2877
2912
 
2878
2913
  options.apply_defaults timeout: @config.rpcs.list_release_configs.timeout,
@@ -2945,12 +2980,13 @@ module Google
2945
2980
  # Customize the options with defaults
2946
2981
  call_metadata = @config.rpcs.get_release_config.metadata.to_h
2947
2982
 
2948
- # Set x-goog-api-client and x-goog-user-project headers
2983
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2949
2984
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2950
2985
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2951
2986
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
2952
2987
  transports_version_send: [:rest]
2953
2988
 
2989
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2954
2990
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2955
2991
 
2956
2992
  options.apply_defaults timeout: @config.rpcs.get_release_config.timeout,
@@ -3029,12 +3065,13 @@ module Google
3029
3065
  # Customize the options with defaults
3030
3066
  call_metadata = @config.rpcs.create_release_config.metadata.to_h
3031
3067
 
3032
- # Set x-goog-api-client and x-goog-user-project headers
3068
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3033
3069
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3034
3070
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3035
3071
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3036
3072
  transports_version_send: [:rest]
3037
3073
 
3074
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3038
3075
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3039
3076
 
3040
3077
  options.apply_defaults timeout: @config.rpcs.create_release_config.timeout,
@@ -3110,12 +3147,13 @@ module Google
3110
3147
  # Customize the options with defaults
3111
3148
  call_metadata = @config.rpcs.update_release_config.metadata.to_h
3112
3149
 
3113
- # Set x-goog-api-client and x-goog-user-project headers
3150
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3114
3151
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3115
3152
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3116
3153
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3117
3154
  transports_version_send: [:rest]
3118
3155
 
3156
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3119
3157
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3120
3158
 
3121
3159
  options.apply_defaults timeout: @config.rpcs.update_release_config.timeout,
@@ -3188,12 +3226,13 @@ module Google
3188
3226
  # Customize the options with defaults
3189
3227
  call_metadata = @config.rpcs.delete_release_config.metadata.to_h
3190
3228
 
3191
- # Set x-goog-api-client and x-goog-user-project headers
3229
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3192
3230
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3193
3231
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3194
3232
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3195
3233
  transports_version_send: [:rest]
3196
3234
 
3235
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3197
3236
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3198
3237
 
3199
3238
  options.apply_defaults timeout: @config.rpcs.delete_release_config.timeout,
@@ -3281,12 +3320,13 @@ module Google
3281
3320
  # Customize the options with defaults
3282
3321
  call_metadata = @config.rpcs.list_compilation_results.metadata.to_h
3283
3322
 
3284
- # Set x-goog-api-client and x-goog-user-project headers
3323
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3285
3324
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3286
3325
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3287
3326
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3288
3327
  transports_version_send: [:rest]
3289
3328
 
3329
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3290
3330
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3291
3331
 
3292
3332
  options.apply_defaults timeout: @config.rpcs.list_compilation_results.timeout,
@@ -3359,12 +3399,13 @@ module Google
3359
3399
  # Customize the options with defaults
3360
3400
  call_metadata = @config.rpcs.get_compilation_result.metadata.to_h
3361
3401
 
3362
- # Set x-goog-api-client and x-goog-user-project headers
3402
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3363
3403
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3364
3404
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3365
3405
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3366
3406
  transports_version_send: [:rest]
3367
3407
 
3408
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3368
3409
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3369
3410
 
3370
3411
  options.apply_defaults timeout: @config.rpcs.get_compilation_result.timeout,
@@ -3440,12 +3481,13 @@ module Google
3440
3481
  # Customize the options with defaults
3441
3482
  call_metadata = @config.rpcs.create_compilation_result.metadata.to_h
3442
3483
 
3443
- # Set x-goog-api-client and x-goog-user-project headers
3484
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3444
3485
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3445
3486
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3446
3487
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3447
3488
  transports_version_send: [:rest]
3448
3489
 
3490
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3449
3491
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3450
3492
 
3451
3493
  options.apply_defaults timeout: @config.rpcs.create_compilation_result.timeout,
@@ -3537,12 +3579,13 @@ module Google
3537
3579
  # Customize the options with defaults
3538
3580
  call_metadata = @config.rpcs.query_compilation_result_actions.metadata.to_h
3539
3581
 
3540
- # Set x-goog-api-client and x-goog-user-project headers
3582
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3541
3583
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3542
3584
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3543
3585
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3544
3586
  transports_version_send: [:rest]
3545
3587
 
3588
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3546
3589
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3547
3590
 
3548
3591
  options.apply_defaults timeout: @config.rpcs.query_compilation_result_actions.timeout,
@@ -3631,12 +3674,13 @@ module Google
3631
3674
  # Customize the options with defaults
3632
3675
  call_metadata = @config.rpcs.list_workflow_configs.metadata.to_h
3633
3676
 
3634
- # Set x-goog-api-client and x-goog-user-project headers
3677
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3635
3678
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3636
3679
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3637
3680
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3638
3681
  transports_version_send: [:rest]
3639
3682
 
3683
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3640
3684
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3641
3685
 
3642
3686
  options.apply_defaults timeout: @config.rpcs.list_workflow_configs.timeout,
@@ -3709,12 +3753,13 @@ module Google
3709
3753
  # Customize the options with defaults
3710
3754
  call_metadata = @config.rpcs.get_workflow_config.metadata.to_h
3711
3755
 
3712
- # Set x-goog-api-client and x-goog-user-project headers
3756
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3713
3757
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3714
3758
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3715
3759
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3716
3760
  transports_version_send: [:rest]
3717
3761
 
3762
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3718
3763
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3719
3764
 
3720
3765
  options.apply_defaults timeout: @config.rpcs.get_workflow_config.timeout,
@@ -3793,12 +3838,13 @@ module Google
3793
3838
  # Customize the options with defaults
3794
3839
  call_metadata = @config.rpcs.create_workflow_config.metadata.to_h
3795
3840
 
3796
- # Set x-goog-api-client and x-goog-user-project headers
3841
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3797
3842
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3798
3843
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3799
3844
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3800
3845
  transports_version_send: [:rest]
3801
3846
 
3847
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3802
3848
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3803
3849
 
3804
3850
  options.apply_defaults timeout: @config.rpcs.create_workflow_config.timeout,
@@ -3874,12 +3920,13 @@ module Google
3874
3920
  # Customize the options with defaults
3875
3921
  call_metadata = @config.rpcs.update_workflow_config.metadata.to_h
3876
3922
 
3877
- # Set x-goog-api-client and x-goog-user-project headers
3923
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3878
3924
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3879
3925
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3880
3926
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3881
3927
  transports_version_send: [:rest]
3882
3928
 
3929
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3883
3930
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3884
3931
 
3885
3932
  options.apply_defaults timeout: @config.rpcs.update_workflow_config.timeout,
@@ -3952,12 +3999,13 @@ module Google
3952
3999
  # Customize the options with defaults
3953
4000
  call_metadata = @config.rpcs.delete_workflow_config.metadata.to_h
3954
4001
 
3955
- # Set x-goog-api-client and x-goog-user-project headers
4002
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3956
4003
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3957
4004
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3958
4005
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
3959
4006
  transports_version_send: [:rest]
3960
4007
 
4008
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3961
4009
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3962
4010
 
3963
4011
  options.apply_defaults timeout: @config.rpcs.delete_workflow_config.timeout,
@@ -4051,12 +4099,13 @@ module Google
4051
4099
  # Customize the options with defaults
4052
4100
  call_metadata = @config.rpcs.list_workflow_invocations.metadata.to_h
4053
4101
 
4054
- # Set x-goog-api-client and x-goog-user-project headers
4102
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4055
4103
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4056
4104
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4057
4105
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4058
4106
  transports_version_send: [:rest]
4059
4107
 
4108
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4060
4109
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4061
4110
 
4062
4111
  options.apply_defaults timeout: @config.rpcs.list_workflow_invocations.timeout,
@@ -4129,12 +4178,13 @@ module Google
4129
4178
  # Customize the options with defaults
4130
4179
  call_metadata = @config.rpcs.get_workflow_invocation.metadata.to_h
4131
4180
 
4132
- # Set x-goog-api-client and x-goog-user-project headers
4181
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4133
4182
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4134
4183
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4135
4184
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4136
4185
  transports_version_send: [:rest]
4137
4186
 
4187
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4138
4188
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4139
4189
 
4140
4190
  options.apply_defaults timeout: @config.rpcs.get_workflow_invocation.timeout,
@@ -4210,12 +4260,13 @@ module Google
4210
4260
  # Customize the options with defaults
4211
4261
  call_metadata = @config.rpcs.create_workflow_invocation.metadata.to_h
4212
4262
 
4213
- # Set x-goog-api-client and x-goog-user-project headers
4263
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4214
4264
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4215
4265
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4216
4266
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4217
4267
  transports_version_send: [:rest]
4218
4268
 
4269
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4219
4270
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4220
4271
 
4221
4272
  options.apply_defaults timeout: @config.rpcs.create_workflow_invocation.timeout,
@@ -4288,12 +4339,13 @@ module Google
4288
4339
  # Customize the options with defaults
4289
4340
  call_metadata = @config.rpcs.delete_workflow_invocation.metadata.to_h
4290
4341
 
4291
- # Set x-goog-api-client and x-goog-user-project headers
4342
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4292
4343
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4293
4344
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4294
4345
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4295
4346
  transports_version_send: [:rest]
4296
4347
 
4348
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4297
4349
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4298
4350
 
4299
4351
  options.apply_defaults timeout: @config.rpcs.delete_workflow_invocation.timeout,
@@ -4366,12 +4418,13 @@ module Google
4366
4418
  # Customize the options with defaults
4367
4419
  call_metadata = @config.rpcs.cancel_workflow_invocation.metadata.to_h
4368
4420
 
4369
- # Set x-goog-api-client and x-goog-user-project headers
4421
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4370
4422
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4371
4423
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4372
4424
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4373
4425
  transports_version_send: [:rest]
4374
4426
 
4427
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4375
4428
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4376
4429
 
4377
4430
  options.apply_defaults timeout: @config.rpcs.cancel_workflow_invocation.timeout,
@@ -4460,12 +4513,13 @@ module Google
4460
4513
  # Customize the options with defaults
4461
4514
  call_metadata = @config.rpcs.query_workflow_invocation_actions.metadata.to_h
4462
4515
 
4463
- # Set x-goog-api-client and x-goog-user-project headers
4516
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
4464
4517
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
4465
4518
  lib_name: @config.lib_name, lib_version: @config.lib_version,
4466
4519
  gapic_version: ::Google::Cloud::Dataform::V1beta1::VERSION,
4467
4520
  transports_version_send: [:rest]
4468
4521
 
4522
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
4469
4523
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
4470
4524
 
4471
4525
  options.apply_defaults timeout: @config.rpcs.query_workflow_invocation_actions.timeout,