google_api_you_tube v0.4.0 GoogleApi.YouTube.V3.Model.SearchResult View Source

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 (String.t): Etag of this resource. Defaults to: null.
  • id (ResourceId): The id object contains information that can be used to uniquely identify the resource that matches the search request. Defaults to: null.
  • kind (String.t): Identifies what kind of resource this is. Value: the fixed string "youtube#searchResult". Defaults to: null.
  • snippet (SearchResultSnippet): 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. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.YouTube.V3.Model.SearchResult{
  etag: any(),
  id: GoogleApi.YouTube.V3.Model.ResourceId.t(),
  kind: any(),
  snippet: GoogleApi.YouTube.V3.Model.SearchResultSnippet.t()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.