Class: Google::Apis::YoutubeV3::LiveStreamContentDetails
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveStreamContentDetails
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/youtube_v3/classes.rb,
generated/google/apis/youtube_v3/representations.rb,
generated/google/apis/youtube_v3/representations.rb
Overview
Detailed settings of a stream.
Instance Attribute Summary collapse
-
#closed_captions_ingestion_url ⇒ String
The ingestion URL where the closed captions of this stream are sent.
-
#is_reusable ⇒ Boolean
(also: #is_reusable?)
Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveStreamContentDetails
constructor
A new instance of LiveStreamContentDetails.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveStreamContentDetails
Returns a new instance of LiveStreamContentDetails
4960 4961 4962 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#closed_captions_ingestion_url ⇒ String
The ingestion URL where the closed captions of this stream are sent.
Corresponds to the JSON property closedCaptionsIngestionUrl
4940 4941 4942 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4940 def closed_captions_ingestion_url @closed_captions_ingestion_url end |
#is_reusable ⇒ Boolean Also known as: is_reusable?
Indicates whether the stream is reusable, which means that it can be bound to multiple broadcasts. It is common for broadcasters to reuse the same stream for many different broadcasts if those broadcasts occur at different times. If you set this value to false, then the stream will not be reusable, which means that it can only be bound to one broadcast. Non-reusable streams differ from reusable streams in the following ways:
- A non-reusable stream can only be bound to one broadcast.
- A non-reusable stream might be deleted by an automated process after the broadcast ends.
- The liveStreams.list method does not list non-reusable streams if you call
the method and set the mine parameter to true. The only way to use that method
to retrieve the resource for a non-reusable stream is to use the id parameter
to identify the stream.
Corresponds to the JSON property
isReusable
4957 4958 4959 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4957 def is_reusable @is_reusable end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4965 4966 4967 4968 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 4965 def update!(**args) @closed_captions_ingestion_url = args[:closed_captions_ingestion_url] if args.key?(:closed_captions_ingestion_url) @is_reusable = args[:is_reusable] if args.key?(:is_reusable) end |