Interface GoogleApiYouTubeSearchResource

Index

Properties

Properties

public etag: string

Etag of this resource.

public id: { kind: string; videoId: string; channelId: string; playlistId: string; }

The id object contains information that can be used to uniquely identify the resource that matches the search request.

public id.channelId: string

If the id.type propertys value is youtube#channel, then this property will be present and its value will contain the ID that YouTube uses to uniquely identify a channel that matches the search query.

public id.kind: string

The type of the API resource.

public id.playlistId: string

If the id.type propertys value is youtube#playlist, then this property will be present and its value will contain the ID that YouTube uses to uniquely identify a playlist that matches the search query.

public id.videoId: string

If the id.type propertys value is youtube#video, then this property will be present and its value will contain the ID that YouTube uses to uniquely identify a video that matches the search query.

public kind: string

The kind, fixed to "youtube#searchResult".

public snippet: { publishedAt: string; channelId: string; title: string; description: string; thumbnails: GoogleApiYouTubeThumbnailItemResource[]; channelTitle: string; }

The snippet object contains basic details about a search result, such as its title or description.

public snippet.channelId: string

The value that YouTube uses to uniquely identify the channel that published the resource that the search result identifies.

public snippet.channelTitle: string

The title of the channel that published the resource that the search result identifies.

public snippet.description: string

A description of the search result.

public snippet.publishedAt: 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.

public snippet.thumbnails: GoogleApiYouTubeThumbnailItemResource[]

A map of thumbnail images associated with the search result. For each object in the map, the key is the name of the thumbnail image, and the value is an object that contains other information about the thumbnail.

public snippet.title: string

The title of the search result.