Class 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.
Implements
Inherited Members
Namespace: Google.Apis.YouTube.v3.Data
Assembly: Google.Apis.YouTube.v3.dll
Syntax
public class SearchResult : IDirectResponseSchema
Properties
ETag
Etag of this resource.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Id
The id object contains information that can be used to uniquely identify the resource that matches the search request.
Declaration
[JsonProperty("id")]
public virtual ResourceId Id { get; set; }
Property Value
Type | Description |
---|---|
ResourceId |
Kind
Identifies what kind of resource this is. Value: the fixed string "youtube#searchResult".
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
Type | Description |
---|---|
string |
Snippet
The snippet object contains basic details about a search result, such as its title or description. For example, if the search result is a video, then the title will be the video's title and the description will be the video's description.
Declaration
[JsonProperty("snippet")]
public virtual SearchResultSnippet Snippet { get; set; }
Property Value
Type | Description |
---|---|
SearchResultSnippet |