class Google::Apis::YoutubeV3::LiveBroadcast

A liveBroadcast resource represents an event that will be streamed, via live video, on YouTube.

Attributes

content_details[RW]

Detailed settings of a broadcast. Corresponds to the JSON property `contentDetails` @return [Google::Apis::YoutubeV3::LiveBroadcastContentDetails]

etag[RW]

Etag of this resource. Corresponds to the JSON property `etag` @return [String]

id[RW]

The ID that YouTube assigns to uniquely identify the broadcast. Corresponds to the JSON property `id` @return [String]

kind[RW]

Identifies what kind of resource this is. Value: the fixed string “youtube# liveBroadcast”. Corresponds to the JSON property `kind` @return [String]

snippet[RW]

Basic broadcast information. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::LiveBroadcastSnippet]

statistics[RW]

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]

status[RW]

Live broadcast state. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::LiveBroadcastStatus]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 3533
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/youtube_v3/classes.rb, line 3538
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)
end