google-cloud-video-live_stream-v1 1.1.1 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +31 -21
- data/lib/google/cloud/video/live_stream/v1/livestream_service/client.rb +53 -27
- data/lib/google/cloud/video/live_stream/v1/livestream_service/operations.rb +19 -15
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/client.rb +48 -27
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/operations.rb +50 -38
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/service_stub.rb +222 -158
- data/lib/google/cloud/video/live_stream/v1/version.rb +1 -1
- data/proto_docs/google/api/client.rb +39 -0
- data/proto_docs/google/cloud/video/livestream/v1/outputs.rb +14 -0
- data/proto_docs/google/cloud/video/livestream/v1/resources.rb +22 -0
- data/proto_docs/google/longrunning/operations.rb +23 -14
- data/proto_docs/google/type/datetime.rb +4 -0
- metadata +6 -9
@@ -28,6 +28,9 @@ module Google
|
|
28
28
|
# @!attribute [rw] destinations
|
29
29
|
# @return [::Array<::Google::Api::ClientLibraryDestination>]
|
30
30
|
# The destination where API teams want this client library to be published.
|
31
|
+
# @!attribute [rw] selective_gapic_generation
|
32
|
+
# @return [::Google::Api::SelectiveGapicGeneration]
|
33
|
+
# Configuration for which RPCs should be generated in the GAPIC client.
|
31
34
|
class CommonLanguageSettings
|
32
35
|
include ::Google::Protobuf::MessageExts
|
33
36
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -212,6 +215,12 @@ module Google
|
|
212
215
|
# enabled. By default, asynchronous REST clients will not be generated.
|
213
216
|
# This feature will be enabled by default 1 month after launching the
|
214
217
|
# feature in preview packages.
|
218
|
+
# @!attribute [rw] protobuf_pythonic_types_enabled
|
219
|
+
# @return [::Boolean]
|
220
|
+
# Enables generation of protobuf code using new types that are more
|
221
|
+
# Pythonic which are included in `protobuf>=5.29.x`. This feature will be
|
222
|
+
# enabled by default 1 month after launching the feature in preview
|
223
|
+
# packages.
|
215
224
|
class ExperimentalFeatures
|
216
225
|
include ::Google::Protobuf::MessageExts
|
217
226
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -297,9 +306,28 @@ module Google
|
|
297
306
|
# @!attribute [rw] common
|
298
307
|
# @return [::Google::Api::CommonLanguageSettings]
|
299
308
|
# Some settings.
|
309
|
+
# @!attribute [rw] renamed_services
|
310
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
311
|
+
# Map of service names to renamed services. Keys are the package relative
|
312
|
+
# service names and values are the name to be used for the service client
|
313
|
+
# and call options.
|
314
|
+
#
|
315
|
+
# publishing:
|
316
|
+
# go_settings:
|
317
|
+
# renamed_services:
|
318
|
+
# Publisher: TopicAdmin
|
300
319
|
class GoSettings
|
301
320
|
include ::Google::Protobuf::MessageExts
|
302
321
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
|
323
|
+
# @!attribute [rw] key
|
324
|
+
# @return [::String]
|
325
|
+
# @!attribute [rw] value
|
326
|
+
# @return [::String]
|
327
|
+
class RenamedServicesEntry
|
328
|
+
include ::Google::Protobuf::MessageExts
|
329
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
330
|
+
end
|
303
331
|
end
|
304
332
|
|
305
333
|
# Describes the generator configuration for a method.
|
@@ -375,6 +403,17 @@ module Google
|
|
375
403
|
end
|
376
404
|
end
|
377
405
|
|
406
|
+
# This message is used to configure the generation of a subset of the RPCs in
|
407
|
+
# a service for client libraries.
|
408
|
+
# @!attribute [rw] methods
|
409
|
+
# @return [::Array<::String>]
|
410
|
+
# An allowlist of the fully qualified names of RPCs that should be included
|
411
|
+
# on public client surfaces.
|
412
|
+
class SelectiveGapicGeneration
|
413
|
+
include ::Google::Protobuf::MessageExts
|
414
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
415
|
+
end
|
416
|
+
|
378
417
|
# The organization for which the client libraries are being published.
|
379
418
|
# Affects the url where generated docs are published, etc.
|
380
419
|
module ClientLibraryOrganization
|
@@ -33,12 +33,18 @@ module Google
|
|
33
33
|
# @!attribute [rw] video_stream
|
34
34
|
# @return [::Google::Cloud::Video::LiveStream::V1::VideoStream]
|
35
35
|
# Encoding of a video stream.
|
36
|
+
#
|
37
|
+
# Note: The following fields are mutually exclusive: `video_stream`, `audio_stream`, `text_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
36
38
|
# @!attribute [rw] audio_stream
|
37
39
|
# @return [::Google::Cloud::Video::LiveStream::V1::AudioStream]
|
38
40
|
# Encoding of an audio stream.
|
41
|
+
#
|
42
|
+
# Note: The following fields are mutually exclusive: `audio_stream`, `video_stream`, `text_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
39
43
|
# @!attribute [rw] text_stream
|
40
44
|
# @return [::Google::Cloud::Video::LiveStream::V1::TextStream]
|
41
45
|
# Encoding of a text stream. For example, closed captions or subtitles.
|
46
|
+
#
|
47
|
+
# Note: The following fields are mutually exclusive: `text_stream`, `video_stream`, `audio_stream`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
42
48
|
class ElementaryStream
|
43
49
|
include ::Google::Protobuf::MessageExts
|
44
50
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -307,6 +313,8 @@ module Google
|
|
307
313
|
# calculated by `gopFrameCount`/`frameRate`. The calculated GOP duration
|
308
314
|
# must satisfy the limitations on `gopDuration` as well.
|
309
315
|
# Valid range is [60, 600].
|
316
|
+
#
|
317
|
+
# Note: The following fields are mutually exclusive: `gop_frame_count`, `gop_duration`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
310
318
|
# @!attribute [rw] gop_duration
|
311
319
|
# @return [::Google::Protobuf::Duration]
|
312
320
|
# Select the GOP size based on the specified duration. The default is
|
@@ -317,6 +325,8 @@ module Google
|
|
317
325
|
# must be divisible by `gopDuration`. Valid range is [2s, 20s].
|
318
326
|
#
|
319
327
|
# All video streams in the same channel must have the same GOP size.
|
328
|
+
#
|
329
|
+
# Note: The following fields are mutually exclusive: `gop_duration`, `gop_frame_count`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
320
330
|
# @!attribute [rw] vbv_size_bits
|
321
331
|
# @return [::Integer]
|
322
332
|
# Size of the Video Buffering Verifier (VBV) buffer in bits. Must be
|
@@ -496,9 +506,13 @@ module Google
|
|
496
506
|
# @!attribute [rw] utc_offset
|
497
507
|
# @return [::Google::Protobuf::Duration]
|
498
508
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
509
|
+
#
|
510
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
499
511
|
# @!attribute [rw] time_zone
|
500
512
|
# @return [::Google::Type::TimeZone]
|
501
513
|
# Time zone e.g. "America/Los_Angeles".
|
514
|
+
#
|
515
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
502
516
|
class TimecodeConfig
|
503
517
|
include ::Google::Protobuf::MessageExts
|
504
518
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -519,21 +519,33 @@ module Google
|
|
519
519
|
# @!attribute [rw] input_switch
|
520
520
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::InputSwitchTask]
|
521
521
|
# Switches to another input stream.
|
522
|
+
#
|
523
|
+
# Note: The following fields are mutually exclusive: `input_switch`, `ad_break`, `return_to_program`, `slate`, `mute`, `unmute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
522
524
|
# @!attribute [rw] ad_break
|
523
525
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::AdBreakTask]
|
524
526
|
# Inserts a new ad opportunity.
|
527
|
+
#
|
528
|
+
# Note: The following fields are mutually exclusive: `ad_break`, `input_switch`, `return_to_program`, `slate`, `mute`, `unmute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
525
529
|
# @!attribute [rw] return_to_program
|
526
530
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::ReturnToProgramTask]
|
527
531
|
# Stops any running ad break.
|
532
|
+
#
|
533
|
+
# Note: The following fields are mutually exclusive: `return_to_program`, `input_switch`, `ad_break`, `slate`, `mute`, `unmute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
528
534
|
# @!attribute [rw] slate
|
529
535
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::SlateTask]
|
530
536
|
# Inserts a slate.
|
537
|
+
#
|
538
|
+
# Note: The following fields are mutually exclusive: `slate`, `input_switch`, `ad_break`, `return_to_program`, `mute`, `unmute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
531
539
|
# @!attribute [rw] mute
|
532
540
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::MuteTask]
|
533
541
|
# Mutes the stream.
|
542
|
+
#
|
543
|
+
# Note: The following fields are mutually exclusive: `mute`, `input_switch`, `ad_break`, `return_to_program`, `slate`, `unmute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
534
544
|
# @!attribute [rw] unmute
|
535
545
|
# @return [::Google::Cloud::Video::LiveStream::V1::Event::UnmuteTask]
|
536
546
|
# Unmutes the stream.
|
547
|
+
#
|
548
|
+
# Note: The following fields are mutually exclusive: `unmute`, `input_switch`, `ad_break`, `return_to_program`, `slate`, `mute`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
537
549
|
# @!attribute [rw] execute_now
|
538
550
|
# @return [::Boolean]
|
539
551
|
# When this field is set to true, the event will be executed at the earliest
|
@@ -795,9 +807,13 @@ module Google
|
|
795
807
|
# @!attribute [rw] video
|
796
808
|
# @return [::Google::Cloud::Video::LiveStream::V1::Asset::VideoAsset]
|
797
809
|
# VideoAsset represents a video.
|
810
|
+
#
|
811
|
+
# Note: The following fields are mutually exclusive: `video`, `image`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
798
812
|
# @!attribute [rw] image
|
799
813
|
# @return [::Google::Cloud::Video::LiveStream::V1::Asset::ImageAsset]
|
800
814
|
# ImageAsset represents an image.
|
815
|
+
#
|
816
|
+
# Note: The following fields are mutually exclusive: `image`, `video`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
801
817
|
# @!attribute [rw] crc32c
|
802
818
|
# @return [::String]
|
803
819
|
# Based64-encoded CRC32c checksum of the asset file. For more information,
|
@@ -886,12 +902,18 @@ module Google
|
|
886
902
|
# @!attribute [rw] aes128
|
887
903
|
# @return [::Google::Cloud::Video::LiveStream::V1::Encryption::Aes128Encryption]
|
888
904
|
# Configuration for HLS AES-128 encryption.
|
905
|
+
#
|
906
|
+
# Note: The following fields are mutually exclusive: `aes128`, `sample_aes`, `mpeg_cenc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
889
907
|
# @!attribute [rw] sample_aes
|
890
908
|
# @return [::Google::Cloud::Video::LiveStream::V1::Encryption::SampleAesEncryption]
|
891
909
|
# Configuration for HLS SAMPLE-AES encryption.
|
910
|
+
#
|
911
|
+
# Note: The following fields are mutually exclusive: `sample_aes`, `aes128`, `mpeg_cenc`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
892
912
|
# @!attribute [rw] mpeg_cenc
|
893
913
|
# @return [::Google::Cloud::Video::LiveStream::V1::Encryption::MpegCommonEncryption]
|
894
914
|
# Configuration for MPEG-Dash Common Encryption (MPEG-CENC).
|
915
|
+
#
|
916
|
+
# Note: The following fields are mutually exclusive: `mpeg_cenc`, `aes128`, `sample_aes`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
895
917
|
class Encryption
|
896
918
|
include ::Google::Protobuf::MessageExts
|
897
919
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -40,9 +40,11 @@ module Google
|
|
40
40
|
# @!attribute [rw] error
|
41
41
|
# @return [::Google::Rpc::Status]
|
42
42
|
# The error result of the operation in case of failure or cancellation.
|
43
|
+
#
|
44
|
+
# Note: The following fields are mutually exclusive: `error`, `response`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
43
45
|
# @!attribute [rw] response
|
44
46
|
# @return [::Google::Protobuf::Any]
|
45
|
-
# The normal response of the operation
|
47
|
+
# The normal, successful response of the operation. If the original
|
46
48
|
# method returns no data on success, such as `Delete`, the response is
|
47
49
|
# `google.protobuf.Empty`. If the original method is standard
|
48
50
|
# `Get`/`Create`/`Update`, the response should be the resource. For other
|
@@ -50,12 +52,15 @@ module Google
|
|
50
52
|
# is the original method name. For example, if the original method name
|
51
53
|
# is `TakeSnapshot()`, the inferred response type is
|
52
54
|
# `TakeSnapshotResponse`.
|
55
|
+
#
|
56
|
+
# Note: The following fields are mutually exclusive: `response`, `error`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
53
57
|
class Operation
|
54
58
|
include ::Google::Protobuf::MessageExts
|
55
59
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
56
60
|
end
|
57
61
|
|
58
|
-
# The request message for
|
62
|
+
# The request message for
|
63
|
+
# Operations.GetOperation.
|
59
64
|
# @!attribute [rw] name
|
60
65
|
# @return [::String]
|
61
66
|
# The name of the operation resource.
|
@@ -64,7 +69,8 @@ module Google
|
|
64
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
65
70
|
end
|
66
71
|
|
67
|
-
# The request message for
|
72
|
+
# The request message for
|
73
|
+
# Operations.ListOperations.
|
68
74
|
# @!attribute [rw] name
|
69
75
|
# @return [::String]
|
70
76
|
# The name of the operation's parent resource.
|
@@ -82,7 +88,8 @@ module Google
|
|
82
88
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
83
89
|
end
|
84
90
|
|
85
|
-
# The response message for
|
91
|
+
# The response message for
|
92
|
+
# Operations.ListOperations.
|
86
93
|
# @!attribute [rw] operations
|
87
94
|
# @return [::Array<::Google::Longrunning::Operation>]
|
88
95
|
# A list of operations that matches the specified filter in the request.
|
@@ -94,7 +101,8 @@ module Google
|
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
95
102
|
end
|
96
103
|
|
97
|
-
# The request message for
|
104
|
+
# The request message for
|
105
|
+
# Operations.CancelOperation.
|
98
106
|
# @!attribute [rw] name
|
99
107
|
# @return [::String]
|
100
108
|
# The name of the operation resource to be cancelled.
|
@@ -103,7 +111,8 @@ module Google
|
|
103
111
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
104
112
|
end
|
105
113
|
|
106
|
-
# The request message for
|
114
|
+
# The request message for
|
115
|
+
# Operations.DeleteOperation.
|
107
116
|
# @!attribute [rw] name
|
108
117
|
# @return [::String]
|
109
118
|
# The name of the operation resource to be deleted.
|
@@ -112,7 +121,8 @@ module Google
|
|
112
121
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
113
122
|
end
|
114
123
|
|
115
|
-
# The request message for
|
124
|
+
# The request message for
|
125
|
+
# Operations.WaitOperation.
|
116
126
|
# @!attribute [rw] name
|
117
127
|
# @return [::String]
|
118
128
|
# The name of the operation resource to wait on.
|
@@ -130,13 +140,12 @@ module Google
|
|
130
140
|
#
|
131
141
|
# Example:
|
132
142
|
#
|
133
|
-
#
|
134
|
-
#
|
135
|
-
#
|
136
|
-
#
|
137
|
-
#
|
138
|
-
# }
|
139
|
-
# }
|
143
|
+
# rpc Export(ExportRequest) returns (google.longrunning.Operation) {
|
144
|
+
# option (google.longrunning.operation_info) = {
|
145
|
+
# response_type: "ExportResponse"
|
146
|
+
# metadata_type: "ExportMetadata"
|
147
|
+
# };
|
148
|
+
# }
|
140
149
|
# @!attribute [rw] response_type
|
141
150
|
# @return [::String]
|
142
151
|
# Required. The message name of the primary return type for this
|
@@ -75,9 +75,13 @@ module Google
|
|
75
75
|
# UTC offset. Must be whole seconds, between -18 hours and +18 hours.
|
76
76
|
# For example, a UTC offset of -4:00 would be represented as
|
77
77
|
# { seconds: -14400 }.
|
78
|
+
#
|
79
|
+
# Note: The following fields are mutually exclusive: `utc_offset`, `time_zone`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
78
80
|
# @!attribute [rw] time_zone
|
79
81
|
# @return [::Google::Type::TimeZone]
|
80
82
|
# Time zone.
|
83
|
+
#
|
84
|
+
# Note: The following fields are mutually exclusive: `time_zone`, `utc_offset`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
81
85
|
class DateTime
|
82
86
|
include ::Google::Protobuf::MessageExts
|
83
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-video-live_stream-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date:
|
10
|
+
date: 2025-01-29 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: gapic-common
|
@@ -16,7 +15,7 @@ dependencies:
|
|
16
15
|
requirements:
|
17
16
|
- - ">="
|
18
17
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
18
|
+
version: 0.25.0
|
20
19
|
- - "<"
|
21
20
|
- !ruby/object:Gem::Version
|
22
21
|
version: 2.a
|
@@ -26,7 +25,7 @@ dependencies:
|
|
26
25
|
requirements:
|
27
26
|
- - ">="
|
28
27
|
- !ruby/object:Gem::Version
|
29
|
-
version: 0.
|
28
|
+
version: 0.25.0
|
30
29
|
- - "<"
|
31
30
|
- !ruby/object:Gem::Version
|
32
31
|
version: 2.a
|
@@ -118,7 +117,6 @@ homepage: https://github.com/googleapis/google-cloud-ruby
|
|
118
117
|
licenses:
|
119
118
|
- Apache-2.0
|
120
119
|
metadata: {}
|
121
|
-
post_install_message:
|
122
120
|
rdoc_options: []
|
123
121
|
require_paths:
|
124
122
|
- lib
|
@@ -126,15 +124,14 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
126
124
|
requirements:
|
127
125
|
- - ">="
|
128
126
|
- !ruby/object:Gem::Version
|
129
|
-
version: '
|
127
|
+
version: '3.0'
|
130
128
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
131
129
|
requirements:
|
132
130
|
- - ">="
|
133
131
|
- !ruby/object:Gem::Version
|
134
132
|
version: '0'
|
135
133
|
requirements: []
|
136
|
-
rubygems_version: 3.
|
137
|
-
signing_key:
|
134
|
+
rubygems_version: 3.6.2
|
138
135
|
specification_version: 4
|
139
136
|
summary: API Client library for the Live Stream V1 API
|
140
137
|
test_files: []
|