google-cloud-data_catalog-v1beta1 0.4.0 → 0.5.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: ea67b2b89f4a73b30116d90610357a6ef5811aef5a2f02d8442dd17b0a2ec23c
4
- data.tar.gz: 35a1b803ed91af8922532195415acb7eb02cb5aa63aaac00ae999ff08b3de905
3
+ metadata.gz: 46ee7992db1983c1abc755ec6d0f6d475303e7c9710ac653dbb04bf00a4374d7
4
+ data.tar.gz: 92f3ca5d4e094bca7d63ae509894577bbe0e5e8b6fb3a0cf2858f3e3fbb0d3ea
5
5
  SHA512:
6
- metadata.gz: 374298c7f494daa6d74bc54f2e08f6cc87d7a6663541518b0512102cb6a9c1f69edd3d8d7365d444a38f193083cb5de4ba1fdf7609b00593d338c6311832b2f3
7
- data.tar.gz: 4a143987c941b1a8d4fe0f7f857352c04aed062169cc6412b84d7a5ad0efc36b86909010f8538541d1926a48c1aae9ab3a82bea2a7374f95c0b1ce73726c61a4
6
+ metadata.gz: 7b204f99f9c8ad18212cdd4aca8fb5d372f562104c756cee311ad051e026d34180156483e5b38c95bf70adc1fd7f541f103d4130956bcc93c8c5b8f45881dbab
7
+ data.tar.gz: c1bcee93090db3bccf164dcfecec62fb376d27eb560a2eb205ed35150784cac7977b93434321c3b040af483ff42d6a7616743b8e69dce2f73492aca0d1089364
@@ -32,6 +32,9 @@ module Google
32
32
  # their data.
33
33
  #
34
34
  class Client
35
+ # @private
36
+ API_VERSION = ""
37
+
35
38
  # @private
36
39
  DEFAULT_ENDPOINT_TEMPLATE = "datacatalog.$UNIVERSE_DOMAIN$"
37
40
 
@@ -291,10 +294,11 @@ module Google
291
294
  # Customize the options with defaults
292
295
  metadata = @config.rpcs.search_catalog.metadata.to_h
293
296
 
294
- # Set x-goog-api-client and x-goog-user-project headers
297
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
295
298
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
296
299
  lib_name: @config.lib_name, lib_version: @config.lib_version,
297
300
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
301
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
298
302
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
299
303
 
300
304
  options.apply_defaults timeout: @config.rpcs.search_catalog.timeout,
@@ -386,10 +390,11 @@ module Google
386
390
  # Customize the options with defaults
387
391
  metadata = @config.rpcs.create_entry_group.metadata.to_h
388
392
 
389
- # Set x-goog-api-client and x-goog-user-project headers
393
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
390
394
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
391
395
  lib_name: @config.lib_name, lib_version: @config.lib_version,
392
396
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
397
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
393
398
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
394
399
 
395
400
  header_params = {}
@@ -481,10 +486,11 @@ module Google
481
486
  # Customize the options with defaults
482
487
  metadata = @config.rpcs.update_entry_group.metadata.to_h
483
488
 
484
- # Set x-goog-api-client and x-goog-user-project headers
489
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
485
490
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
486
491
  lib_name: @config.lib_name, lib_version: @config.lib_version,
487
492
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
493
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
488
494
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
489
495
 
490
496
  header_params = {}
@@ -569,10 +575,11 @@ module Google
569
575
  # Customize the options with defaults
570
576
  metadata = @config.rpcs.get_entry_group.metadata.to_h
571
577
 
572
- # Set x-goog-api-client and x-goog-user-project headers
578
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
573
579
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
574
580
  lib_name: @config.lib_name, lib_version: @config.lib_version,
575
581
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
582
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
576
583
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
577
584
 
578
585
  header_params = {}
@@ -661,10 +668,11 @@ module Google
661
668
  # Customize the options with defaults
662
669
  metadata = @config.rpcs.delete_entry_group.metadata.to_h
663
670
 
664
- # Set x-goog-api-client and x-goog-user-project headers
671
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
665
672
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
666
673
  lib_name: @config.lib_name, lib_version: @config.lib_version,
667
674
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
675
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
668
676
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
669
677
 
670
678
  header_params = {}
@@ -759,10 +767,11 @@ module Google
759
767
  # Customize the options with defaults
760
768
  metadata = @config.rpcs.list_entry_groups.metadata.to_h
761
769
 
762
- # 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
763
771
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
764
772
  lib_name: @config.lib_name, lib_version: @config.lib_version,
765
773
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
774
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
766
775
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
767
776
 
768
777
  header_params = {}
@@ -862,10 +871,11 @@ module Google
862
871
  # Customize the options with defaults
863
872
  metadata = @config.rpcs.create_entry.metadata.to_h
864
873
 
865
- # Set x-goog-api-client and x-goog-user-project headers
874
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
866
875
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
867
876
  lib_name: @config.lib_name, lib_version: @config.lib_version,
868
877
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
878
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
869
879
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
870
880
 
871
881
  header_params = {}
@@ -976,10 +986,11 @@ module Google
976
986
  # Customize the options with defaults
977
987
  metadata = @config.rpcs.update_entry.metadata.to_h
978
988
 
979
- # Set x-goog-api-client and x-goog-user-project headers
989
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
980
990
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
981
991
  lib_name: @config.lib_name, lib_version: @config.lib_version,
982
992
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
993
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
983
994
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
984
995
 
985
996
  header_params = {}
@@ -1069,10 +1080,11 @@ module Google
1069
1080
  # Customize the options with defaults
1070
1081
  metadata = @config.rpcs.delete_entry.metadata.to_h
1071
1082
 
1072
- # Set x-goog-api-client and x-goog-user-project headers
1083
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1073
1084
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1074
1085
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1075
1086
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1087
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1076
1088
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1077
1089
 
1078
1090
  header_params = {}
@@ -1156,10 +1168,11 @@ module Google
1156
1168
  # Customize the options with defaults
1157
1169
  metadata = @config.rpcs.get_entry.metadata.to_h
1158
1170
 
1159
- # Set x-goog-api-client and x-goog-user-project headers
1171
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1160
1172
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1161
1173
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1162
1174
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1175
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1163
1176
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1164
1177
 
1165
1178
  header_params = {}
@@ -1264,10 +1277,11 @@ module Google
1264
1277
  # Customize the options with defaults
1265
1278
  metadata = @config.rpcs.lookup_entry.metadata.to_h
1266
1279
 
1267
- # Set x-goog-api-client and x-goog-user-project headers
1280
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1268
1281
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1269
1282
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1270
1283
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1284
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1271
1285
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1272
1286
 
1273
1287
  options.apply_defaults timeout: @config.rpcs.lookup_entry.timeout,
@@ -1359,10 +1373,11 @@ module Google
1359
1373
  # Customize the options with defaults
1360
1374
  metadata = @config.rpcs.list_entries.metadata.to_h
1361
1375
 
1362
- # Set x-goog-api-client and x-goog-user-project headers
1376
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1363
1377
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1364
1378
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1365
1379
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1380
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1366
1381
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1367
1382
 
1368
1383
  header_params = {}
@@ -1458,10 +1473,11 @@ module Google
1458
1473
  # Customize the options with defaults
1459
1474
  metadata = @config.rpcs.create_tag_template.metadata.to_h
1460
1475
 
1461
- # Set x-goog-api-client and x-goog-user-project headers
1476
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1462
1477
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1463
1478
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1464
1479
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1480
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1465
1481
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1466
1482
 
1467
1483
  header_params = {}
@@ -1545,10 +1561,11 @@ module Google
1545
1561
  # Customize the options with defaults
1546
1562
  metadata = @config.rpcs.get_tag_template.metadata.to_h
1547
1563
 
1548
- # Set x-goog-api-client and x-goog-user-project headers
1564
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1549
1565
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1550
1566
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1551
1567
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1568
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1552
1569
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1553
1570
 
1554
1571
  header_params = {}
@@ -1643,10 +1660,11 @@ module Google
1643
1660
  # Customize the options with defaults
1644
1661
  metadata = @config.rpcs.update_tag_template.metadata.to_h
1645
1662
 
1646
- # Set x-goog-api-client and x-goog-user-project headers
1663
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1647
1664
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1648
1665
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1649
1666
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1667
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1650
1668
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1651
1669
 
1652
1670
  header_params = {}
@@ -1738,10 +1756,11 @@ module Google
1738
1756
  # Customize the options with defaults
1739
1757
  metadata = @config.rpcs.delete_tag_template.metadata.to_h
1740
1758
 
1741
- # Set x-goog-api-client and x-goog-user-project headers
1759
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1742
1760
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1743
1761
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1744
1762
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1763
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1745
1764
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1746
1765
 
1747
1766
  header_params = {}
@@ -1840,10 +1859,11 @@ module Google
1840
1859
  # Customize the options with defaults
1841
1860
  metadata = @config.rpcs.create_tag_template_field.metadata.to_h
1842
1861
 
1843
- # Set x-goog-api-client and x-goog-user-project headers
1862
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1844
1863
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1845
1864
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1846
1865
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1866
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1847
1867
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1848
1868
 
1849
1869
  header_params = {}
@@ -1950,10 +1970,11 @@ module Google
1950
1970
  # Customize the options with defaults
1951
1971
  metadata = @config.rpcs.update_tag_template_field.metadata.to_h
1952
1972
 
1953
- # Set x-goog-api-client and x-goog-user-project headers
1973
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1954
1974
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1955
1975
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1956
1976
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
1977
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1957
1978
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1958
1979
 
1959
1980
  header_params = {}
@@ -2044,10 +2065,11 @@ module Google
2044
2065
  # Customize the options with defaults
2045
2066
  metadata = @config.rpcs.rename_tag_template_field.metadata.to_h
2046
2067
 
2047
- # Set x-goog-api-client and x-goog-user-project headers
2068
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2048
2069
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2049
2070
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2050
2071
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2072
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2051
2073
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2052
2074
 
2053
2075
  header_params = {}
@@ -2136,10 +2158,11 @@ module Google
2136
2158
  # Customize the options with defaults
2137
2159
  metadata = @config.rpcs.rename_tag_template_field_enum_value.metadata.to_h
2138
2160
 
2139
- # Set x-goog-api-client and x-goog-user-project headers
2161
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2140
2162
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2141
2163
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2142
2164
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2165
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2143
2166
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2144
2167
 
2145
2168
  header_params = {}
@@ -2231,10 +2254,11 @@ module Google
2231
2254
  # Customize the options with defaults
2232
2255
  metadata = @config.rpcs.delete_tag_template_field.metadata.to_h
2233
2256
 
2234
- # Set x-goog-api-client and x-goog-user-project headers
2257
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2235
2258
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2236
2259
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2237
2260
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2261
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2238
2262
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2239
2263
 
2240
2264
  header_params = {}
@@ -2330,10 +2354,11 @@ module Google
2330
2354
  # Customize the options with defaults
2331
2355
  metadata = @config.rpcs.create_tag.metadata.to_h
2332
2356
 
2333
- # Set x-goog-api-client and x-goog-user-project headers
2357
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2334
2358
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2335
2359
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2336
2360
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2361
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2337
2362
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2338
2363
 
2339
2364
  header_params = {}
@@ -2424,10 +2449,11 @@ module Google
2424
2449
  # Customize the options with defaults
2425
2450
  metadata = @config.rpcs.update_tag.metadata.to_h
2426
2451
 
2427
- # Set x-goog-api-client and x-goog-user-project headers
2452
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2428
2453
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2429
2454
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2430
2455
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2456
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2431
2457
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2432
2458
 
2433
2459
  header_params = {}
@@ -2511,10 +2537,11 @@ module Google
2511
2537
  # Customize the options with defaults
2512
2538
  metadata = @config.rpcs.delete_tag.metadata.to_h
2513
2539
 
2514
- # Set x-goog-api-client and x-goog-user-project headers
2540
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2515
2541
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2516
2542
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2517
2543
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2544
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2518
2545
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2519
2546
 
2520
2547
  header_params = {}
@@ -2614,10 +2641,11 @@ module Google
2614
2641
  # Customize the options with defaults
2615
2642
  metadata = @config.rpcs.list_tags.metadata.to_h
2616
2643
 
2617
- # Set x-goog-api-client and x-goog-user-project headers
2644
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2618
2645
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2619
2646
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2620
2647
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2648
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2621
2649
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2622
2650
 
2623
2651
  header_params = {}
@@ -2725,10 +2753,11 @@ module Google
2725
2753
  # Customize the options with defaults
2726
2754
  metadata = @config.rpcs.set_iam_policy.metadata.to_h
2727
2755
 
2728
- # Set x-goog-api-client and x-goog-user-project headers
2756
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2729
2757
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2730
2758
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2731
2759
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2760
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2732
2761
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2733
2762
 
2734
2763
  header_params = {}
@@ -2829,10 +2858,11 @@ module Google
2829
2858
  # Customize the options with defaults
2830
2859
  metadata = @config.rpcs.get_iam_policy.metadata.to_h
2831
2860
 
2832
- # Set x-goog-api-client and x-goog-user-project headers
2861
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2833
2862
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2834
2863
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2835
2864
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2865
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2836
2866
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2837
2867
 
2838
2868
  header_params = {}
@@ -2932,10 +2962,11 @@ module Google
2932
2962
  # Customize the options with defaults
2933
2963
  metadata = @config.rpcs.test_iam_permissions.metadata.to_h
2934
2964
 
2935
- # Set x-goog-api-client and x-goog-user-project headers
2965
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2936
2966
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2937
2967
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2938
2968
  gapic_version: ::Google::Cloud::DataCatalog::V1beta1::VERSION
2969
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2939
2970
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2940
2971
 
2941
2972
  header_params = {}