Class: Google::Apis::YoutubeV3::LiveStream
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveStream
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/youtube_v3/classes.rb,
lib/google/apis/youtube_v3/representations.rb,
lib/google/apis/youtube_v3/representations.rb
Overview
A live stream describes a live ingestion point.
Instance Attribute Summary collapse
-
#cdn ⇒ Google::Apis::YoutubeV3::CdnSettings
Brief description of the live stream cdn settings.
-
#content_details ⇒ Google::Apis::YoutubeV3::LiveStreamContentDetails
Detailed settings of a stream.
-
#etag ⇒ String
Etag of this resource.
-
#id ⇒ String
The ID that YouTube assigns to uniquely identify the stream.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#snippet ⇒ Google::Apis::YoutubeV3::LiveStreamSnippet
The snippet object contains basic details about the stream, including its channel, title, and description.
-
#status ⇒ Google::Apis::YoutubeV3::LiveStreamStatus
Brief description of the live stream status.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveStream
constructor
A new instance of LiveStream.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ LiveStream
Returns a new instance of LiveStream.
4924 4925 4926 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4924 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cdn ⇒ Google::Apis::YoutubeV3::CdnSettings
Brief description of the live stream cdn settings.
Corresponds to the JSON property cdn
4890 4891 4892 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4890 def cdn @cdn end |
#content_details ⇒ Google::Apis::YoutubeV3::LiveStreamContentDetails
Detailed settings of a stream.
Corresponds to the JSON property contentDetails
4895 4896 4897 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4895 def content_details @content_details end |
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
4900 4901 4902 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4900 def etag @etag end |
#id ⇒ String
The ID that YouTube assigns to uniquely identify the stream.
Corresponds to the JSON property id
4905 4906 4907 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4905 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
liveStream".
Corresponds to the JSON property kind
4911 4912 4913 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4911 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeV3::LiveStreamSnippet
The snippet object contains basic details about the stream, including its
channel, title, and description.
Corresponds to the JSON property snippet
4917 4918 4919 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4917 def snippet @snippet end |
#status ⇒ Google::Apis::YoutubeV3::LiveStreamStatus
Brief description of the live stream status.
Corresponds to the JSON property status
4922 4923 4924 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4922 def status @status end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4929 4930 4931 4932 4933 4934 4935 4936 4937 |
# File 'lib/google/apis/youtube_v3/classes.rb', line 4929 def update!(**args) @cdn = args[:cdn] if args.key?(:cdn) @content_details = args[:content_details] if args.key?(:content_details) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @snippet = args[:snippet] if args.key?(:snippet) @status = args[:status] if args.key?(:status) end |