Class: Google::Apis::YoutubeV3::LiveBroadcast
- Inherits:
-
Object
- Object
- Google::Apis::YoutubeV3::LiveBroadcast
- 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
A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
Instance Attribute Summary collapse
-
#content_details ⇒ Google::Apis::YoutubeV3::LiveBroadcastContentDetails
Detailed settings of a broadcast.
-
#etag ⇒ String
Etag of this resource.
-
#id ⇒ String
The ID that YouTube assigns to uniquely identify the broadcast.
-
#kind ⇒ String
Identifies what kind of resource this is.
-
#snippet ⇒ Google::Apis::YoutubeV3::LiveBroadcastSnippet
The snippet object contains basic details about the event, including its title, description, start time, and end time.
-
#statistics ⇒ Google::Apis::YoutubeV3::LiveBroadcastStatistics
Statistics about the live broadcast.
-
#status ⇒ Google::Apis::YoutubeV3::LiveBroadcastStatus
The status object contains information about the event's status.
-
#topic_details ⇒ Google::Apis::YoutubeV3::LiveBroadcastTopicDetails
Corresponds to the JSON property
topicDetails
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ LiveBroadcast
constructor
A new instance of LiveBroadcast.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ LiveBroadcast
Returns a new instance of LiveBroadcast
3706 3707 3708 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3706 def initialize(**args) update!(**args) end |
Instance Attribute Details
#content_details ⇒ Google::Apis::YoutubeV3::LiveBroadcastContentDetails
Detailed settings of a broadcast.
Corresponds to the JSON property contentDetails
3666 3667 3668 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3666 def content_details @content_details end |
#etag ⇒ String
Etag of this resource.
Corresponds to the JSON property etag
3671 3672 3673 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3671 def etag @etag end |
#id ⇒ String
The ID that YouTube assigns to uniquely identify the broadcast.
Corresponds to the JSON property id
3676 3677 3678 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3676 def id @id end |
#kind ⇒ String
Identifies what kind of resource this is. Value: the fixed string "youtube#
liveBroadcast".
Corresponds to the JSON property kind
3682 3683 3684 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3682 def kind @kind end |
#snippet ⇒ Google::Apis::YoutubeV3::LiveBroadcastSnippet
The snippet object contains basic details about the event, including its title,
description, start time, and end time.
Corresponds to the JSON property snippet
3688 3689 3690 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3688 def snippet @snippet end |
#statistics ⇒ Google::Apis::YoutubeV3::LiveBroadcastStatistics
Statistics about the live broadcast. These represent a snapshot of the values
at the time of the request. Statistics are only returned for live broadcasts.
Corresponds to the JSON property statistics
3694 3695 3696 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3694 def statistics @statistics end |
#status ⇒ Google::Apis::YoutubeV3::LiveBroadcastStatus
The status object contains information about the event's status.
Corresponds to the JSON property status
3699 3700 3701 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3699 def status @status end |
#topic_details ⇒ Google::Apis::YoutubeV3::LiveBroadcastTopicDetails
Corresponds to the JSON property topicDetails
3704 3705 3706 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3704 def topic_details @topic_details end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 |
# File 'generated/google/apis/youtube_v3/classes.rb', line 3711 def update!(**args) @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) @statistics = args[:statistics] if args.key?(:statistics) @status = args[:status] if args.key?(:status) @topic_details = args[:topic_details] if args.key?(:topic_details) end |