google-cloud-video-live_stream-v1 0.9.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/lib/google/cloud/video/live_stream/v1/livestream_service/client.rb +47 -22
- data/lib/google/cloud/video/live_stream/v1/livestream_service/operations.rb +13 -5
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/client.rb +47 -22
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/operations.rb +11 -4
- data/lib/google/cloud/video/live_stream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +4 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 056fe6200cda6e51d460e8669b2ecd6441c3cb5f24737b4d374f996c4c9c294a
|
|
4
|
+
data.tar.gz: fa1d41bd6e8e317bb8fcf68578209834b6c747c91259721f77dec2f4879e3d7e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 85c7bb589559ad733b78b884bc744303fe6059a634ab8f766e7db7c374f045f73bcd84b6800a80ddb29189fbbab92801c3aa5f8e60962808ee7c9545fec61d4b
|
|
7
|
+
data.tar.gz: 34436beae680aca7fcad80ec3940d61110f8f1ed29739c4ebcde91ff66a52a25ea8c3b0826cfaa9dd97d5f40a7c7991d2b07ce3c39a4c6525e8a5f5c7801f81c
|
|
@@ -36,6 +36,9 @@ module Google
|
|
|
36
36
|
# Protocol (RTMP) and Secure Reliable Transport (SRT).
|
|
37
37
|
#
|
|
38
38
|
class Client
|
|
39
|
+
# @private
|
|
40
|
+
API_VERSION = ""
|
|
41
|
+
|
|
39
42
|
# @private
|
|
40
43
|
DEFAULT_ENDPOINT_TEMPLATE = "livestream.$UNIVERSE_DOMAIN$"
|
|
41
44
|
|
|
@@ -328,10 +331,11 @@ module Google
|
|
|
328
331
|
# Customize the options with defaults
|
|
329
332
|
metadata = @config.rpcs.create_channel.metadata.to_h
|
|
330
333
|
|
|
331
|
-
# Set x-goog-api-client
|
|
334
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
332
335
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
333
336
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
334
337
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
338
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
335
339
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
336
340
|
|
|
337
341
|
header_params = {}
|
|
@@ -432,10 +436,11 @@ module Google
|
|
|
432
436
|
# Customize the options with defaults
|
|
433
437
|
metadata = @config.rpcs.list_channels.metadata.to_h
|
|
434
438
|
|
|
435
|
-
# Set x-goog-api-client
|
|
439
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
436
440
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
437
441
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
438
442
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
443
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
439
444
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
440
445
|
|
|
441
446
|
header_params = {}
|
|
@@ -519,10 +524,11 @@ module Google
|
|
|
519
524
|
# Customize the options with defaults
|
|
520
525
|
metadata = @config.rpcs.get_channel.metadata.to_h
|
|
521
526
|
|
|
522
|
-
# Set x-goog-api-client
|
|
527
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
523
528
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
524
529
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
525
530
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
531
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
526
532
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
527
533
|
|
|
528
534
|
header_params = {}
|
|
@@ -631,10 +637,11 @@ module Google
|
|
|
631
637
|
# Customize the options with defaults
|
|
632
638
|
metadata = @config.rpcs.delete_channel.metadata.to_h
|
|
633
639
|
|
|
634
|
-
# Set x-goog-api-client
|
|
640
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
635
641
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
636
642
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
637
643
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
644
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
638
645
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
639
646
|
|
|
640
647
|
header_params = {}
|
|
@@ -759,10 +766,11 @@ module Google
|
|
|
759
766
|
# Customize the options with defaults
|
|
760
767
|
metadata = @config.rpcs.update_channel.metadata.to_h
|
|
761
768
|
|
|
762
|
-
# Set x-goog-api-client
|
|
769
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
763
770
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
764
771
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
765
772
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
773
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
766
774
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
767
775
|
|
|
768
776
|
header_params = {}
|
|
@@ -868,10 +876,11 @@ module Google
|
|
|
868
876
|
# Customize the options with defaults
|
|
869
877
|
metadata = @config.rpcs.start_channel.metadata.to_h
|
|
870
878
|
|
|
871
|
-
# Set x-goog-api-client
|
|
879
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
872
880
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
873
881
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
874
882
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
883
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
875
884
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
876
885
|
|
|
877
886
|
header_params = {}
|
|
@@ -977,10 +986,11 @@ module Google
|
|
|
977
986
|
# Customize the options with defaults
|
|
978
987
|
metadata = @config.rpcs.stop_channel.metadata.to_h
|
|
979
988
|
|
|
980
|
-
# Set x-goog-api-client
|
|
989
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
981
990
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
982
991
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
983
992
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
993
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
984
994
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
985
995
|
|
|
986
996
|
header_params = {}
|
|
@@ -1091,10 +1101,11 @@ module Google
|
|
|
1091
1101
|
# Customize the options with defaults
|
|
1092
1102
|
metadata = @config.rpcs.create_input.metadata.to_h
|
|
1093
1103
|
|
|
1094
|
-
# Set x-goog-api-client
|
|
1104
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1095
1105
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1096
1106
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1097
1107
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1108
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1098
1109
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1099
1110
|
|
|
1100
1111
|
header_params = {}
|
|
@@ -1195,10 +1206,11 @@ module Google
|
|
|
1195
1206
|
# Customize the options with defaults
|
|
1196
1207
|
metadata = @config.rpcs.list_inputs.metadata.to_h
|
|
1197
1208
|
|
|
1198
|
-
# Set x-goog-api-client
|
|
1209
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1199
1210
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1200
1211
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1201
1212
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1213
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1202
1214
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1203
1215
|
|
|
1204
1216
|
header_params = {}
|
|
@@ -1282,10 +1294,11 @@ module Google
|
|
|
1282
1294
|
# Customize the options with defaults
|
|
1283
1295
|
metadata = @config.rpcs.get_input.metadata.to_h
|
|
1284
1296
|
|
|
1285
|
-
# Set x-goog-api-client
|
|
1297
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1286
1298
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1287
1299
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1288
1300
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1301
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1289
1302
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1290
1303
|
|
|
1291
1304
|
header_params = {}
|
|
@@ -1389,10 +1402,11 @@ module Google
|
|
|
1389
1402
|
# Customize the options with defaults
|
|
1390
1403
|
metadata = @config.rpcs.delete_input.metadata.to_h
|
|
1391
1404
|
|
|
1392
|
-
# Set x-goog-api-client
|
|
1405
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1393
1406
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1394
1407
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1395
1408
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1409
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1396
1410
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1397
1411
|
|
|
1398
1412
|
header_params = {}
|
|
@@ -1509,10 +1523,11 @@ module Google
|
|
|
1509
1523
|
# Customize the options with defaults
|
|
1510
1524
|
metadata = @config.rpcs.update_input.metadata.to_h
|
|
1511
1525
|
|
|
1512
|
-
# Set x-goog-api-client
|
|
1526
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1513
1527
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1514
1528
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1515
1529
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1530
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1516
1531
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1517
1532
|
|
|
1518
1533
|
header_params = {}
|
|
@@ -1616,10 +1631,11 @@ module Google
|
|
|
1616
1631
|
# Customize the options with defaults
|
|
1617
1632
|
metadata = @config.rpcs.create_event.metadata.to_h
|
|
1618
1633
|
|
|
1619
|
-
# Set x-goog-api-client
|
|
1634
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1620
1635
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1621
1636
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1622
1637
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1638
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1623
1639
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1624
1640
|
|
|
1625
1641
|
header_params = {}
|
|
@@ -1719,10 +1735,11 @@ module Google
|
|
|
1719
1735
|
# Customize the options with defaults
|
|
1720
1736
|
metadata = @config.rpcs.list_events.metadata.to_h
|
|
1721
1737
|
|
|
1722
|
-
# Set x-goog-api-client
|
|
1738
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1723
1739
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1724
1740
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1725
1741
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1742
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1726
1743
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1727
1744
|
|
|
1728
1745
|
header_params = {}
|
|
@@ -1806,10 +1823,11 @@ module Google
|
|
|
1806
1823
|
# Customize the options with defaults
|
|
1807
1824
|
metadata = @config.rpcs.get_event.metadata.to_h
|
|
1808
1825
|
|
|
1809
|
-
# Set x-goog-api-client
|
|
1826
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1810
1827
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1811
1828
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1812
1829
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1830
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1813
1831
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1814
1832
|
|
|
1815
1833
|
header_params = {}
|
|
@@ -1906,10 +1924,11 @@ module Google
|
|
|
1906
1924
|
# Customize the options with defaults
|
|
1907
1925
|
metadata = @config.rpcs.delete_event.metadata.to_h
|
|
1908
1926
|
|
|
1909
|
-
# Set x-goog-api-client
|
|
1927
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1910
1928
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1911
1929
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1912
1930
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
1931
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1913
1932
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1914
1933
|
|
|
1915
1934
|
header_params = {}
|
|
@@ -2020,10 +2039,11 @@ module Google
|
|
|
2020
2039
|
# Customize the options with defaults
|
|
2021
2040
|
metadata = @config.rpcs.create_asset.metadata.to_h
|
|
2022
2041
|
|
|
2023
|
-
# Set x-goog-api-client
|
|
2042
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2024
2043
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2025
2044
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2026
2045
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2046
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2027
2047
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2028
2048
|
|
|
2029
2049
|
header_params = {}
|
|
@@ -2128,10 +2148,11 @@ module Google
|
|
|
2128
2148
|
# Customize the options with defaults
|
|
2129
2149
|
metadata = @config.rpcs.delete_asset.metadata.to_h
|
|
2130
2150
|
|
|
2131
|
-
# Set x-goog-api-client
|
|
2151
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2132
2152
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2133
2153
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2134
2154
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2155
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2135
2156
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2136
2157
|
|
|
2137
2158
|
header_params = {}
|
|
@@ -2215,10 +2236,11 @@ module Google
|
|
|
2215
2236
|
# Customize the options with defaults
|
|
2216
2237
|
metadata = @config.rpcs.get_asset.metadata.to_h
|
|
2217
2238
|
|
|
2218
|
-
# Set x-goog-api-client
|
|
2239
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2219
2240
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2220
2241
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2221
2242
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2243
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2222
2244
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2223
2245
|
|
|
2224
2246
|
header_params = {}
|
|
@@ -2314,10 +2336,11 @@ module Google
|
|
|
2314
2336
|
# Customize the options with defaults
|
|
2315
2337
|
metadata = @config.rpcs.list_assets.metadata.to_h
|
|
2316
2338
|
|
|
2317
|
-
# Set x-goog-api-client
|
|
2339
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2318
2340
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2319
2341
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2320
2342
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2343
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2321
2344
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2322
2345
|
|
|
2323
2346
|
header_params = {}
|
|
@@ -2401,10 +2424,11 @@ module Google
|
|
|
2401
2424
|
# Customize the options with defaults
|
|
2402
2425
|
metadata = @config.rpcs.get_pool.metadata.to_h
|
|
2403
2426
|
|
|
2404
|
-
# Set x-goog-api-client
|
|
2427
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2405
2428
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2406
2429
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2407
2430
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2431
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2408
2432
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2409
2433
|
|
|
2410
2434
|
header_params = {}
|
|
@@ -2515,10 +2539,11 @@ module Google
|
|
|
2515
2539
|
# Customize the options with defaults
|
|
2516
2540
|
metadata = @config.rpcs.update_pool.metadata.to_h
|
|
2517
2541
|
|
|
2518
|
-
# Set x-goog-api-client
|
|
2542
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2519
2543
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2520
2544
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2521
2545
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
2546
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2522
2547
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2523
2548
|
|
|
2524
2549
|
header_params = {}
|
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module LivestreamService
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "livestream.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -192,10 +195,11 @@ module Google
|
|
|
192
195
|
# Customize the options with defaults
|
|
193
196
|
metadata = @config.rpcs.list_operations.metadata.to_h
|
|
194
197
|
|
|
195
|
-
# Set x-goog-api-client
|
|
198
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
196
199
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
197
200
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
198
201
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
202
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
199
203
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
200
204
|
|
|
201
205
|
header_params = {}
|
|
@@ -288,10 +292,11 @@ module Google
|
|
|
288
292
|
# Customize the options with defaults
|
|
289
293
|
metadata = @config.rpcs.get_operation.metadata.to_h
|
|
290
294
|
|
|
291
|
-
# Set x-goog-api-client
|
|
295
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
292
296
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
293
297
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
294
298
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
299
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
295
300
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
296
301
|
|
|
297
302
|
header_params = {}
|
|
@@ -377,10 +382,11 @@ module Google
|
|
|
377
382
|
# Customize the options with defaults
|
|
378
383
|
metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
379
384
|
|
|
380
|
-
# Set x-goog-api-client
|
|
385
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
381
386
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
382
387
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
383
388
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
389
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
384
390
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
385
391
|
|
|
386
392
|
header_params = {}
|
|
@@ -471,10 +477,11 @@ module Google
|
|
|
471
477
|
# Customize the options with defaults
|
|
472
478
|
metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
473
479
|
|
|
474
|
-
# Set x-goog-api-client
|
|
480
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
475
481
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
476
482
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
477
483
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
484
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
478
485
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
479
486
|
|
|
480
487
|
header_params = {}
|
|
@@ -575,10 +582,11 @@ module Google
|
|
|
575
582
|
# Customize the options with defaults
|
|
576
583
|
metadata = @config.rpcs.wait_operation.metadata.to_h
|
|
577
584
|
|
|
578
|
-
# Set x-goog-api-client
|
|
585
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
579
586
|
metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
580
587
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
581
588
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION
|
|
589
|
+
metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
582
590
|
metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
583
591
|
|
|
584
592
|
options.apply_defaults timeout: @config.rpcs.wait_operation.timeout,
|
|
@@ -38,6 +38,9 @@ module Google
|
|
|
38
38
|
# Protocol (RTMP) and Secure Reliable Transport (SRT).
|
|
39
39
|
#
|
|
40
40
|
class Client
|
|
41
|
+
# @private
|
|
42
|
+
API_VERSION = ""
|
|
43
|
+
|
|
41
44
|
# @private
|
|
42
45
|
DEFAULT_ENDPOINT_TEMPLATE = "livestream.$UNIVERSE_DOMAIN$"
|
|
43
46
|
|
|
@@ -321,12 +324,13 @@ module Google
|
|
|
321
324
|
# Customize the options with defaults
|
|
322
325
|
call_metadata = @config.rpcs.create_channel.metadata.to_h
|
|
323
326
|
|
|
324
|
-
# Set x-goog-api-client
|
|
327
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
325
328
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
326
329
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
327
330
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
328
331
|
transports_version_send: [:rest]
|
|
329
332
|
|
|
333
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
330
334
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
331
335
|
|
|
332
336
|
options.apply_defaults timeout: @config.rpcs.create_channel.timeout,
|
|
@@ -418,12 +422,13 @@ module Google
|
|
|
418
422
|
# Customize the options with defaults
|
|
419
423
|
call_metadata = @config.rpcs.list_channels.metadata.to_h
|
|
420
424
|
|
|
421
|
-
# Set x-goog-api-client
|
|
425
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
422
426
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
423
427
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
424
428
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
425
429
|
transports_version_send: [:rest]
|
|
426
430
|
|
|
431
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
427
432
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
428
433
|
|
|
429
434
|
options.apply_defaults timeout: @config.rpcs.list_channels.timeout,
|
|
@@ -497,12 +502,13 @@ module Google
|
|
|
497
502
|
# Customize the options with defaults
|
|
498
503
|
call_metadata = @config.rpcs.get_channel.metadata.to_h
|
|
499
504
|
|
|
500
|
-
# Set x-goog-api-client
|
|
505
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
501
506
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
502
507
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
503
508
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
504
509
|
transports_version_send: [:rest]
|
|
505
510
|
|
|
511
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
506
512
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
507
513
|
|
|
508
514
|
options.apply_defaults timeout: @config.rpcs.get_channel.timeout,
|
|
@@ -602,12 +608,13 @@ module Google
|
|
|
602
608
|
# Customize the options with defaults
|
|
603
609
|
call_metadata = @config.rpcs.delete_channel.metadata.to_h
|
|
604
610
|
|
|
605
|
-
# Set x-goog-api-client
|
|
611
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
606
612
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
607
613
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
608
614
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
609
615
|
transports_version_send: [:rest]
|
|
610
616
|
|
|
617
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
611
618
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
612
619
|
|
|
613
620
|
options.apply_defaults timeout: @config.rpcs.delete_channel.timeout,
|
|
@@ -723,12 +730,13 @@ module Google
|
|
|
723
730
|
# Customize the options with defaults
|
|
724
731
|
call_metadata = @config.rpcs.update_channel.metadata.to_h
|
|
725
732
|
|
|
726
|
-
# Set x-goog-api-client
|
|
733
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
727
734
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
728
735
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
729
736
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
730
737
|
transports_version_send: [:rest]
|
|
731
738
|
|
|
739
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
732
740
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
733
741
|
|
|
734
742
|
options.apply_defaults timeout: @config.rpcs.update_channel.timeout,
|
|
@@ -825,12 +833,13 @@ module Google
|
|
|
825
833
|
# Customize the options with defaults
|
|
826
834
|
call_metadata = @config.rpcs.start_channel.metadata.to_h
|
|
827
835
|
|
|
828
|
-
# Set x-goog-api-client
|
|
836
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
829
837
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
830
838
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
831
839
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
832
840
|
transports_version_send: [:rest]
|
|
833
841
|
|
|
842
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
834
843
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
835
844
|
|
|
836
845
|
options.apply_defaults timeout: @config.rpcs.start_channel.timeout,
|
|
@@ -927,12 +936,13 @@ module Google
|
|
|
927
936
|
# Customize the options with defaults
|
|
928
937
|
call_metadata = @config.rpcs.stop_channel.metadata.to_h
|
|
929
938
|
|
|
930
|
-
# Set x-goog-api-client
|
|
939
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
931
940
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
932
941
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
933
942
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
934
943
|
transports_version_send: [:rest]
|
|
935
944
|
|
|
945
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
936
946
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
937
947
|
|
|
938
948
|
options.apply_defaults timeout: @config.rpcs.stop_channel.timeout,
|
|
@@ -1034,12 +1044,13 @@ module Google
|
|
|
1034
1044
|
# Customize the options with defaults
|
|
1035
1045
|
call_metadata = @config.rpcs.create_input.metadata.to_h
|
|
1036
1046
|
|
|
1037
|
-
# Set x-goog-api-client
|
|
1047
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1038
1048
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1039
1049
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1040
1050
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1041
1051
|
transports_version_send: [:rest]
|
|
1042
1052
|
|
|
1053
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1043
1054
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1044
1055
|
|
|
1045
1056
|
options.apply_defaults timeout: @config.rpcs.create_input.timeout,
|
|
@@ -1131,12 +1142,13 @@ module Google
|
|
|
1131
1142
|
# Customize the options with defaults
|
|
1132
1143
|
call_metadata = @config.rpcs.list_inputs.metadata.to_h
|
|
1133
1144
|
|
|
1134
|
-
# Set x-goog-api-client
|
|
1145
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1135
1146
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1136
1147
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1137
1148
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1138
1149
|
transports_version_send: [:rest]
|
|
1139
1150
|
|
|
1151
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1140
1152
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1141
1153
|
|
|
1142
1154
|
options.apply_defaults timeout: @config.rpcs.list_inputs.timeout,
|
|
@@ -1210,12 +1222,13 @@ module Google
|
|
|
1210
1222
|
# Customize the options with defaults
|
|
1211
1223
|
call_metadata = @config.rpcs.get_input.metadata.to_h
|
|
1212
1224
|
|
|
1213
|
-
# Set x-goog-api-client
|
|
1225
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1214
1226
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1215
1227
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1216
1228
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1217
1229
|
transports_version_send: [:rest]
|
|
1218
1230
|
|
|
1231
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1219
1232
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1220
1233
|
|
|
1221
1234
|
options.apply_defaults timeout: @config.rpcs.get_input.timeout,
|
|
@@ -1310,12 +1323,13 @@ module Google
|
|
|
1310
1323
|
# Customize the options with defaults
|
|
1311
1324
|
call_metadata = @config.rpcs.delete_input.metadata.to_h
|
|
1312
1325
|
|
|
1313
|
-
# Set x-goog-api-client
|
|
1326
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1314
1327
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1315
1328
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1316
1329
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1317
1330
|
transports_version_send: [:rest]
|
|
1318
1331
|
|
|
1332
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1319
1333
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1320
1334
|
|
|
1321
1335
|
options.apply_defaults timeout: @config.rpcs.delete_input.timeout,
|
|
@@ -1423,12 +1437,13 @@ module Google
|
|
|
1423
1437
|
# Customize the options with defaults
|
|
1424
1438
|
call_metadata = @config.rpcs.update_input.metadata.to_h
|
|
1425
1439
|
|
|
1426
|
-
# Set x-goog-api-client
|
|
1440
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1427
1441
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1428
1442
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1429
1443
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1430
1444
|
transports_version_send: [:rest]
|
|
1431
1445
|
|
|
1446
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1432
1447
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1433
1448
|
|
|
1434
1449
|
options.apply_defaults timeout: @config.rpcs.update_input.timeout,
|
|
@@ -1523,12 +1538,13 @@ module Google
|
|
|
1523
1538
|
# Customize the options with defaults
|
|
1524
1539
|
call_metadata = @config.rpcs.create_event.metadata.to_h
|
|
1525
1540
|
|
|
1526
|
-
# Set x-goog-api-client
|
|
1541
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1527
1542
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1528
1543
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1529
1544
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1530
1545
|
transports_version_send: [:rest]
|
|
1531
1546
|
|
|
1547
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1532
1548
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1533
1549
|
|
|
1534
1550
|
options.apply_defaults timeout: @config.rpcs.create_event.timeout,
|
|
@@ -1619,12 +1635,13 @@ module Google
|
|
|
1619
1635
|
# Customize the options with defaults
|
|
1620
1636
|
call_metadata = @config.rpcs.list_events.metadata.to_h
|
|
1621
1637
|
|
|
1622
|
-
# Set x-goog-api-client
|
|
1638
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1623
1639
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1624
1640
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1625
1641
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1626
1642
|
transports_version_send: [:rest]
|
|
1627
1643
|
|
|
1644
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1628
1645
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1629
1646
|
|
|
1630
1647
|
options.apply_defaults timeout: @config.rpcs.list_events.timeout,
|
|
@@ -1698,12 +1715,13 @@ module Google
|
|
|
1698
1715
|
# Customize the options with defaults
|
|
1699
1716
|
call_metadata = @config.rpcs.get_event.metadata.to_h
|
|
1700
1717
|
|
|
1701
|
-
# Set x-goog-api-client
|
|
1718
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1702
1719
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1703
1720
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1704
1721
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1705
1722
|
transports_version_send: [:rest]
|
|
1706
1723
|
|
|
1724
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1707
1725
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1708
1726
|
|
|
1709
1727
|
options.apply_defaults timeout: @config.rpcs.get_event.timeout,
|
|
@@ -1791,12 +1809,13 @@ module Google
|
|
|
1791
1809
|
# Customize the options with defaults
|
|
1792
1810
|
call_metadata = @config.rpcs.delete_event.metadata.to_h
|
|
1793
1811
|
|
|
1794
|
-
# Set x-goog-api-client
|
|
1812
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1795
1813
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1796
1814
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1797
1815
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1798
1816
|
transports_version_send: [:rest]
|
|
1799
1817
|
|
|
1818
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1800
1819
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1801
1820
|
|
|
1802
1821
|
options.apply_defaults timeout: @config.rpcs.delete_event.timeout,
|
|
@@ -1898,12 +1917,13 @@ module Google
|
|
|
1898
1917
|
# Customize the options with defaults
|
|
1899
1918
|
call_metadata = @config.rpcs.create_asset.metadata.to_h
|
|
1900
1919
|
|
|
1901
|
-
# Set x-goog-api-client
|
|
1920
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
1902
1921
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
1903
1922
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
1904
1923
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
1905
1924
|
transports_version_send: [:rest]
|
|
1906
1925
|
|
|
1926
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
1907
1927
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
1908
1928
|
|
|
1909
1929
|
options.apply_defaults timeout: @config.rpcs.create_asset.timeout,
|
|
@@ -1999,12 +2019,13 @@ module Google
|
|
|
1999
2019
|
# Customize the options with defaults
|
|
2000
2020
|
call_metadata = @config.rpcs.delete_asset.metadata.to_h
|
|
2001
2021
|
|
|
2002
|
-
# Set x-goog-api-client
|
|
2022
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2003
2023
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2004
2024
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2005
2025
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
2006
2026
|
transports_version_send: [:rest]
|
|
2007
2027
|
|
|
2028
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2008
2029
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2009
2030
|
|
|
2010
2031
|
options.apply_defaults timeout: @config.rpcs.delete_asset.timeout,
|
|
@@ -2079,12 +2100,13 @@ module Google
|
|
|
2079
2100
|
# Customize the options with defaults
|
|
2080
2101
|
call_metadata = @config.rpcs.get_asset.metadata.to_h
|
|
2081
2102
|
|
|
2082
|
-
# Set x-goog-api-client
|
|
2103
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2083
2104
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2084
2105
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2085
2106
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
2086
2107
|
transports_version_send: [:rest]
|
|
2087
2108
|
|
|
2109
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2088
2110
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2089
2111
|
|
|
2090
2112
|
options.apply_defaults timeout: @config.rpcs.get_asset.timeout,
|
|
@@ -2171,12 +2193,13 @@ module Google
|
|
|
2171
2193
|
# Customize the options with defaults
|
|
2172
2194
|
call_metadata = @config.rpcs.list_assets.metadata.to_h
|
|
2173
2195
|
|
|
2174
|
-
# Set x-goog-api-client
|
|
2196
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2175
2197
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2176
2198
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2177
2199
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
2178
2200
|
transports_version_send: [:rest]
|
|
2179
2201
|
|
|
2202
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2180
2203
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2181
2204
|
|
|
2182
2205
|
options.apply_defaults timeout: @config.rpcs.list_assets.timeout,
|
|
@@ -2250,12 +2273,13 @@ module Google
|
|
|
2250
2273
|
# Customize the options with defaults
|
|
2251
2274
|
call_metadata = @config.rpcs.get_pool.metadata.to_h
|
|
2252
2275
|
|
|
2253
|
-
# Set x-goog-api-client
|
|
2276
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2254
2277
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2255
2278
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2256
2279
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
2257
2280
|
transports_version_send: [:rest]
|
|
2258
2281
|
|
|
2282
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2259
2283
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2260
2284
|
|
|
2261
2285
|
options.apply_defaults timeout: @config.rpcs.get_pool.timeout,
|
|
@@ -2357,12 +2381,13 @@ module Google
|
|
|
2357
2381
|
# Customize the options with defaults
|
|
2358
2382
|
call_metadata = @config.rpcs.update_pool.metadata.to_h
|
|
2359
2383
|
|
|
2360
|
-
# Set x-goog-api-client
|
|
2384
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
2361
2385
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
2362
2386
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
2363
2387
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
2364
2388
|
transports_version_send: [:rest]
|
|
2365
2389
|
|
|
2390
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
2366
2391
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
2367
2392
|
|
|
2368
2393
|
options.apply_defaults timeout: @config.rpcs.update_pool.timeout,
|
|
@@ -27,6 +27,9 @@ module Google
|
|
|
27
27
|
module Rest
|
|
28
28
|
# Service that implements Longrunning Operations API.
|
|
29
29
|
class Operations
|
|
30
|
+
# @private
|
|
31
|
+
API_VERSION = ""
|
|
32
|
+
|
|
30
33
|
# @private
|
|
31
34
|
DEFAULT_ENDPOINT_TEMPLATE = "livestream.$UNIVERSE_DOMAIN$"
|
|
32
35
|
|
|
@@ -182,12 +185,13 @@ module Google
|
|
|
182
185
|
# Customize the options with defaults
|
|
183
186
|
call_metadata = @config.rpcs.list_operations.metadata.to_h
|
|
184
187
|
|
|
185
|
-
# Set x-goog-api-client
|
|
188
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
186
189
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
187
190
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
188
191
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
189
192
|
transports_version_send: [:rest]
|
|
190
193
|
|
|
194
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
191
195
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
192
196
|
|
|
193
197
|
options.apply_defaults timeout: @config.rpcs.list_operations.timeout,
|
|
@@ -270,12 +274,13 @@ module Google
|
|
|
270
274
|
# Customize the options with defaults
|
|
271
275
|
call_metadata = @config.rpcs.get_operation.metadata.to_h
|
|
272
276
|
|
|
273
|
-
# Set x-goog-api-client
|
|
277
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
274
278
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
275
279
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
276
280
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
277
281
|
transports_version_send: [:rest]
|
|
278
282
|
|
|
283
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
279
284
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
280
285
|
|
|
281
286
|
options.apply_defaults timeout: @config.rpcs.get_operation.timeout,
|
|
@@ -352,12 +357,13 @@ module Google
|
|
|
352
357
|
# Customize the options with defaults
|
|
353
358
|
call_metadata = @config.rpcs.delete_operation.metadata.to_h
|
|
354
359
|
|
|
355
|
-
# Set x-goog-api-client
|
|
360
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
356
361
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
357
362
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
358
363
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
359
364
|
transports_version_send: [:rest]
|
|
360
365
|
|
|
366
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
361
367
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
362
368
|
|
|
363
369
|
options.apply_defaults timeout: @config.rpcs.delete_operation.timeout,
|
|
@@ -439,12 +445,13 @@ module Google
|
|
|
439
445
|
# Customize the options with defaults
|
|
440
446
|
call_metadata = @config.rpcs.cancel_operation.metadata.to_h
|
|
441
447
|
|
|
442
|
-
# Set x-goog-api-client
|
|
448
|
+
# Set x-goog-api-client, x-goog-user-project and x-goog-api-version headers
|
|
443
449
|
call_metadata[:"x-goog-api-client"] ||= ::Gapic::Headers.x_goog_api_client \
|
|
444
450
|
lib_name: @config.lib_name, lib_version: @config.lib_version,
|
|
445
451
|
gapic_version: ::Google::Cloud::Video::LiveStream::V1::VERSION,
|
|
446
452
|
transports_version_send: [:rest]
|
|
447
453
|
|
|
454
|
+
call_metadata[:"x-goog-api-version"] = API_VERSION unless API_VERSION.empty?
|
|
448
455
|
call_metadata[:"x-goog-user-project"] = @quota_project_id if @quota_project_id
|
|
449
456
|
|
|
450
457
|
options.apply_defaults timeout: @config.rpcs.cancel_operation.timeout,
|
|
@@ -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-video-live_stream-v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 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-
|
|
11
|
+
date: 2024-07-10 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: gapic-common
|