google-cloud-video-live_stream-v1 2.3.0 → 2.4.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 +396 -14
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/client.rb +375 -14
- data/lib/google/cloud/video/live_stream/v1/livestream_service/rest/service_stub.rb +186 -0
- data/lib/google/cloud/video/live_stream/v1/version.rb +1 -1
- data/lib/google/cloud/video/livestream/v1/outputs_pb.rb +10 -1
- data/lib/google/cloud/video/livestream/v1/resources_pb.rb +6 -1
- data/lib/google/cloud/video/livestream/v1/service_pb.rb +5 -1
- data/lib/google/cloud/video/livestream/v1/service_services_pb.rb +7 -0
- data/proto_docs/google/cloud/video/livestream/v1/outputs.rb +254 -2
- data/proto_docs/google/cloud/video/livestream/v1/resources.rb +107 -14
- data/proto_docs/google/cloud/video/livestream/v1/service.rb +114 -14
- metadata +1 -1
@@ -33,8 +33,11 @@ module Google
|
|
33
33
|
# @!attribute [rw] asset_id
|
34
34
|
# @return [::String]
|
35
35
|
# Required. The ID of the asset resource to be created.
|
36
|
-
#
|
37
|
-
#
|
36
|
+
#
|
37
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
38
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
39
|
+
# In other words, it must match the following regex:
|
40
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
38
41
|
# @!attribute [rw] request_id
|
39
42
|
# @return [::String]
|
40
43
|
# A request ID to identify requests. Specify a unique request ID
|
@@ -139,8 +142,11 @@ module Google
|
|
139
142
|
# @!attribute [rw] channel_id
|
140
143
|
# @return [::String]
|
141
144
|
# Required. The ID of the channel resource to be created.
|
142
|
-
#
|
143
|
-
#
|
145
|
+
#
|
146
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
147
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
148
|
+
# In other words, it must match the following regex:
|
149
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
144
150
|
# @!attribute [rw] request_id
|
145
151
|
# @return [::String]
|
146
152
|
# A request ID to identify requests. Specify a unique request ID
|
@@ -341,6 +347,66 @@ module Google
|
|
341
347
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
342
348
|
end
|
343
349
|
|
350
|
+
# Request message for "LivestreamService.StartDistribution".
|
351
|
+
# @!attribute [rw] name
|
352
|
+
# @return [::String]
|
353
|
+
# Required. The name of the channel resource, in the form of:
|
354
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
355
|
+
# @!attribute [rw] distribution_keys
|
356
|
+
# @return [::Array<::String>]
|
357
|
+
# Optional. A list of keys to identify the distribution configuration in the
|
358
|
+
# channel resource. If left empty, all the distributions in the channel
|
359
|
+
# specification will be started.
|
360
|
+
# @!attribute [rw] request_id
|
361
|
+
# @return [::String]
|
362
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
363
|
+
# so that if you must retry your request, the server will know to ignore
|
364
|
+
# the request if it has already been completed. The server will guarantee
|
365
|
+
# that for at least 60 minutes since the first request.
|
366
|
+
#
|
367
|
+
# For example, consider a situation where you make an initial request and the
|
368
|
+
# request times out. If you make the request again with the same request ID,
|
369
|
+
# the server can check if original operation with the same request ID was
|
370
|
+
# received, and if so, will ignore the second request. This prevents clients
|
371
|
+
# from accidentally creating duplicate commitments.
|
372
|
+
#
|
373
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
374
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
375
|
+
class StartDistributionRequest
|
376
|
+
include ::Google::Protobuf::MessageExts
|
377
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
378
|
+
end
|
379
|
+
|
380
|
+
# Request message for "LivestreamService.StopDistribution".
|
381
|
+
# @!attribute [rw] name
|
382
|
+
# @return [::String]
|
383
|
+
# Required. The name of the channel resource, in the form of:
|
384
|
+
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
385
|
+
# @!attribute [rw] distribution_keys
|
386
|
+
# @return [::Array<::String>]
|
387
|
+
# Optional. A list of key to identify the distribution configuration in the
|
388
|
+
# channel resource. If left empty, all the distributions in the channel
|
389
|
+
# specification will be stopped.
|
390
|
+
# @!attribute [rw] request_id
|
391
|
+
# @return [::String]
|
392
|
+
# Optional. A request ID to identify requests. Specify a unique request ID
|
393
|
+
# so that if you must retry your request, the server will know to ignore
|
394
|
+
# the request if it has already been completed. The server will guarantee
|
395
|
+
# that for at least 60 minutes since the first request.
|
396
|
+
#
|
397
|
+
# For example, consider a situation where you make an initial request and the
|
398
|
+
# request times out. If you make the request again with the same request ID,
|
399
|
+
# the server can check if original operation with the same request ID was
|
400
|
+
# received, and if so, will ignore the second request. This prevents clients
|
401
|
+
# from accidentally creating duplicate commitments.
|
402
|
+
#
|
403
|
+
# The request ID must be a valid UUID with the exception that zero UUID is
|
404
|
+
# not supported `(00000000-0000-0000-0000-000000000000)`.
|
405
|
+
class StopDistributionRequest
|
406
|
+
include ::Google::Protobuf::MessageExts
|
407
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
408
|
+
end
|
409
|
+
|
344
410
|
# Request message for "LivestreamService.CreateInput".
|
345
411
|
# @!attribute [rw] parent
|
346
412
|
# @return [::String]
|
@@ -352,8 +418,11 @@ module Google
|
|
352
418
|
# @!attribute [rw] input_id
|
353
419
|
# @return [::String]
|
354
420
|
# Required. The ID of the input resource to be created.
|
355
|
-
#
|
356
|
-
#
|
421
|
+
#
|
422
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
423
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
424
|
+
# In other words, it must match the following regex:
|
425
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
357
426
|
# @!attribute [rw] request_id
|
358
427
|
# @return [::String]
|
359
428
|
# A request ID to identify requests. Specify a unique request ID
|
@@ -502,8 +571,11 @@ module Google
|
|
502
571
|
# @!attribute [rw] event_id
|
503
572
|
# @return [::String]
|
504
573
|
# Required. The ID of the event resource to be created.
|
505
|
-
#
|
506
|
-
#
|
574
|
+
#
|
575
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
576
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
577
|
+
# In other words, it must match the following regex:
|
578
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
507
579
|
# @!attribute [rw] request_id
|
508
580
|
# @return [::String]
|
509
581
|
# A request ID to identify requests. Specify a unique request ID
|
@@ -662,10 +734,12 @@ module Google
|
|
662
734
|
# `projects/{project}/locations/{location}/channels/{channel}`.
|
663
735
|
# @!attribute [rw] clip_id
|
664
736
|
# @return [::String]
|
665
|
-
# Required.
|
737
|
+
# Required. The ID of the clip resource to be created.
|
666
738
|
#
|
667
|
-
#
|
668
|
-
#
|
739
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
740
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
741
|
+
# In other words, it must match the following regex:
|
742
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
669
743
|
# @!attribute [rw] clip
|
670
744
|
# @return [::Google::Cloud::Video::LiveStream::V1::Clip]
|
671
745
|
# Required. The resource being created
|
@@ -768,10 +842,12 @@ module Google
|
|
768
842
|
# `projects/{project}/locations/{location}/channels/{channelId}`.
|
769
843
|
# @!attribute [rw] dvr_session_id
|
770
844
|
# @return [::String]
|
771
|
-
# Required.
|
845
|
+
# Required. The ID of the DVR session resource to be created.
|
772
846
|
#
|
773
|
-
#
|
774
|
-
#
|
847
|
+
# This value must be 1-63 characters, begin and end with a lower-case letter
|
848
|
+
# or a number, and consist of only lower-case letters, numbers, and hyphens.
|
849
|
+
# In other words, it must match the following regex:
|
850
|
+
# `^[a-z0-9]([a-z0-9-]{0,61}[a-z0-9])?$`.
|
775
851
|
# @!attribute [rw] dvr_session
|
776
852
|
# @return [::Google::Cloud::Video::LiveStream::V1::DvrSession]
|
777
853
|
# Required. The resource being created
|
@@ -925,6 +1001,30 @@ module Google
|
|
925
1001
|
include ::Google::Protobuf::MessageExts
|
926
1002
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
927
1003
|
end
|
1004
|
+
|
1005
|
+
# Request message for "LivestreamService.PreviewInput"
|
1006
|
+
# @!attribute [rw] name
|
1007
|
+
# @return [::String]
|
1008
|
+
# Required. The name of the input resource, in the form of:
|
1009
|
+
# `projects/{project}/locations/{location}/inputs/{inputId}`.
|
1010
|
+
class PreviewInputRequest
|
1011
|
+
include ::Google::Protobuf::MessageExts
|
1012
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1013
|
+
end
|
1014
|
+
|
1015
|
+
# Response message for "LivestreamService.PreviewInput"
|
1016
|
+
# @!attribute [rw] uri
|
1017
|
+
# @return [::String]
|
1018
|
+
# URI to display the preview content.
|
1019
|
+
# @!attribute [rw] bearer_token
|
1020
|
+
# @return [::String]
|
1021
|
+
# A bearer token used to authenticate connections that display the preview
|
1022
|
+
# content. The token expires after one hour. For HTTP connections, this token
|
1023
|
+
# should be included as a bearer token inside the Authorization header.
|
1024
|
+
class PreviewInputResponse
|
1025
|
+
include ::Google::Protobuf::MessageExts
|
1026
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
1027
|
+
end
|
928
1028
|
end
|
929
1029
|
end
|
930
1030
|
end
|