class Google::Apis::YoutubeV3::LiveStreamSnippet
Attributes
The ID that YouTube uses to uniquely identify the channel that is transmitting the stream. Corresponds to the JSON property `channelId` @return [String]
The stream's description. The value cannot be longer than 10000 characters. Corresponds to the JSON property `description` @return [String]
Corresponds to the JSON property `isDefaultStream` @return [Boolean]
Corresponds to the JSON property `isDefaultStream` @return [Boolean]
The date and time that the stream was created. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `publishedAt` @return [DateTime]
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
# File generated/google/apis/youtube_v3/classes.rb, line 5014 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 5019 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