class Google::Apis::YoutubeV3::SearchResultSnippet
Basic details about a search result, including title, description and thumbnails of the item referenced by the search result.
Attributes
The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies. Corresponds to the JSON property `channelId` @return [String]
The title of the channel that published the resource that the search result identifies. Corresponds to the JSON property `channelTitle` @return [String]
A description of the search result. Corresponds to the JSON property `description` @return [String]
It indicates if the resource (video or channel) has upcoming/active live broadcast content. Or it's “none” if there is not any upcoming/active live broadcasts. Corresponds to the JSON property `liveBroadcastContent` @return [String]
The creation date and time of the resource that the search result identifies. The value is specified in ISO 8601 (YYYY-MM-DDThh:mm:ss.sZ) format. Corresponds to the JSON property `publishedAt` @return [DateTime]
Internal representation of thumbnails for a YouTube resource. Corresponds to the JSON property `thumbnails` @return [Google::Apis::YoutubeV3::ThumbnailDetails]
The title of the search result. Corresponds to the JSON property `title` @return [String]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 6069 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 6074 def update!(**args) @channel_id = args[:channel_id] if args.key?(:channel_id) @channel_title = args[:channel_title] if args.key?(:channel_title) @description = args[:description] if args.key?(:description) @live_broadcast_content = args[:live_broadcast_content] if args.key?(:live_broadcast_content) @published_at = args[:published_at] if args.key?(:published_at) @thumbnails = args[:thumbnails] if args.key?(:thumbnails) @title = args[:title] if args.key?(:title) end