class Google::Apis::YoutubeV3::LiveStream

A live stream describes a live ingestion point.

Attributes

cdn[RW]

Brief description of the live stream cdn settings. Corresponds to the JSON property `cdn` @return [Google::Apis::YoutubeV3::CdnSettings]

content_details[RW]

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

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 stream. Corresponds to the JSON property `id` @return [String]

kind[RW]

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

snippet[RW]

The snippet object contains basic details about the stream, including its channel, title, and description. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::LiveStreamSnippet]

status[RW]

Brief description of the live stream status. Corresponds to the JSON property `status` @return [Google::Apis::YoutubeV3::LiveStreamStatus]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 4794
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