class Google::Apis::YoutubeV3::SearchResult
A search result contains information about a YouTube video, channel, or playlist that matches the search parameters specified in an API request. While a search result points to a uniquely identifiable resource, like a video, it does not have its own persistent data.
Attributes
Etag of this resource. Corresponds to the JSON property `etag` @return [String]
A resource id is a generic reference that points to another YouTube resource. Corresponds to the JSON property `id` @return [Google::Apis::YoutubeV3::ResourceId]
Identifies what kind of resource this is. Value: the fixed string “youtube# searchResult”. Corresponds to the JSON property `kind` @return [String]
Basic details about a search result, including title, description and thumbnails of the item referenced by the search result. Corresponds to the JSON property `snippet` @return [Google::Apis::YoutubeV3::SearchResultSnippet]
Public Class Methods
# File generated/google/apis/youtube_v3/classes.rb, line 6011 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/youtube_v3/classes.rb, line 6016 def update!(**args) @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) end