class Google::Apis::YoutubeV3::LiveStreamSnippet
Attributes
channel_id[RW]
The ID that YouTube uses to uniquely identify the channel that is transmitting the stream. Corresponds to the JSON property `channelId` @return [String]
description[RW]
The stream's description. The value cannot be longer than 10000 characters. Corresponds to the JSON property `description` @return [String]
is_default_stream[RW]
Corresponds to the JSON property `isDefaultStream` @return [Boolean]
is_default_stream?[RW]
Corresponds to the JSON property `isDefaultStream` @return [Boolean]
published_at[RW]
The date and time that the stream was created. Corresponds to the JSON property `publishedAt` @return [DateTime]
title[RW]
The stream's title. The value must be between 1 and 128 characters long. Corresponds to the JSON property `title` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/youtube_v3/classes.rb, line 5007 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 5012 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @description = args[:description] if args.key?(:description) @is_default_stream = args[:is_default_stream] if args.key?(:is_default_stream) @published_at = args[:published_at] if args.key?(:published_at) @title = args[:title] if args.key?(:title) end