class Google::Apis::YoutubeV3::LiveBroadcast
A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.
Attributes
Detailed settings of a broadcast. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeV3::LiveBroadcastContentDetails]
Etag of this resource. Corresponds to the JSON property `etag` @return [String]
The ID that YouTube assigns to uniquely identify the broadcast. Corresponds to the JSON property `id` @return [String]
Identifies what kind of resource this is. Value: the fixed string “youtube# liveBroadcast”. Corresponds to the JSON property `kind` @return [String]
The snippet object contains basic details about the event, including its title, description, start time, and end time. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::LiveBroadcastSnippet]
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` @return [Google::Apis::YoutubeV3::LiveBroadcastStatistics]
The status object contains information about the event's status. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::LiveBroadcastStatus]
Corresponds to the JSON property `topicDetails` @return [Google::Apis::YoutubeV3::LiveBroadcastTopicDetails]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 3688 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 3693 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