google-cloud-telco_automation-v1 0.4.0 → 1.0.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 96abd9ca7c76512eaea2e0882c896d2417271651c606969df855ebd5cbc9796a
4
- data.tar.gz: a1e90dd1dfd3f343107b5a745f974a9dd4c77be8f1f7c8d535069c80f69ea89a
3
+ metadata.gz: b79c8e018f67ca3e60cb3745fe30a3a75152e20307e1a206b503cfd624a446a9
4
+ data.tar.gz: d5dc1e3a71cabea6e7bcc784dadb3e3ad749e1880b324fdc5dd94509a27f0ba7
5
5
  SHA512:
6
- metadata.gz: 89390fa0d90722548b5ffdee9495b227aca444350b3f7d81fb57b27a7a0a267b482b31e96ebdcc29c1019f588f087cb2a23efe84c29c2742481230109d6b83dc
7
- data.tar.gz: a32ca5bf5af90656c3c27d897181ac1f75d5102b695045717983fd559b3fdcb9a4d5eba40b45ee1b78c24230b6729d6c884eecdd8841ca7ee47f9640749d0ede
6
+ metadata.gz: f6de4918b7227fc67ff826ffb0bc1283a780c4cc194e2fd1b3be3118f32fa1e6fa3fbfc46258bd6a76241bd02b3639b3d0d6cb4452b5d32beb8e2efd37ac2638
7
+ data.tar.gz: 3f08518874e39343d63dbe5ab7de3b2e817af965d86dbe5a505cbf003406d5e1555d551f15f9d54ffb37c157519277de5b4731daf854b03b1ee452d32e38ad7f
@@ -35,6 +35,9 @@ module Google
35
35
  # functions.
36
36
  #
37
37
  class Client
38
+ # @private
39
+ API_VERSION = ""
40
+
38
41
  # @private
39
42
  DEFAULT_ENDPOINT_TEMPLATE = "telcoautomation.$UNIVERSE_DOMAIN$"
40
43
 
@@ -261,10 +264,11 @@ module Google
261
264
  # Customize the options with defaults
262
265
  metadata = @config.rpcs.list_orchestration_clusters.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
  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::TelcoAutomation::V1::VERSION
271
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
268
272
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
269
273
 
270
274
  header_params = {}
@@ -347,10 +351,11 @@ module Google
347
351
  # Customize the options with defaults
348
352
  metadata = @config.rpcs.get_orchestration_cluster.metadata.to_h
349
353
 
350
- # Set x-goog-api-client and x-goog-user-project headers
354
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
351
355
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
352
356
  lib_name: @config.lib_name, lib_version: @config.lib_version,
353
357
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
358
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
354
359
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
355
360
 
356
361
  header_params = {}
@@ -459,10 +464,11 @@ module Google
459
464
  # Customize the options with defaults
460
465
  metadata = @config.rpcs.create_orchestration_cluster.metadata.to_h
461
466
 
462
- # Set x-goog-api-client and x-goog-user-project headers
467
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
463
468
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
464
469
  lib_name: @config.lib_name, lib_version: @config.lib_version,
465
470
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
471
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
466
472
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
467
473
 
468
474
  header_params = {}
@@ -566,10 +572,11 @@ module Google
566
572
  # Customize the options with defaults
567
573
  metadata = @config.rpcs.delete_orchestration_cluster.metadata.to_h
568
574
 
569
- # Set x-goog-api-client and x-goog-user-project headers
575
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
570
576
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
571
577
  lib_name: @config.lib_name, lib_version: @config.lib_version,
572
578
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
579
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
573
580
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
574
581
 
575
582
  header_params = {}
@@ -665,10 +672,11 @@ module Google
665
672
  # Customize the options with defaults
666
673
  metadata = @config.rpcs.list_edge_slms.metadata.to_h
667
674
 
668
- # Set x-goog-api-client and x-goog-user-project headers
675
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
669
676
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
670
677
  lib_name: @config.lib_name, lib_version: @config.lib_version,
671
678
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
679
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
672
680
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
673
681
 
674
682
  header_params = {}
@@ -751,10 +759,11 @@ module Google
751
759
  # Customize the options with defaults
752
760
  metadata = @config.rpcs.get_edge_slm.metadata.to_h
753
761
 
754
- # Set x-goog-api-client and x-goog-user-project headers
762
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
755
763
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
756
764
  lib_name: @config.lib_name, lib_version: @config.lib_version,
757
765
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
766
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
758
767
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
759
768
 
760
769
  header_params = {}
@@ -863,10 +872,11 @@ module Google
863
872
  # Customize the options with defaults
864
873
  metadata = @config.rpcs.create_edge_slm.metadata.to_h
865
874
 
866
- # Set x-goog-api-client and x-goog-user-project headers
875
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
867
876
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
868
877
  lib_name: @config.lib_name, lib_version: @config.lib_version,
869
878
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
879
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
870
880
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
871
881
 
872
882
  header_params = {}
@@ -970,10 +980,11 @@ module Google
970
980
  # Customize the options with defaults
971
981
  metadata = @config.rpcs.delete_edge_slm.metadata.to_h
972
982
 
973
- # Set x-goog-api-client and x-goog-user-project headers
983
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
974
984
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
975
985
  lib_name: @config.lib_name, lib_version: @config.lib_version,
976
986
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
987
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
977
988
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
978
989
 
979
990
  header_params = {}
@@ -1062,10 +1073,11 @@ module Google
1062
1073
  # Customize the options with defaults
1063
1074
  metadata = @config.rpcs.create_blueprint.metadata.to_h
1064
1075
 
1065
- # Set x-goog-api-client and x-goog-user-project headers
1076
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1066
1077
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1067
1078
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1068
1079
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1080
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1069
1081
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1070
1082
 
1071
1083
  header_params = {}
@@ -1150,10 +1162,11 @@ module Google
1150
1162
  # Customize the options with defaults
1151
1163
  metadata = @config.rpcs.update_blueprint.metadata.to_h
1152
1164
 
1153
- # Set x-goog-api-client and x-goog-user-project headers
1165
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1154
1166
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1155
1167
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1156
1168
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1169
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1157
1170
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1158
1171
 
1159
1172
  header_params = {}
@@ -1242,10 +1255,11 @@ module Google
1242
1255
  # Customize the options with defaults
1243
1256
  metadata = @config.rpcs.get_blueprint.metadata.to_h
1244
1257
 
1245
- # Set x-goog-api-client and x-goog-user-project headers
1258
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1246
1259
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1247
1260
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1248
1261
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1262
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1249
1263
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1250
1264
 
1251
1265
  header_params = {}
@@ -1330,10 +1344,11 @@ module Google
1330
1344
  # Customize the options with defaults
1331
1345
  metadata = @config.rpcs.delete_blueprint.metadata.to_h
1332
1346
 
1333
- # Set x-goog-api-client and x-goog-user-project headers
1347
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1334
1348
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1335
1349
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1336
1350
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1351
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1337
1352
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1338
1353
 
1339
1354
  header_params = {}
@@ -1430,10 +1445,11 @@ module Google
1430
1445
  # Customize the options with defaults
1431
1446
  metadata = @config.rpcs.list_blueprints.metadata.to_h
1432
1447
 
1433
- # Set x-goog-api-client and x-goog-user-project headers
1448
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1434
1449
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1435
1450
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1436
1451
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1452
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1437
1453
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1438
1454
 
1439
1455
  header_params = {}
@@ -1517,10 +1533,11 @@ module Google
1517
1533
  # Customize the options with defaults
1518
1534
  metadata = @config.rpcs.approve_blueprint.metadata.to_h
1519
1535
 
1520
- # Set x-goog-api-client and x-goog-user-project headers
1536
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1521
1537
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1522
1538
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1523
1539
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1540
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1524
1541
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1525
1542
 
1526
1543
  header_params = {}
@@ -1602,10 +1619,11 @@ module Google
1602
1619
  # Customize the options with defaults
1603
1620
  metadata = @config.rpcs.propose_blueprint.metadata.to_h
1604
1621
 
1605
- # Set x-goog-api-client and x-goog-user-project headers
1622
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1606
1623
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1607
1624
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1608
1625
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1626
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1609
1627
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1610
1628
 
1611
1629
  header_params = {}
@@ -1687,10 +1705,11 @@ module Google
1687
1705
  # Customize the options with defaults
1688
1706
  metadata = @config.rpcs.reject_blueprint.metadata.to_h
1689
1707
 
1690
- # Set x-goog-api-client and x-goog-user-project headers
1708
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1691
1709
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1692
1710
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1693
1711
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1712
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1694
1713
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1695
1714
 
1696
1715
  header_params = {}
@@ -1781,10 +1800,11 @@ module Google
1781
1800
  # Customize the options with defaults
1782
1801
  metadata = @config.rpcs.list_blueprint_revisions.metadata.to_h
1783
1802
 
1784
- # Set x-goog-api-client and x-goog-user-project headers
1803
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1785
1804
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1786
1805
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1787
1806
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1807
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1788
1808
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1789
1809
 
1790
1810
  header_params = {}
@@ -1887,10 +1907,11 @@ module Google
1887
1907
  # Customize the options with defaults
1888
1908
  metadata = @config.rpcs.search_blueprint_revisions.metadata.to_h
1889
1909
 
1890
- # Set x-goog-api-client and x-goog-user-project headers
1910
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1891
1911
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1892
1912
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1893
1913
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
1914
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1894
1915
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1895
1916
 
1896
1917
  header_params = {}
@@ -1994,10 +2015,11 @@ module Google
1994
2015
  # Customize the options with defaults
1995
2016
  metadata = @config.rpcs.search_deployment_revisions.metadata.to_h
1996
2017
 
1997
- # Set x-goog-api-client and x-goog-user-project headers
2018
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1998
2019
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1999
2020
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2000
2021
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2022
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2001
2023
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2002
2024
 
2003
2025
  header_params = {}
@@ -2082,10 +2104,11 @@ module Google
2082
2104
  # Customize the options with defaults
2083
2105
  metadata = @config.rpcs.discard_blueprint_changes.metadata.to_h
2084
2106
 
2085
- # Set x-goog-api-client and x-goog-user-project headers
2107
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2086
2108
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2087
2109
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2088
2110
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2111
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2089
2112
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2090
2113
 
2091
2114
  header_params = {}
@@ -2179,10 +2202,11 @@ module Google
2179
2202
  # Customize the options with defaults
2180
2203
  metadata = @config.rpcs.list_public_blueprints.metadata.to_h
2181
2204
 
2182
- # Set x-goog-api-client and x-goog-user-project headers
2205
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2183
2206
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2184
2207
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2185
2208
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2209
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2186
2210
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2187
2211
 
2188
2212
  header_params = {}
@@ -2265,10 +2289,11 @@ module Google
2265
2289
  # Customize the options with defaults
2266
2290
  metadata = @config.rpcs.get_public_blueprint.metadata.to_h
2267
2291
 
2268
- # Set x-goog-api-client and x-goog-user-project headers
2292
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2269
2293
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2270
2294
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2271
2295
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2296
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2272
2297
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2273
2298
 
2274
2299
  header_params = {}
@@ -2356,10 +2381,11 @@ module Google
2356
2381
  # Customize the options with defaults
2357
2382
  metadata = @config.rpcs.create_deployment.metadata.to_h
2358
2383
 
2359
- # Set x-goog-api-client and x-goog-user-project headers
2384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2360
2385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2361
2386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2362
2387
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2363
2389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2364
2390
 
2365
2391
  header_params = {}
@@ -2444,10 +2470,11 @@ module Google
2444
2470
  # Customize the options with defaults
2445
2471
  metadata = @config.rpcs.update_deployment.metadata.to_h
2446
2472
 
2447
- # Set x-goog-api-client and x-goog-user-project headers
2473
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2448
2474
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2449
2475
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2450
2476
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2477
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2451
2478
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2452
2479
 
2453
2480
  header_params = {}
@@ -2537,10 +2564,11 @@ module Google
2537
2564
  # Customize the options with defaults
2538
2565
  metadata = @config.rpcs.get_deployment.metadata.to_h
2539
2566
 
2540
- # Set x-goog-api-client and x-goog-user-project headers
2567
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2541
2568
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2542
2569
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2543
2570
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2571
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2544
2572
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2545
2573
 
2546
2574
  header_params = {}
@@ -2623,10 +2651,11 @@ module Google
2623
2651
  # Customize the options with defaults
2624
2652
  metadata = @config.rpcs.remove_deployment.metadata.to_h
2625
2653
 
2626
- # Set x-goog-api-client and x-goog-user-project headers
2654
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2627
2655
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2628
2656
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2629
2657
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2658
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2630
2659
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2631
2660
 
2632
2661
  header_params = {}
@@ -2723,10 +2752,11 @@ module Google
2723
2752
  # Customize the options with defaults
2724
2753
  metadata = @config.rpcs.list_deployments.metadata.to_h
2725
2754
 
2726
- # Set x-goog-api-client and x-goog-user-project headers
2755
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2727
2756
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2728
2757
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2729
2758
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2759
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2730
2760
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2731
2761
 
2732
2762
  header_params = {}
@@ -2818,10 +2848,11 @@ module Google
2818
2848
  # Customize the options with defaults
2819
2849
  metadata = @config.rpcs.list_deployment_revisions.metadata.to_h
2820
2850
 
2821
- # Set x-goog-api-client and x-goog-user-project headers
2851
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2822
2852
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2823
2853
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2824
2854
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2855
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2825
2856
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2826
2857
 
2827
2858
  header_params = {}
@@ -2906,10 +2937,11 @@ module Google
2906
2937
  # Customize the options with defaults
2907
2938
  metadata = @config.rpcs.discard_deployment_changes.metadata.to_h
2908
2939
 
2909
- # Set x-goog-api-client and x-goog-user-project headers
2940
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2910
2941
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2911
2942
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2912
2943
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
2944
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2913
2945
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2914
2946
 
2915
2947
  header_params = {}
@@ -2991,10 +3023,11 @@ module Google
2991
3023
  # Customize the options with defaults
2992
3024
  metadata = @config.rpcs.apply_deployment.metadata.to_h
2993
3025
 
2994
- # Set x-goog-api-client and x-goog-user-project headers
3026
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2995
3027
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2996
3028
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2997
3029
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3030
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2998
3031
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2999
3032
 
3000
3033
  header_params = {}
@@ -3076,10 +3109,11 @@ module Google
3076
3109
  # Customize the options with defaults
3077
3110
  metadata = @config.rpcs.compute_deployment_status.metadata.to_h
3078
3111
 
3079
- # Set x-goog-api-client and x-goog-user-project headers
3112
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3080
3113
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3081
3114
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3082
3115
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3116
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3083
3117
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3084
3118
 
3085
3119
  header_params = {}
@@ -3164,10 +3198,11 @@ module Google
3164
3198
  # Customize the options with defaults
3165
3199
  metadata = @config.rpcs.rollback_deployment.metadata.to_h
3166
3200
 
3167
- # Set x-goog-api-client and x-goog-user-project headers
3201
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3168
3202
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3169
3203
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3170
3204
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3205
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3171
3206
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3172
3207
 
3173
3208
  header_params = {}
@@ -3249,10 +3284,11 @@ module Google
3249
3284
  # Customize the options with defaults
3250
3285
  metadata = @config.rpcs.get_hydrated_deployment.metadata.to_h
3251
3286
 
3252
- # Set x-goog-api-client and x-goog-user-project headers
3287
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3253
3288
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3254
3289
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3255
3290
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3291
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3256
3292
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3257
3293
 
3258
3294
  header_params = {}
@@ -3346,10 +3382,11 @@ module Google
3346
3382
  # Customize the options with defaults
3347
3383
  metadata = @config.rpcs.list_hydrated_deployments.metadata.to_h
3348
3384
 
3349
- # Set x-goog-api-client and x-goog-user-project headers
3385
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3350
3386
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3351
3387
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3352
3388
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3389
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3353
3390
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3354
3391
 
3355
3392
  header_params = {}
@@ -3435,10 +3472,11 @@ module Google
3435
3472
  # Customize the options with defaults
3436
3473
  metadata = @config.rpcs.update_hydrated_deployment.metadata.to_h
3437
3474
 
3438
- # Set x-goog-api-client and x-goog-user-project headers
3475
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3439
3476
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3440
3477
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3441
3478
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3479
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3442
3480
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3443
3481
 
3444
3482
  header_params = {}
@@ -3520,10 +3558,11 @@ module Google
3520
3558
  # Customize the options with defaults
3521
3559
  metadata = @config.rpcs.apply_hydrated_deployment.metadata.to_h
3522
3560
 
3523
- # Set x-goog-api-client and x-goog-user-project headers
3561
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3524
3562
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3525
3563
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3526
3564
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
3565
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3527
3566
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3528
3567
 
3529
3568
  header_params = {}
@@ -26,6 +26,9 @@ module Google
26
26
  module TelcoAutomation
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "telcoautomation.$UNIVERSE_DOMAIN$"
31
34
 
@@ -191,10 +194,11 @@ module Google
191
194
  # Customize the options with defaults
192
195
  metadata = @config.rpcs.list_operations.metadata.to_h
193
196
 
194
- # Set x-goog-api-client and x-goog-user-project headers
197
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
195
198
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
196
199
  lib_name: @config.lib_name, lib_version: @config.lib_version,
197
200
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
201
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
198
202
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
199
203
 
200
204
  header_params = {}
@@ -287,10 +291,11 @@ module Google
287
291
  # Customize the options with defaults
288
292
  metadata = @config.rpcs.get_operation.metadata.to_h
289
293
 
290
- # Set x-goog-api-client and x-goog-user-project headers
294
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
291
295
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
292
296
  lib_name: @config.lib_name, lib_version: @config.lib_version,
293
297
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
298
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
294
299
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
295
300
 
296
301
  header_params = {}
@@ -376,10 +381,11 @@ module Google
376
381
  # Customize the options with defaults
377
382
  metadata = @config.rpcs.delete_operation.metadata.to_h
378
383
 
379
- # Set x-goog-api-client and x-goog-user-project headers
384
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
380
385
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
381
386
  lib_name: @config.lib_name, lib_version: @config.lib_version,
382
387
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
388
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
383
389
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
384
390
 
385
391
  header_params = {}
@@ -470,10 +476,11 @@ module Google
470
476
  # Customize the options with defaults
471
477
  metadata = @config.rpcs.cancel_operation.metadata.to_h
472
478
 
473
- # Set x-goog-api-client and x-goog-user-project headers
479
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
474
480
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
475
481
  lib_name: @config.lib_name, lib_version: @config.lib_version,
476
482
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
483
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
477
484
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
478
485
 
479
486
  header_params = {}
@@ -574,10 +581,11 @@ module Google
574
581
  # Customize the options with defaults
575
582
  metadata = @config.rpcs.wait_operation.metadata.to_h
576
583
 
577
- # Set x-goog-api-client and x-goog-user-project headers
584
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
578
585
  metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
579
586
  lib_name: @config.lib_name, lib_version: @config.lib_version,
580
587
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION
588
+ metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
581
589
  metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
582
590
 
583
591
  options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
@@ -37,6 +37,9 @@ module Google
37
37
  # functions.
38
38
  #
39
39
  class Client
40
+ # @private
41
+ API_VERSION = ""
42
+
40
43
  # @private
41
44
  DEFAULT_ENDPOINT_TEMPLATE = "telcoautomation.$UNIVERSE_DOMAIN$"
42
45
 
@@ -254,12 +257,13 @@ module Google
254
257
  # Customize the options with defaults
255
258
  call_metadata = @config.rpcs.list_orchestration_clusters.metadata.to_h
256
259
 
257
- # Set x-goog-api-client and x-goog-user-project headers
260
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
258
261
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
259
262
  lib_name: @config.lib_name, lib_version: @config.lib_version,
260
263
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
261
264
  transports_version_send: [:rest]
262
265
 
266
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
263
267
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
264
268
 
265
269
  options.apply_defaults timeout: @config.rpcs.list_orchestration_clusters.timeout,
@@ -332,12 +336,13 @@ module Google
332
336
  # Customize the options with defaults
333
337
  call_metadata = @config.rpcs.get_orchestration_cluster.metadata.to_h
334
338
 
335
- # Set x-goog-api-client and x-goog-user-project headers
339
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
336
340
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
337
341
  lib_name: @config.lib_name, lib_version: @config.lib_version,
338
342
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
339
343
  transports_version_send: [:rest]
340
344
 
345
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
341
346
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
342
347
 
343
348
  options.apply_defaults timeout: @config.rpcs.get_orchestration_cluster.timeout,
@@ -437,12 +442,13 @@ module Google
437
442
  # Customize the options with defaults
438
443
  call_metadata = @config.rpcs.create_orchestration_cluster.metadata.to_h
439
444
 
440
- # Set x-goog-api-client and x-goog-user-project headers
445
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
441
446
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
442
447
  lib_name: @config.lib_name, lib_version: @config.lib_version,
443
448
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
444
449
  transports_version_send: [:rest]
445
450
 
451
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
446
452
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
447
453
 
448
454
  options.apply_defaults timeout: @config.rpcs.create_orchestration_cluster.timeout,
@@ -537,12 +543,13 @@ module Google
537
543
  # Customize the options with defaults
538
544
  call_metadata = @config.rpcs.delete_orchestration_cluster.metadata.to_h
539
545
 
540
- # Set x-goog-api-client and x-goog-user-project headers
546
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
541
547
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
542
548
  lib_name: @config.lib_name, lib_version: @config.lib_version,
543
549
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
544
550
  transports_version_send: [:rest]
545
551
 
552
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
546
553
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
547
554
 
548
555
  options.apply_defaults timeout: @config.rpcs.delete_orchestration_cluster.timeout,
@@ -629,12 +636,13 @@ module Google
629
636
  # Customize the options with defaults
630
637
  call_metadata = @config.rpcs.list_edge_slms.metadata.to_h
631
638
 
632
- # Set x-goog-api-client and x-goog-user-project headers
639
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
633
640
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
634
641
  lib_name: @config.lib_name, lib_version: @config.lib_version,
635
642
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
636
643
  transports_version_send: [:rest]
637
644
 
645
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
638
646
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
639
647
 
640
648
  options.apply_defaults timeout: @config.rpcs.list_edge_slms.timeout,
@@ -707,12 +715,13 @@ module Google
707
715
  # Customize the options with defaults
708
716
  call_metadata = @config.rpcs.get_edge_slm.metadata.to_h
709
717
 
710
- # Set x-goog-api-client and x-goog-user-project headers
718
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
711
719
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
712
720
  lib_name: @config.lib_name, lib_version: @config.lib_version,
713
721
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
714
722
  transports_version_send: [:rest]
715
723
 
724
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
716
725
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
717
726
 
718
727
  options.apply_defaults timeout: @config.rpcs.get_edge_slm.timeout,
@@ -812,12 +821,13 @@ module Google
812
821
  # Customize the options with defaults
813
822
  call_metadata = @config.rpcs.create_edge_slm.metadata.to_h
814
823
 
815
- # Set x-goog-api-client and x-goog-user-project headers
824
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
816
825
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
817
826
  lib_name: @config.lib_name, lib_version: @config.lib_version,
818
827
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
819
828
  transports_version_send: [:rest]
820
829
 
830
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
821
831
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
822
832
 
823
833
  options.apply_defaults timeout: @config.rpcs.create_edge_slm.timeout,
@@ -912,12 +922,13 @@ module Google
912
922
  # Customize the options with defaults
913
923
  call_metadata = @config.rpcs.delete_edge_slm.metadata.to_h
914
924
 
915
- # Set x-goog-api-client and x-goog-user-project headers
925
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
916
926
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
917
927
  lib_name: @config.lib_name, lib_version: @config.lib_version,
918
928
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
919
929
  transports_version_send: [:rest]
920
930
 
931
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
921
932
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
922
933
 
923
934
  options.apply_defaults timeout: @config.rpcs.delete_edge_slm.timeout,
@@ -997,12 +1008,13 @@ module Google
997
1008
  # Customize the options with defaults
998
1009
  call_metadata = @config.rpcs.create_blueprint.metadata.to_h
999
1010
 
1000
- # Set x-goog-api-client and x-goog-user-project headers
1011
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1001
1012
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1002
1013
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1003
1014
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1004
1015
  transports_version_send: [:rest]
1005
1016
 
1017
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1006
1018
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1007
1019
 
1008
1020
  options.apply_defaults timeout: @config.rpcs.create_blueprint.timeout,
@@ -1078,12 +1090,13 @@ module Google
1078
1090
  # Customize the options with defaults
1079
1091
  call_metadata = @config.rpcs.update_blueprint.metadata.to_h
1080
1092
 
1081
- # Set x-goog-api-client and x-goog-user-project headers
1093
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1082
1094
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1083
1095
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1084
1096
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1085
1097
  transports_version_send: [:rest]
1086
1098
 
1099
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1087
1100
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1088
1101
 
1089
1102
  options.apply_defaults timeout: @config.rpcs.update_blueprint.timeout,
@@ -1163,12 +1176,13 @@ module Google
1163
1176
  # Customize the options with defaults
1164
1177
  call_metadata = @config.rpcs.get_blueprint.metadata.to_h
1165
1178
 
1166
- # Set x-goog-api-client and x-goog-user-project headers
1179
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1167
1180
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1168
1181
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1169
1182
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1170
1183
  transports_version_send: [:rest]
1171
1184
 
1185
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1172
1186
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1173
1187
 
1174
1188
  options.apply_defaults timeout: @config.rpcs.get_blueprint.timeout,
@@ -1244,12 +1258,13 @@ module Google
1244
1258
  # Customize the options with defaults
1245
1259
  call_metadata = @config.rpcs.delete_blueprint.metadata.to_h
1246
1260
 
1247
- # Set x-goog-api-client and x-goog-user-project headers
1261
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1248
1262
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1249
1263
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1250
1264
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1251
1265
  transports_version_send: [:rest]
1252
1266
 
1267
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1253
1268
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1254
1269
 
1255
1270
  options.apply_defaults timeout: @config.rpcs.delete_blueprint.timeout,
@@ -1337,12 +1352,13 @@ module Google
1337
1352
  # Customize the options with defaults
1338
1353
  call_metadata = @config.rpcs.list_blueprints.metadata.to_h
1339
1354
 
1340
- # Set x-goog-api-client and x-goog-user-project headers
1355
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1341
1356
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1342
1357
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1343
1358
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1344
1359
  transports_version_send: [:rest]
1345
1360
 
1361
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1346
1362
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1347
1363
 
1348
1364
  options.apply_defaults timeout: @config.rpcs.list_blueprints.timeout,
@@ -1417,12 +1433,13 @@ module Google
1417
1433
  # Customize the options with defaults
1418
1434
  call_metadata = @config.rpcs.approve_blueprint.metadata.to_h
1419
1435
 
1420
- # Set x-goog-api-client and x-goog-user-project headers
1436
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1421
1437
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1422
1438
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1423
1439
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1424
1440
  transports_version_send: [:rest]
1425
1441
 
1442
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1426
1443
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1427
1444
 
1428
1445
  options.apply_defaults timeout: @config.rpcs.approve_blueprint.timeout,
@@ -1495,12 +1512,13 @@ module Google
1495
1512
  # Customize the options with defaults
1496
1513
  call_metadata = @config.rpcs.propose_blueprint.metadata.to_h
1497
1514
 
1498
- # Set x-goog-api-client and x-goog-user-project headers
1515
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1499
1516
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1500
1517
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1501
1518
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1502
1519
  transports_version_send: [:rest]
1503
1520
 
1521
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1504
1522
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1505
1523
 
1506
1524
  options.apply_defaults timeout: @config.rpcs.propose_blueprint.timeout,
@@ -1573,12 +1591,13 @@ module Google
1573
1591
  # Customize the options with defaults
1574
1592
  call_metadata = @config.rpcs.reject_blueprint.metadata.to_h
1575
1593
 
1576
- # Set x-goog-api-client and x-goog-user-project headers
1594
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1577
1595
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1578
1596
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1579
1597
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1580
1598
  transports_version_send: [:rest]
1581
1599
 
1600
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1582
1601
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1583
1602
 
1584
1603
  options.apply_defaults timeout: @config.rpcs.reject_blueprint.timeout,
@@ -1660,12 +1679,13 @@ module Google
1660
1679
  # Customize the options with defaults
1661
1680
  call_metadata = @config.rpcs.list_blueprint_revisions.metadata.to_h
1662
1681
 
1663
- # Set x-goog-api-client and x-goog-user-project headers
1682
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1664
1683
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1665
1684
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1666
1685
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1667
1686
  transports_version_send: [:rest]
1668
1687
 
1688
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1669
1689
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1670
1690
 
1671
1691
  options.apply_defaults timeout: @config.rpcs.list_blueprint_revisions.timeout,
@@ -1759,12 +1779,13 @@ module Google
1759
1779
  # Customize the options with defaults
1760
1780
  call_metadata = @config.rpcs.search_blueprint_revisions.metadata.to_h
1761
1781
 
1762
- # Set x-goog-api-client and x-goog-user-project headers
1782
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1763
1783
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1764
1784
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1765
1785
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1766
1786
  transports_version_send: [:rest]
1767
1787
 
1788
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1768
1789
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1769
1790
 
1770
1791
  options.apply_defaults timeout: @config.rpcs.search_blueprint_revisions.timeout,
@@ -1859,12 +1880,13 @@ module Google
1859
1880
  # Customize the options with defaults
1860
1881
  call_metadata = @config.rpcs.search_deployment_revisions.metadata.to_h
1861
1882
 
1862
- # Set x-goog-api-client and x-goog-user-project headers
1883
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1863
1884
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1864
1885
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1865
1886
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1866
1887
  transports_version_send: [:rest]
1867
1888
 
1889
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1868
1890
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1869
1891
 
1870
1892
  options.apply_defaults timeout: @config.rpcs.search_deployment_revisions.timeout,
@@ -1940,12 +1962,13 @@ module Google
1940
1962
  # Customize the options with defaults
1941
1963
  call_metadata = @config.rpcs.discard_blueprint_changes.metadata.to_h
1942
1964
 
1943
- # Set x-goog-api-client and x-goog-user-project headers
1965
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
1944
1966
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
1945
1967
  lib_name: @config.lib_name, lib_version: @config.lib_version,
1946
1968
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
1947
1969
  transports_version_send: [:rest]
1948
1970
 
1971
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
1949
1972
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
1950
1973
 
1951
1974
  options.apply_defaults timeout: @config.rpcs.discard_blueprint_changes.timeout,
@@ -2030,12 +2053,13 @@ module Google
2030
2053
  # Customize the options with defaults
2031
2054
  call_metadata = @config.rpcs.list_public_blueprints.metadata.to_h
2032
2055
 
2033
- # Set x-goog-api-client and x-goog-user-project headers
2056
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2034
2057
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2035
2058
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2036
2059
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2037
2060
  transports_version_send: [:rest]
2038
2061
 
2062
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2039
2063
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2040
2064
 
2041
2065
  options.apply_defaults timeout: @config.rpcs.list_public_blueprints.timeout,
@@ -2109,12 +2133,13 @@ module Google
2109
2133
  # Customize the options with defaults
2110
2134
  call_metadata = @config.rpcs.get_public_blueprint.metadata.to_h
2111
2135
 
2112
- # Set x-goog-api-client and x-goog-user-project headers
2136
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2113
2137
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2114
2138
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2115
2139
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2116
2140
  transports_version_send: [:rest]
2117
2141
 
2142
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2118
2143
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2119
2144
 
2120
2145
  options.apply_defaults timeout: @config.rpcs.get_public_blueprint.timeout,
@@ -2193,12 +2218,13 @@ module Google
2193
2218
  # Customize the options with defaults
2194
2219
  call_metadata = @config.rpcs.create_deployment.metadata.to_h
2195
2220
 
2196
- # Set x-goog-api-client and x-goog-user-project headers
2221
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2197
2222
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2198
2223
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2199
2224
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2200
2225
  transports_version_send: [:rest]
2201
2226
 
2227
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2202
2228
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2203
2229
 
2204
2230
  options.apply_defaults timeout: @config.rpcs.create_deployment.timeout,
@@ -2274,12 +2300,13 @@ module Google
2274
2300
  # Customize the options with defaults
2275
2301
  call_metadata = @config.rpcs.update_deployment.metadata.to_h
2276
2302
 
2277
- # Set x-goog-api-client and x-goog-user-project headers
2303
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2278
2304
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2279
2305
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2280
2306
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2281
2307
  transports_version_send: [:rest]
2282
2308
 
2309
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2283
2310
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2284
2311
 
2285
2312
  options.apply_defaults timeout: @config.rpcs.update_deployment.timeout,
@@ -2360,12 +2387,13 @@ module Google
2360
2387
  # Customize the options with defaults
2361
2388
  call_metadata = @config.rpcs.get_deployment.metadata.to_h
2362
2389
 
2363
- # Set x-goog-api-client and x-goog-user-project headers
2390
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2364
2391
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2365
2392
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2366
2393
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2367
2394
  transports_version_send: [:rest]
2368
2395
 
2396
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2369
2397
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2370
2398
 
2371
2399
  options.apply_defaults timeout: @config.rpcs.get_deployment.timeout,
@@ -2439,12 +2467,13 @@ module Google
2439
2467
  # Customize the options with defaults
2440
2468
  call_metadata = @config.rpcs.remove_deployment.metadata.to_h
2441
2469
 
2442
- # Set x-goog-api-client and x-goog-user-project headers
2470
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2443
2471
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2444
2472
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2445
2473
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2446
2474
  transports_version_send: [:rest]
2447
2475
 
2476
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2448
2477
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2449
2478
 
2450
2479
  options.apply_defaults timeout: @config.rpcs.remove_deployment.timeout,
@@ -2532,12 +2561,13 @@ module Google
2532
2561
  # Customize the options with defaults
2533
2562
  call_metadata = @config.rpcs.list_deployments.metadata.to_h
2534
2563
 
2535
- # Set x-goog-api-client and x-goog-user-project headers
2564
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2536
2565
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2537
2566
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2538
2567
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2539
2568
  transports_version_send: [:rest]
2540
2569
 
2570
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2541
2571
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2542
2572
 
2543
2573
  options.apply_defaults timeout: @config.rpcs.list_deployments.timeout,
@@ -2620,12 +2650,13 @@ module Google
2620
2650
  # Customize the options with defaults
2621
2651
  call_metadata = @config.rpcs.list_deployment_revisions.metadata.to_h
2622
2652
 
2623
- # Set x-goog-api-client and x-goog-user-project headers
2653
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2624
2654
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2625
2655
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2626
2656
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2627
2657
  transports_version_send: [:rest]
2628
2658
 
2659
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2629
2660
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2630
2661
 
2631
2662
  options.apply_defaults timeout: @config.rpcs.list_deployment_revisions.timeout,
@@ -2701,12 +2732,13 @@ module Google
2701
2732
  # Customize the options with defaults
2702
2733
  call_metadata = @config.rpcs.discard_deployment_changes.metadata.to_h
2703
2734
 
2704
- # Set x-goog-api-client and x-goog-user-project headers
2735
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2705
2736
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2706
2737
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2707
2738
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2708
2739
  transports_version_send: [:rest]
2709
2740
 
2741
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2710
2742
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2711
2743
 
2712
2744
  options.apply_defaults timeout: @config.rpcs.discard_deployment_changes.timeout,
@@ -2779,12 +2811,13 @@ module Google
2779
2811
  # Customize the options with defaults
2780
2812
  call_metadata = @config.rpcs.apply_deployment.metadata.to_h
2781
2813
 
2782
- # Set x-goog-api-client and x-goog-user-project headers
2814
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2783
2815
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2784
2816
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2785
2817
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2786
2818
  transports_version_send: [:rest]
2787
2819
 
2820
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2788
2821
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2789
2822
 
2790
2823
  options.apply_defaults timeout: @config.rpcs.apply_deployment.timeout,
@@ -2857,12 +2890,13 @@ module Google
2857
2890
  # Customize the options with defaults
2858
2891
  call_metadata = @config.rpcs.compute_deployment_status.metadata.to_h
2859
2892
 
2860
- # Set x-goog-api-client and x-goog-user-project headers
2893
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2861
2894
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2862
2895
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2863
2896
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2864
2897
  transports_version_send: [:rest]
2865
2898
 
2899
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2866
2900
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2867
2901
 
2868
2902
  options.apply_defaults timeout: @config.rpcs.compute_deployment_status.timeout,
@@ -2938,12 +2972,13 @@ module Google
2938
2972
  # Customize the options with defaults
2939
2973
  call_metadata = @config.rpcs.rollback_deployment.metadata.to_h
2940
2974
 
2941
- # Set x-goog-api-client and x-goog-user-project headers
2975
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
2942
2976
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
2943
2977
  lib_name: @config.lib_name, lib_version: @config.lib_version,
2944
2978
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
2945
2979
  transports_version_send: [:rest]
2946
2980
 
2981
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
2947
2982
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
2948
2983
 
2949
2984
  options.apply_defaults timeout: @config.rpcs.rollback_deployment.timeout,
@@ -3016,12 +3051,13 @@ module Google
3016
3051
  # Customize the options with defaults
3017
3052
  call_metadata = @config.rpcs.get_hydrated_deployment.metadata.to_h
3018
3053
 
3019
- # Set x-goog-api-client and x-goog-user-project headers
3054
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3020
3055
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3021
3056
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3022
3057
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
3023
3058
  transports_version_send: [:rest]
3024
3059
 
3060
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3025
3061
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3026
3062
 
3027
3063
  options.apply_defaults timeout: @config.rpcs.get_hydrated_deployment.timeout,
@@ -3106,12 +3142,13 @@ module Google
3106
3142
  # Customize the options with defaults
3107
3143
  call_metadata = @config.rpcs.list_hydrated_deployments.metadata.to_h
3108
3144
 
3109
- # Set x-goog-api-client and x-goog-user-project headers
3145
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3110
3146
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3111
3147
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3112
3148
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
3113
3149
  transports_version_send: [:rest]
3114
3150
 
3151
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3115
3152
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3116
3153
 
3117
3154
  options.apply_defaults timeout: @config.rpcs.list_hydrated_deployments.timeout,
@@ -3188,12 +3225,13 @@ module Google
3188
3225
  # Customize the options with defaults
3189
3226
  call_metadata = @config.rpcs.update_hydrated_deployment.metadata.to_h
3190
3227
 
3191
- # Set x-goog-api-client and x-goog-user-project headers
3228
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3192
3229
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3193
3230
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3194
3231
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
3195
3232
  transports_version_send: [:rest]
3196
3233
 
3234
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3197
3235
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3198
3236
 
3199
3237
  options.apply_defaults timeout: @config.rpcs.update_hydrated_deployment.timeout,
@@ -3266,12 +3304,13 @@ module Google
3266
3304
  # Customize the options with defaults
3267
3305
  call_metadata = @config.rpcs.apply_hydrated_deployment.metadata.to_h
3268
3306
 
3269
- # Set x-goog-api-client and x-goog-user-project headers
3307
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
3270
3308
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
3271
3309
  lib_name: @config.lib_name, lib_version: @config.lib_version,
3272
3310
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
3273
3311
  transports_version_send: [:rest]
3274
3312
 
3313
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
3275
3314
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
3276
3315
 
3277
3316
  options.apply_defaults timeout: @config.rpcs.apply_hydrated_deployment.timeout,
@@ -26,6 +26,9 @@ module Google
26
26
  module Rest
27
27
  # Service that implements Longrunning Operations API.
28
28
  class Operations
29
+ # @private
30
+ API_VERSION = ""
31
+
29
32
  # @private
30
33
  DEFAULT_ENDPOINT_TEMPLATE = "telcoautomation.$UNIVERSE_DOMAIN$"
31
34
 
@@ -181,12 +184,13 @@ module Google
181
184
  # Customize the options with defaults
182
185
  call_metadata = @config.rpcs.list_operations.metadata.to_h
183
186
 
184
- # Set x-goog-api-client and x-goog-user-project headers
187
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
185
188
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
186
189
  lib_name: @config.lib_name, lib_version: @config.lib_version,
187
190
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
188
191
  transports_version_send: [:rest]
189
192
 
193
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
190
194
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
191
195
 
192
196
  options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
@@ -269,12 +273,13 @@ module Google
269
273
  # Customize the options with defaults
270
274
  call_metadata = @config.rpcs.get_operation.metadata.to_h
271
275
 
272
- # Set x-goog-api-client and x-goog-user-project headers
276
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
273
277
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
274
278
  lib_name: @config.lib_name, lib_version: @config.lib_version,
275
279
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
276
280
  transports_version_send: [:rest]
277
281
 
282
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
278
283
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
279
284
 
280
285
  options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
@@ -351,12 +356,13 @@ module Google
351
356
  # Customize the options with defaults
352
357
  call_metadata = @config.rpcs.delete_operation.metadata.to_h
353
358
 
354
- # Set x-goog-api-client and x-goog-user-project headers
359
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
355
360
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
356
361
  lib_name: @config.lib_name, lib_version: @config.lib_version,
357
362
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
358
363
  transports_version_send: [:rest]
359
364
 
365
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
360
366
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
361
367
 
362
368
  options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
@@ -438,12 +444,13 @@ module Google
438
444
  # Customize the options with defaults
439
445
  call_metadata = @config.rpcs.cancel_operation.metadata.to_h
440
446
 
441
- # Set x-goog-api-client and x-goog-user-project headers
447
+ # Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
442
448
  call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
443
449
  lib_name: @config.lib_name, lib_version: @config.lib_version,
444
450
  gapic_version: ::Google::Cloud::TelcoAutomation::V1::VERSION,
445
451
  transports_version_send: [:rest]
446
452
 
453
+ call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
447
454
  call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
448
455
 
449
456
  options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module TelcoAutomation
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "1.0.0"
25
25
  end
26
26
  end
27
27
  end
@@ -118,6 +118,10 @@ module Google
118
118
  # @return [::String]
119
119
  # Optional link to proto reference documentation. Example:
120
120
  # https://cloud.google.com/pubsub/lite/docs/reference/rpc
121
+ # @!attribute [rw] rest_reference_documentation_uri
122
+ # @return [::String]
123
+ # Optional link to REST reference documentation. Example:
124
+ # https://cloud.google.com/pubsub/lite/docs/reference/rest
121
125
  class Publishing
122
126
  include ::Google::Protobuf::MessageExts
123
127
  extend ::Google::Protobuf::MessageExts::ClassMethods
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-cloud-telco_automation-v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2024-02-26 00:00:00.000000000 Z
11
+ date: 2024-07-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common