google-cloud-telco_automation-v1 0.3.0 → 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/google/cloud/telco_automation/v1/telco_automation/client.rb +75 -36
- data/lib/google/cloud/telco_automation/v1/telco_automation/operations.rb +13 -5
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/client.rb +75 -36
- data/lib/google/cloud/telco_automation/v1/telco_automation/rest/operations.rb +11 -4
- data/lib/google/cloud/telco_automation/v1/version.rb +1 -1
- data/lib/google/cloud/telcoautomation/v1/telcoautomation_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +4 -116
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b79c8e018f67ca3e60cb3745fe30a3a75152e20307e1a206b503cfd624a446a9
|
4
|
+
data.tar.gz: d5dc1e3a71cabea6e7bcc784dadb3e3ad749e1880b324fdc5dd94509a27f0ba7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f6de4918b7227fc67ff826ffb0bc1283a780c4cc194e2fd1b3be3118f32fa1e6fa3fbfc46258bd6a76241bd02b3639b3d0d6cb4452b5d32beb8e2efd37ac2638
|
7
|
+
data.tar.gz: 3f08518874e39343d63dbe5ab7de3b2e817af965d86dbe5a505cbf003406d5e1555d551f15f9d54ffb37c157519277de5b4731daf854b03b1ee452d32e38ad7f
|
data/README.md
CHANGED
@@ -76,7 +76,7 @@ To browse ready to use code samples check [Google Cloud Samples](https://cloud.g
|
|
76
76
|
|
77
77
|
## Supported Ruby Versions
|
78
78
|
|
79
|
-
This library is supported on Ruby 2.
|
79
|
+
This library is supported on Ruby 2.7+.
|
80
80
|
|
81
81
|
Google provides official support for Ruby versions that are actively supported
|
82
82
|
by Ruby Core—that is, Ruby versions that are either in normal maintenance or
|
@@ -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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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,
|