google-cloud-data_catalog-lineage-v1 0.7.0 → 0.7.1

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: 4b5d7f24bd661238dcd03d9feaa66734947bdbdc81ace8835b4b14e1d14fe96e
4
- data.tar.gz: b953d48733349807d0d81550bf1cc076852f41ea59fa30eb3a2e4d0db37c83e2
3
+ metadata.gz: c9730c11019e0ef4bbbebe1c6bc839b7fc722fff2bea147caf7fd2b45a6c59b6
4
+ data.tar.gz: e7b90791f74bc2c1daadcc008f4562cb14fd485ab4bdaf6e57944c2c897462a9
5
5
  SHA512:
6
- metadata.gz: f079a1d7f80f7c44d2b3a00511a54734b45f9621f8b6fcfead19b38d66abc1b02eb939f06865d10d18e0e2fb2ce1548130f7c005a1383282f74dbca93eebe7bb
7
- data.tar.gz: 022bd26cfa5aa5304d3fde8bacce997abd1f8d83ef3a22a4b634b86db3fd87a8a4c92268e313fb23ae17189419c01c28830f8b8e9f613bb08b4d3224a1a9f6b9
6
+ metadata.gz: b412210396f46b705beb5759bc6203c627009eae8874041f83c73e076ce3c1fd6558e16e832715c241c61aafeeca27328a4c2efa5aa7b955bb350745fbd1fcea
7
+ data.tar.gz: 98ac05bf1e79bab681004c774c221669e5af9ac64ed53b4de7b03ec75bd0a377ce31adba10d737685b260cbeb3ba47ea700d62e39e9f50a7e8ce87605b5a281b
@@ -34,6 +34,9 @@ module Google
34
34
  # example, when table data is based on data from multiple tables.
35
35
  #
36
36
  class Client
37
+ # @private
38
+ API_VERSION = ""
39
+
37
40
  # @private
38
41
  DEFAULT_ENDPOINT_TEMPLATE = "datalineage.$UNIVERSE_DOMAIN$"
39
42
 
@@ -249,10 +252,11 @@ module Google
249
252
  # Customize the options with defaults
250
253
  metadata = @config.rpcs.process_open_lineage_run_event.metadata.to_h
251
254
 
252
- # Set x-goog-api-client and x-goog-user-project headers
255
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
253
256
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
254
257
  lib_name: @config.lib_name, lib_version: @config.lib_version,
255
258
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
259
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
256
260
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
257
261
 
258
262
  header_params = {}
@@ -341,10 +345,11 @@ module Google
341
345
  # Customize the options with defaults
342
346
  metadata = @config.rpcs.create_process.metadata.to_h
343
347
 
344
- # Set x-goog-api-client and x-goog-user-project headers
348
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
345
349
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
346
350
  lib_name: @config.lib_name, lib_version: @config.lib_version,
347
351
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
352
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
348
353
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
349
354
 
350
355
  header_params = {}
@@ -433,10 +438,11 @@ module Google
433
438
  # Customize the options with defaults
434
439
  metadata = @config.rpcs.update_process.metadata.to_h
435
440
 
436
- # Set x-goog-api-client and x-goog-user-project headers
441
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
437
442
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
438
443
  lib_name: @config.lib_name, lib_version: @config.lib_version,
439
444
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
445
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
440
446
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
441
447
 
442
448
  header_params = {}
@@ -518,10 +524,11 @@ module Google
518
524
  # Customize the options with defaults
519
525
  metadata = @config.rpcs.get_process.metadata.to_h
520
526
 
521
- # Set x-goog-api-client and x-goog-user-project headers
527
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
522
528
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
523
529
  lib_name: @config.lib_name, lib_version: @config.lib_version,
524
530
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
531
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
525
532
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
526
533
 
527
534
  header_params = {}
@@ -620,10 +627,11 @@ module Google
620
627
  # Customize the options with defaults
621
628
  metadata = @config.rpcs.list_processes.metadata.to_h
622
629
 
623
- # Set x-goog-api-client and x-goog-user-project headers
630
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
624
631
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
625
632
  lib_name: @config.lib_name, lib_version: @config.lib_version,
626
633
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
634
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
627
635
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
628
636
 
629
637
  header_params = {}
@@ -716,10 +724,11 @@ module Google
716
724
  # Customize the options with defaults
717
725
  metadata = @config.rpcs.delete_process.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::DataCatalog::Lineage::V1::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 = {}
@@ -808,10 +817,11 @@ module Google
808
817
  # Customize the options with defaults
809
818
  metadata = @config.rpcs.create_run.metadata.to_h
810
819
 
811
- # Set x-goog-api-client and x-goog-user-project headers
820
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
812
821
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
813
822
  lib_name: @config.lib_name, lib_version: @config.lib_version,
814
823
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
824
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
815
825
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
816
826
 
817
827
  header_params = {}
@@ -903,10 +913,11 @@ module Google
903
913
  # Customize the options with defaults
904
914
  metadata = @config.rpcs.update_run.metadata.to_h
905
915
 
906
- # Set x-goog-api-client and x-goog-user-project headers
916
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
907
917
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
908
918
  lib_name: @config.lib_name, lib_version: @config.lib_version,
909
919
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
920
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
910
921
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
911
922
 
912
923
  header_params = {}
@@ -988,10 +999,11 @@ module Google
988
999
  # Customize the options with defaults
989
1000
  metadata = @config.rpcs.get_run.metadata.to_h
990
1001
 
991
- # Set x-goog-api-client and x-goog-user-project headers
1002
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
992
1003
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
993
1004
  lib_name: @config.lib_name, lib_version: @config.lib_version,
994
1005
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1006
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
995
1007
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
996
1008
 
997
1009
  header_params = {}
@@ -1089,10 +1101,11 @@ module Google
1089
1101
  # Customize the options with defaults
1090
1102
  metadata = @config.rpcs.list_runs.metadata.to_h
1091
1103
 
1092
- # Set x-goog-api-client and x-goog-user-project headers
1104
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1093
1105
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1094
1106
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1095
1107
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1108
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1096
1109
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1097
1110
 
1098
1111
  header_params = {}
@@ -1185,10 +1198,11 @@ module Google
1185
1198
  # Customize the options with defaults
1186
1199
  metadata = @config.rpcs.delete_run.metadata.to_h
1187
1200
 
1188
- # Set x-goog-api-client and x-goog-user-project headers
1201
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1189
1202
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1190
1203
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1191
1204
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1205
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1192
1206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1193
1207
 
1194
1208
  header_params = {}
@@ -1277,10 +1291,11 @@ module Google
1277
1291
  # Customize the options with defaults
1278
1292
  metadata = @config.rpcs.create_lineage_event.metadata.to_h
1279
1293
 
1280
- # Set x-goog-api-client and x-goog-user-project headers
1294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1281
1295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1282
1296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1283
1297
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1284
1299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1285
1300
 
1286
1301
  header_params = {}
@@ -1362,10 +1377,11 @@ module Google
1362
1377
  # Customize the options with defaults
1363
1378
  metadata = @config.rpcs.get_lineage_event.metadata.to_h
1364
1379
 
1365
- # Set x-goog-api-client and x-goog-user-project headers
1380
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1366
1381
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1367
1382
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1368
1383
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1384
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1369
1385
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1370
1386
 
1371
1387
  header_params = {}
@@ -1465,10 +1481,11 @@ module Google
1465
1481
  # Customize the options with defaults
1466
1482
  metadata = @config.rpcs.list_lineage_events.metadata.to_h
1467
1483
 
1468
- # Set x-goog-api-client and x-goog-user-project headers
1484
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1469
1485
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1470
1486
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1471
1487
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1488
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1472
1489
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1473
1490
 
1474
1491
  header_params = {}
@@ -1554,10 +1571,11 @@ module Google
1554
1571
  # Customize the options with defaults
1555
1572
  metadata = @config.rpcs.delete_lineage_event.metadata.to_h
1556
1573
 
1557
- # Set x-goog-api-client and x-goog-user-project headers
1574
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1558
1575
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1559
1576
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1560
1577
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1578
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1561
1579
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1562
1580
 
1563
1581
  header_params = {}
@@ -1670,10 +1688,11 @@ module Google
1670
1688
  # Customize the options with defaults
1671
1689
  metadata = @config.rpcs.search_links.metadata.to_h
1672
1690
 
1673
- # Set x-goog-api-client and x-goog-user-project headers
1691
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1674
1692
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1675
1693
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1676
1694
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1695
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1677
1696
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1678
1697
 
1679
1698
  header_params = {}
@@ -1791,10 +1810,11 @@ module Google
1791
1810
  # Customize the options with defaults
1792
1811
  metadata = @config.rpcs.batch_search_link_processes.metadata.to_h
1793
1812
 
1794
- # Set x-goog-api-client and x-goog-user-project headers
1813
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1795
1814
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1796
1815
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1797
1816
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
1817
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1798
1818
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1799
1819
 
1800
1820
  header_params = {}
@@ -27,6 +27,9 @@ module Google
27
27
  module Lineage
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "datalineage.$UNIVERSE_DOMAIN$"
32
35
 
@@ -192,10 +195,11 @@ module Google
192
195
  # Customize the options with defaults
193
196
  metadata = @config.rpcs.list_operations.metadata.to_h
194
197
 
195
- # Set x-goog-api-client and x-goog-user-project headers
198
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
196
199
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
197
200
  lib_name: @config.lib_name, lib_version: @config.lib_version,
198
201
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
202
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
199
203
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
200
204
 
201
205
  header_params = {}
@@ -288,10 +292,11 @@ module Google
288
292
  # Customize the options with defaults
289
293
  metadata = @config.rpcs.get_operation.metadata.to_h
290
294
 
291
- # Set x-goog-api-client and x-goog-user-project headers
295
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
292
296
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
293
297
  lib_name: @config.lib_name, lib_version: @config.lib_version,
294
298
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
299
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
295
300
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
296
301
 
297
302
  header_params = {}
@@ -377,10 +382,11 @@ module Google
377
382
  # Customize the options with defaults
378
383
  metadata = @config.rpcs.delete_operation.metadata.to_h
379
384
 
380
- # Set x-goog-api-client and x-goog-user-project headers
385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
381
386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
382
387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
383
388
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
384
390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
385
391
 
386
392
  header_params = {}
@@ -471,10 +477,11 @@ module Google
471
477
  # Customize the options with defaults
472
478
  metadata = @config.rpcs.cancel_operation.metadata.to_h
473
479
 
474
- # Set x-goog-api-client and x-goog-user-project headers
480
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
475
481
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
476
482
  lib_name: @config.lib_name, lib_version: @config.lib_version,
477
483
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
484
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
478
485
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
479
486
 
480
487
  header_params = {}
@@ -575,10 +582,11 @@ module Google
575
582
  # Customize the options with defaults
576
583
  metadata = @config.rpcs.wait_operation.metadata.to_h
577
584
 
578
- # Set x-goog-api-client and x-goog-user-project headers
585
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
579
586
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
580
587
  lib_name: @config.lib_name, lib_version: @config.lib_version,
581
588
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION
589
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
582
590
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
583
591
 
584
592
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -36,6 +36,9 @@ module Google
36
36
  # example, when table data is based on data from multiple tables.
37
37
  #
38
38
  class Client
39
+ # @private
40
+ API_VERSION = ""
41
+
39
42
  # @private
40
43
  DEFAULT_ENDPOINT_TEMPLATE = "datalineage.$UNIVERSE_DOMAIN$"
41
44
 
@@ -241,12 +244,13 @@ module Google
241
244
  # Customize the options with defaults
242
245
  call_metadata = @config.rpcs.process_open_lineage_run_event.metadata.to_h
243
246
 
244
- # Set x-goog-api-client and x-goog-user-project headers
247
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
245
248
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
246
249
  lib_name: @config.lib_name, lib_version: @config.lib_version,
247
250
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
248
251
  transports_version_send: [:rest]
249
252
 
253
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
250
254
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
251
255
 
252
256
  options.apply_defaults timeout: @config.rpcs.process_open_lineage_run_event.timeout,
@@ -326,12 +330,13 @@ module Google
326
330
  # Customize the options with defaults
327
331
  call_metadata = @config.rpcs.create_process.metadata.to_h
328
332
 
329
- # Set x-goog-api-client and x-goog-user-project headers
333
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
330
334
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
331
335
  lib_name: @config.lib_name, lib_version: @config.lib_version,
332
336
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
333
337
  transports_version_send: [:rest]
334
338
 
339
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
335
340
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
336
341
 
337
342
  options.apply_defaults timeout: @config.rpcs.create_process.timeout,
@@ -411,12 +416,13 @@ module Google
411
416
  # Customize the options with defaults
412
417
  call_metadata = @config.rpcs.update_process.metadata.to_h
413
418
 
414
- # Set x-goog-api-client and x-goog-user-project headers
419
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
415
420
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
416
421
  lib_name: @config.lib_name, lib_version: @config.lib_version,
417
422
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
418
423
  transports_version_send: [:rest]
419
424
 
425
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
420
426
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
421
427
 
422
428
  options.apply_defaults timeout: @config.rpcs.update_process.timeout,
@@ -489,12 +495,13 @@ module Google
489
495
  # Customize the options with defaults
490
496
  call_metadata = @config.rpcs.get_process.metadata.to_h
491
497
 
492
- # Set x-goog-api-client and x-goog-user-project headers
498
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
493
499
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
494
500
  lib_name: @config.lib_name, lib_version: @config.lib_version,
495
501
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
496
502
  transports_version_send: [:rest]
497
503
 
504
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
498
505
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
499
506
 
500
507
  options.apply_defaults timeout: @config.rpcs.get_process.timeout,
@@ -584,12 +591,13 @@ module Google
584
591
  # Customize the options with defaults
585
592
  call_metadata = @config.rpcs.list_processes.metadata.to_h
586
593
 
587
- # Set x-goog-api-client and x-goog-user-project headers
594
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
588
595
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
589
596
  lib_name: @config.lib_name, lib_version: @config.lib_version,
590
597
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
591
598
  transports_version_send: [:rest]
592
599
 
600
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
593
601
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
594
602
 
595
603
  options.apply_defaults timeout: @config.rpcs.list_processes.timeout,
@@ -673,12 +681,13 @@ module Google
673
681
  # Customize the options with defaults
674
682
  call_metadata = @config.rpcs.delete_process.metadata.to_h
675
683
 
676
- # Set x-goog-api-client and x-goog-user-project headers
684
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
677
685
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
678
686
  lib_name: @config.lib_name, lib_version: @config.lib_version,
679
687
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
680
688
  transports_version_send: [:rest]
681
689
 
690
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
682
691
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
683
692
 
684
693
  options.apply_defaults timeout: @config.rpcs.delete_process.timeout,
@@ -758,12 +767,13 @@ module Google
758
767
  # Customize the options with defaults
759
768
  call_metadata = @config.rpcs.create_run.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::DataCatalog::Lineage::V1::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.create_run.timeout,
@@ -846,12 +856,13 @@ module Google
846
856
  # Customize the options with defaults
847
857
  call_metadata = @config.rpcs.update_run.metadata.to_h
848
858
 
849
- # Set x-goog-api-client and x-goog-user-project headers
859
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
850
860
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
851
861
  lib_name: @config.lib_name, lib_version: @config.lib_version,
852
862
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
853
863
  transports_version_send: [:rest]
854
864
 
865
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
855
866
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
856
867
 
857
868
  options.apply_defaults timeout: @config.rpcs.update_run.timeout,
@@ -924,12 +935,13 @@ module Google
924
935
  # Customize the options with defaults
925
936
  call_metadata = @config.rpcs.get_run.metadata.to_h
926
937
 
927
- # Set x-goog-api-client and x-goog-user-project headers
938
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
928
939
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
929
940
  lib_name: @config.lib_name, lib_version: @config.lib_version,
930
941
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
931
942
  transports_version_send: [:rest]
932
943
 
944
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
933
945
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
934
946
 
935
947
  options.apply_defaults timeout: @config.rpcs.get_run.timeout,
@@ -1018,12 +1030,13 @@ module Google
1018
1030
  # Customize the options with defaults
1019
1031
  call_metadata = @config.rpcs.list_runs.metadata.to_h
1020
1032
 
1021
- # Set x-goog-api-client and x-goog-user-project headers
1033
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1022
1034
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1023
1035
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1024
1036
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1025
1037
  transports_version_send: [:rest]
1026
1038
 
1039
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1027
1040
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1028
1041
 
1029
1042
  options.apply_defaults timeout: @config.rpcs.list_runs.timeout,
@@ -1107,12 +1120,13 @@ module Google
1107
1120
  # Customize the options with defaults
1108
1121
  call_metadata = @config.rpcs.delete_run.metadata.to_h
1109
1122
 
1110
- # Set x-goog-api-client and x-goog-user-project headers
1123
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1111
1124
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1112
1125
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1113
1126
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1114
1127
  transports_version_send: [:rest]
1115
1128
 
1129
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1116
1130
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1117
1131
 
1118
1132
  options.apply_defaults timeout: @config.rpcs.delete_run.timeout,
@@ -1192,12 +1206,13 @@ module Google
1192
1206
  # Customize the options with defaults
1193
1207
  call_metadata = @config.rpcs.create_lineage_event.metadata.to_h
1194
1208
 
1195
- # Set x-goog-api-client and x-goog-user-project headers
1209
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1196
1210
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1197
1211
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1198
1212
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1199
1213
  transports_version_send: [:rest]
1200
1214
 
1215
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1201
1216
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1202
1217
 
1203
1218
  options.apply_defaults timeout: @config.rpcs.create_lineage_event.timeout,
@@ -1270,12 +1285,13 @@ module Google
1270
1285
  # Customize the options with defaults
1271
1286
  call_metadata = @config.rpcs.get_lineage_event.metadata.to_h
1272
1287
 
1273
- # Set x-goog-api-client and x-goog-user-project headers
1288
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1274
1289
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1275
1290
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1276
1291
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1277
1292
  transports_version_send: [:rest]
1278
1293
 
1294
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1279
1295
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1280
1296
 
1281
1297
  options.apply_defaults timeout: @config.rpcs.get_lineage_event.timeout,
@@ -1366,12 +1382,13 @@ module Google
1366
1382
  # Customize the options with defaults
1367
1383
  call_metadata = @config.rpcs.list_lineage_events.metadata.to_h
1368
1384
 
1369
- # Set x-goog-api-client and x-goog-user-project headers
1385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1370
1386
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1371
1387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1372
1388
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1373
1389
  transports_version_send: [:rest]
1374
1390
 
1391
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1375
1392
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1376
1393
 
1377
1394
  options.apply_defaults timeout: @config.rpcs.list_lineage_events.timeout,
@@ -1448,12 +1465,13 @@ module Google
1448
1465
  # Customize the options with defaults
1449
1466
  call_metadata = @config.rpcs.delete_lineage_event.metadata.to_h
1450
1467
 
1451
- # Set x-goog-api-client and x-goog-user-project headers
1468
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1452
1469
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1453
1470
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1454
1471
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1455
1472
  transports_version_send: [:rest]
1456
1473
 
1474
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1457
1475
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1458
1476
 
1459
1477
  options.apply_defaults timeout: @config.rpcs.delete_lineage_event.timeout,
@@ -1557,12 +1575,13 @@ module Google
1557
1575
  # Customize the options with defaults
1558
1576
  call_metadata = @config.rpcs.search_links.metadata.to_h
1559
1577
 
1560
- # Set x-goog-api-client and x-goog-user-project headers
1578
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1561
1579
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1562
1580
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1563
1581
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1564
1582
  transports_version_send: [:rest]
1565
1583
 
1584
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1566
1585
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1567
1586
 
1568
1587
  options.apply_defaults timeout: @config.rpcs.search_links.timeout,
@@ -1671,12 +1690,13 @@ module Google
1671
1690
  # Customize the options with defaults
1672
1691
  call_metadata = @config.rpcs.batch_search_link_processes.metadata.to_h
1673
1692
 
1674
- # Set x-goog-api-client and x-goog-user-project headers
1693
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1675
1694
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1676
1695
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1677
1696
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
1678
1697
  transports_version_send: [:rest]
1679
1698
 
1699
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1680
1700
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1681
1701
 
1682
1702
  options.apply_defaults timeout: @config.rpcs.batch_search_link_processes.timeout,
@@ -27,6 +27,9 @@ module Google
27
27
  module Rest
28
28
  # Service that implements Longrunning Operations API.
29
29
  class Operations
30
+ # @private
31
+ API_VERSION = ""
32
+
30
33
  # @private
31
34
  DEFAULT_ENDPOINT_TEMPLATE = "datalineage.$UNIVERSE_DOMAIN$"
32
35
 
@@ -182,12 +185,13 @@ module Google
182
185
  # Customize the options with defaults
183
186
  call_metadata = @config.rpcs.list_operations.metadata.to_h
184
187
 
185
- # Set x-goog-api-client and x-goog-user-project headers
188
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
186
189
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
187
190
  lib_name: @config.lib_name, lib_version: @config.lib_version,
188
191
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
189
192
  transports_version_send: [:rest]
190
193
 
194
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
191
195
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
192
196
 
193
197
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -270,12 +274,13 @@ module Google
270
274
  # Customize the options with defaults
271
275
  call_metadata = @config.rpcs.get_operation.metadata.to_h
272
276
 
273
- # Set x-goog-api-client and x-goog-user-project headers
277
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
274
278
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
275
279
  lib_name: @config.lib_name, lib_version: @config.lib_version,
276
280
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
277
281
  transports_version_send: [:rest]
278
282
 
283
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
279
284
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
280
285
 
281
286
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -352,12 +357,13 @@ module Google
352
357
  # Customize the options with defaults
353
358
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
354
359
 
355
- # 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
356
361
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
357
362
  lib_name: @config.lib_name, lib_version: @config.lib_version,
358
363
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
359
364
  transports_version_send: [:rest]
360
365
 
366
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
361
367
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
362
368
 
363
369
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -439,12 +445,13 @@ module Google
439
445
  # Customize the options with defaults
440
446
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
441
447
 
442
- # Set x-goog-api-client and x-goog-user-project headers
448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
443
449
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
444
450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
445
451
  gapic_version: ::Google::Cloud::DataCatalog::Lineage::V1::VERSION,
446
452
  transports_version_send: [:rest]
447
453
 
454
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
448
455
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
449
456
 
450
457
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -22,7 +22,7 @@ module Google
22
22
  module DataCatalog
23
23
  module Lineage
24
24
  module V1
25
- VERSION = "0.7.0"
25
+ VERSION = "0.7.1"
26
26
  end
27
27
  end
28
28
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -192,9 +196,26 @@ module Google
192
196
  # @!attribute [rw] common
193
197
  # @return [::Google::Api::CommonLanguageSettings]
194
198
  # Some settings.
199
+ # @!attribute [rw] experimental_features
200
+ # @return [::Google::Api::PythonSettings::ExperimentalFeatures]
201
+ # Experimental features to be included during client library generation.
195
202
  class PythonSettings
196
203
  include ::Google::Protobuf::MessageExts
197
204
  extend ::Google::Protobuf::MessageExts::ClassMethods
205
+
206
+ # Experimental features to be included during client library generation.
207
+ # These fields will be deprecated once the feature graduates and is enabled
208
+ # by default.
209
+ # @!attribute [rw] rest_async_io_enabled
210
+ # @return [::Boolean]
211
+ # Enables generation of asynchronous REST clients if `rest` transport is
212
+ # enabled. By default, asynchronous REST clients will not be generated.
213
+ # This feature will be enabled by default 1 month after launching the
214
+ # feature in preview packages.
215
+ class ExperimentalFeatures
216
+ include ::Google::Protobuf::MessageExts
217
+ extend ::Google::Protobuf::MessageExts::ClassMethods
218
+ end
198
219
  end
199
220
 
200
221
  # Settings for Node client libraries.
@@ -286,6 +307,13 @@ module Google
286
307
  # @return [::String]
287
308
  # The fully qualified name of the method, for which the options below apply.
288
309
  # This is used to find the method to apply the options.
310
+ #
311
+ # Example:
312
+ #
313
+ # publishing:
314
+ # method_settings:
315
+ # - selector: google.storage.control.v2.StorageControl.CreateFolder
316
+ # # method settings for CreateFolder...
289
317
  # @!attribute [rw] long_running
290
318
  # @return [::Google::Api::MethodSettings::LongRunning]
291
319
  # Describes settings to use for long-running operations when generating
@@ -294,17 +322,14 @@ module Google
294
322
  #
295
323
  # Example of a YAML configuration::
296
324
  #
297
- # publishing:
298
- # method_settings:
325
+ # publishing:
326
+ # method_settings:
299
327
  # - selector: google.cloud.speech.v2.Speech.BatchRecognize
300
328
  # long_running:
301
- # initial_poll_delay:
302
- # seconds: 60 # 1 minute
329
+ # initial_poll_delay: 60s # 1 minute
303
330
  # poll_delay_multiplier: 1.5
304
- # max_poll_delay:
305
- # seconds: 360 # 6 minutes
306
- # total_poll_timeout:
307
- # seconds: 54000 # 90 minutes
331
+ # max_poll_delay: 360s # 6 minutes
332
+ # total_poll_timeout: 54000s # 90 minutes
308
333
  # @!attribute [rw] auto_populated_fields
309
334
  # @return [::Array<::String>]
310
335
  # List of top-level fields of the request message, that should be
@@ -313,8 +338,8 @@ module Google
313
338
  #
314
339
  # Example of a YAML configuration:
315
340
  #
316
- # publishing:
317
- # method_settings:
341
+ # publishing:
342
+ # method_settings:
318
343
  # - selector: google.example.v1.ExampleService.CreateExample
319
344
  # auto_populated_fields:
320
345
  # - request_id
@@ -124,8 +124,13 @@ module Google
124
124
  # @return [::String]
125
125
  # The plural name used in the resource name and permission names, such as
126
126
  # 'projects' for the resource name of 'projects/\\{project}' and the permission
127
- # name of 'cloudresourcemanager.googleapis.com/projects.get'. It is the same
128
- # concept of the `plural` field in k8s CRD spec
127
+ # name of 'cloudresourcemanager.googleapis.com/projects.get'. One exception
128
+ # to this is for Nested Collections that have stuttering names, as defined
129
+ # in [AIP-122](https://google.aip.dev/122#nested-collections), where the
130
+ # collection ID in the resource name pattern does not necessarily directly
131
+ # match the `plural` value.
132
+ #
133
+ # It is the same concept of the `plural` field in k8s CRD spec
129
134
  # https://kubernetes.io/docs/tasks/access-kubernetes-api/custom-resources/custom-resource-definitions/
130
135
  #
131
136
  # Note: The plural form is required even for singleton resources. See
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-data_catalog-lineage-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.0
4
+ version: 0.7.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-08-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common