youtube  v3
Public Types | Public Member Functions | Protected Member Functions | Properties | List of all members
Google.Apis.YouTube.v3.SearchResource.ListRequest Class Reference

Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource. More...

Inheritance diagram for Google.Apis.YouTube.v3.SearchResource.ListRequest:
Google.Apis.YouTube.v3.YouTubeBaseServiceRequest< Google.Apis.YouTube.v3.Data.SearchListResponse >

Public Types

enum  ChannelTypeEnum { ChannelTypeEnum.Any, ChannelTypeEnum.Show }
 The channelType parameter lets you restrict a search to a particular type of channel. More...
 
enum  EventTypeEnum { EventTypeEnum.Completed, EventTypeEnum.Live, EventTypeEnum.Upcoming }
 The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  OrderEnum {
  OrderEnum.Date, OrderEnum.Rating, OrderEnum.Relevance, OrderEnum.Title,
  OrderEnum.VideoCount, OrderEnum.ViewCount
}
 The order parameter specifies the method that will be used to order resources in the API response. More...
 
enum  SafeSearchEnum { SafeSearchEnum.Moderate, SafeSearchEnum.None, SafeSearchEnum.Strict }
 The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. More...
 
enum  VideoCaptionEnum { VideoCaptionEnum.Any, VideoCaptionEnum.ClosedCaption, VideoCaptionEnum.None }
 The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoDefinitionEnum { VideoDefinitionEnum.Any, VideoDefinitionEnum.High, VideoDefinitionEnum.Standard }
 The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoDimensionEnum { VideoDimensionEnum.Value2d, VideoDimensionEnum.Value3d, VideoDimensionEnum.Any }
 The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoDurationEnum { VideoDurationEnum.Any, VideoDurationEnum.Long__, VideoDurationEnum.Medium, VideoDurationEnum.Short__ }
 The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoEmbeddableEnum { VideoEmbeddableEnum.Any, VideoEmbeddableEnum.True__ }
 The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoLicenseEnum { VideoLicenseEnum.Any, VideoLicenseEnum.CreativeCommon, VideoLicenseEnum.Youtube }
 The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoSyndicatedEnum { VideoSyndicatedEnum.Any, VideoSyndicatedEnum.True__ }
 The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
enum  VideoTypeEnum { VideoTypeEnum.Any, VideoTypeEnum.Episode, VideoTypeEnum.Movie }
 The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 

Public Member Functions

 ListRequest (Google.Apis.Services.IClientService service, string part)
 Constructs a new List request. More...
 

Protected Member Functions

override void InitParameters ()
 Initializes List parameter list. More...
 
- Protected Member Functions inherited from Google.Apis.YouTube.v3.YouTubeBaseServiceRequest< Google.Apis.YouTube.v3.Data.SearchListResponse >
 YouTubeBaseServiceRequest (Google.Apis.Services.IClientService service)
 Constructs a new YouTubeBaseServiceRequest instance. More...
 
override void InitParameters ()
 Initializes YouTube parameter list. More...
 

Properties

virtual string Part [get]
 The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet. More...
 
virtual string ChannelId [get, set]
 The channelId parameter indicates that the API response should only contain resources created by the channel More...
 
virtual System.Nullable< ChannelTypeEnumChannelType [get, set]
 The channelType parameter lets you restrict a search to a particular type of channel. More...
 
virtual System.Nullable< EventTypeEnumEventType [get, set]
 The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< bool > ForContentOwner [get, set]
 Note: This parameter is intended exclusively for YouTube content partners. More...
 
virtual System.Nullable< bool > ForDeveloper [get, set]
 The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's own app or website but not to videos uploaded through other apps or sites. More...
 
virtual System.Nullable< bool > ForMine [get, set]
 The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type parameter's value must also be set to video. More...
 
virtual string Location [get, set]
 The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427). More...
 
virtual string LocationRadius [get, set]
 The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area. More...
 
virtual System.Nullable< long > MaxResults [get, set]
 The maxResults parameter specifies the maximum number of items that should be returned in the result set. More...
 
virtual string OnBehalfOfContentOwner [get, set]
 Note: This parameter is intended exclusively for YouTube content partners. More...
 
virtual System.Nullable< OrderEnumOrder [get, set]
 The order parameter specifies the method that will be used to order resources in the API response. More...
 
virtual string PageToken [get, set]
 The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved. More...
 
virtual System.Nullable< System.DateTime > PublishedAfter [get, set]
 The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). More...
 
virtual System.Nullable< System.DateTime > PublishedBefore [get, set]
 The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z). More...
 
virtual string Q [get, set]
 The q parameter specifies the query term to search for. More...
 
virtual string RegionCode [get, set]
 The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code. More...
 
virtual string RelatedToVideoId [get, set]
 The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video. More...
 
virtual string RelevanceLanguage [get, set]
 The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term. More...
 
virtual System.Nullable< SafeSearchEnumSafeSearch [get, set]
 The safeSearch parameter indicates whether the search results should include restricted content as well as standard content. More...
 
virtual string TopicId [get, set]
 The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID. More...
 
virtual string Type [get, set]
 The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types. More...
 
virtual System.Nullable< VideoCaptionEnumVideoCaption [get, set]
 The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual string VideoCategoryId [get, set]
 The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoDefinitionEnumVideoDefinition [get, set]
 The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoDimensionEnumVideoDimension [get, set]
 The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoDurationEnumVideoDuration [get, set]
 The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoEmbeddableEnumVideoEmbeddable [get, set]
 The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoLicenseEnumVideoLicense [get, set]
 The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoSyndicatedEnumVideoSyndicated [get, set]
 The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
virtual System.Nullable< VideoTypeEnumVideoType [get, set]
 The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video. More...
 
override string MethodName [get]
 Gets the method name. More...
 
override string HttpMethod [get]
 summary>Gets the REST path. More...
 
override string RestPath [get]
 
- Properties inherited from Google.Apis.YouTube.v3.YouTubeBaseServiceRequest< Google.Apis.YouTube.v3.Data.SearchListResponse >
virtual System.Nullable< AltEnum > Alt [get, set]
 Data format for the response. More...
 
virtual string Fields [get, set]
 Selector specifying which fields to include in a partial response. More...
 
virtual string Key [get, set]
 API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token. More...
 
virtual string OauthToken [get, set]
 OAuth 2.0 token for the current user. More...
 
virtual System.Nullable< bool > PrettyPrint [get, set]
 Returns response with indentations and line breaks. More...
 
virtual string QuotaUser [get, set]
 An opaque string that represents a user for quota purposes. Must not exceed 40 characters. More...
 
virtual string UserIp [get, set]
 Deprecated. Please use quotaUser instead. More...
 

Detailed Description

Returns a collection of search results that match the query parameters specified in the API request. By default, a search result set identifies matching video, channel, and playlist resources, but you can also configure queries to only retrieve a specific type of resource.

Member Enumeration Documentation

◆ ChannelTypeEnum

The channelType parameter lets you restrict a search to a particular type of channel.

Enumerator
Any 

Return all channels.

Show 

Only retrieve shows.

◆ EventTypeEnum

The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Completed 

Only include completed broadcasts.

Live 

Only include active broadcasts.

Upcoming 

Only include upcoming broadcasts.

◆ OrderEnum

The order parameter specifies the method that will be used to order resources in the API response.

Enumerator
Date 

Resources are sorted in reverse chronological order based on the date they were created.

Rating 

Resources are sorted from highest to lowest rating.

Relevance 

Resources are sorted based on their relevance to the search query. This is the default value for this parameter.

Title 

Resources are sorted alphabetically by title.

VideoCount 

Channels are sorted in descending order of their number of uploaded videos.

ViewCount 

Resources are sorted from highest to lowest number of views.

◆ SafeSearchEnum

The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.

Enumerator
Moderate 

YouTube will filter some content from search results and, at the least, will filter content that is restricted in your locale. Based on their content, search results could be removed from search results or demoted in search results. This is the default parameter value.

None 

YouTube will not filter the search result set.

Strict 

YouTube will try to exclude all restricted content from the search result set. Based on their content, search results could be removed from search results or demoted in search results.

◆ VideoCaptionEnum

The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Do not filter results based on caption availability.

ClosedCaption 

Only include videos that have captions.

None 

Only include videos that do not have captions.

◆ VideoDefinitionEnum

The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Return all videos, regardless of their resolution.

High 

Only retrieve HD videos.

Standard 

Only retrieve videos in standard definition.

◆ VideoDimensionEnum

The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Value2d 

Restrict search results to exclude 3D videos.

Value3d 

Restrict search results to only include 3D videos.

Any 

Include both 3D and non-3D videos in returned results. This is the default value.

◆ VideoDurationEnum

The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Do not filter video search results based on their duration. This is the default value.

Long__ 

Only include videos longer than 20 minutes.

Medium 

Only include videos that are between four and 20 minutes long (inclusive).

Short__ 

Only include videos that are less than four minutes long.

◆ VideoEmbeddableEnum

The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Return all videos, embeddable or not.

True__ 

Only retrieve embeddable videos.

◆ VideoLicenseEnum

The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Return all videos, regardless of which license they have, that match the query parameters.

CreativeCommon 

Only return videos that have a Creative Commons license. Users can reuse videos with this license in other videos that they create. Learn more.

Youtube 

Only return videos that have the standard YouTube license.

◆ VideoSyndicatedEnum

The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Return all videos, syndicated or not.

True__ 

Only retrieve syndicated videos.

◆ VideoTypeEnum

The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video.

Enumerator
Any 

Return all videos.

Episode 

Only retrieve episodes of shows.

Movie 

Only retrieve movies.

Constructor & Destructor Documentation

◆ ListRequest()

Google.Apis.YouTube.v3.SearchResource.ListRequest.ListRequest ( Google.Apis.Services.IClientService  service,
string  part 
)
inline

Constructs a new List request.

Member Function Documentation

◆ InitParameters()

override void Google.Apis.YouTube.v3.SearchResource.ListRequest.InitParameters ( )
inlineprotected

Initializes List parameter list.

Property Documentation

◆ ChannelId

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.ChannelId
getset

The channelId parameter indicates that the API response should only contain resources created by the channel

◆ ChannelType

virtual System.Nullable<ChannelTypeEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.ChannelType
getset

The channelType parameter lets you restrict a search to a particular type of channel.

◆ EventType

virtual System.Nullable<EventTypeEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.EventType
getset

The eventType parameter restricts a search to broadcast events. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ ForContentOwner

virtual System.Nullable<bool> Google.Apis.YouTube.v3.SearchResource.ListRequest.ForContentOwner
getset

Note: This parameter is intended exclusively for YouTube content partners.

The forContentOwner parameter restricts the search to only retrieve resources owned by the content owner specified by the onBehalfOfContentOwner parameter. The user must be authenticated using a CMS account linked to the specified content owner and onBehalfOfContentOwner must be provided.

◆ ForDeveloper

virtual System.Nullable<bool> Google.Apis.YouTube.v3.SearchResource.ListRequest.ForDeveloper
getset

The forDeveloper parameter restricts the search to only retrieve videos uploaded via the developer's application or website. The API server uses the request's authorization credentials to identify the developer. Therefore, a developer can restrict results to videos uploaded through the developer's own app or website but not to videos uploaded through other apps or sites.

◆ ForMine

virtual System.Nullable<bool> Google.Apis.YouTube.v3.SearchResource.ListRequest.ForMine
getset

The forMine parameter restricts the search to only retrieve videos owned by the authenticated user. If you set this parameter to true, then the type parameter's value must also be set to video.

◆ HttpMethod

override string Google.Apis.YouTube.v3.SearchResource.ListRequest.HttpMethod
get

summary>Gets the REST path.

◆ Location

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.Location
getset

The location parameter, in conjunction with the locationRadius parameter, defines a circular geographic area and also restricts a search to videos that specify, in their metadata, a geographic location that falls within that area. The parameter value is a string that specifies latitude/longitude coordinates e.g. (37.42307,-122.08427).

  • The location parameter value identifies the point at the center of the area. - The locationRadius parameter specifies the maximum distance that the location associated with a video can be from that point for the video to still be included in the search results.The API returns an error if your request specifies a value for the location parameter but does not also specify a value for the locationRadius parameter.

◆ LocationRadius

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.LocationRadius
getset

The locationRadius parameter, in conjunction with the location parameter, defines a circular geographic area.

The parameter value must be a floating point number followed by a measurement unit. Valid measurement units are m, km, ft, and mi. For example, valid parameter values include 1500m, 5km, 10000ft, and 0.75mi. The API does not support locationRadius parameter values larger than 1000 kilometers.

Note: See the definition of the location parameter for more information.

◆ MaxResults

virtual System.Nullable<long> Google.Apis.YouTube.v3.SearchResource.ListRequest.MaxResults
getset

The maxResults parameter specifies the maximum number of items that should be returned in the result set.

[default: 5] [minimum: 0] [maximum: 50]

◆ MethodName

override string Google.Apis.YouTube.v3.SearchResource.ListRequest.MethodName
get

Gets the method name.

summary>Gets the HTTP method.

◆ OnBehalfOfContentOwner

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.OnBehalfOfContentOwner
getset

Note: This parameter is intended exclusively for YouTube content partners.

The onBehalfOfContentOwner parameter indicates that the request's authorization credentials identify a YouTube CMS user who is acting on behalf of the content owner specified in the parameter value. This parameter is intended for YouTube content partners that own and manage many different YouTube channels. It allows content owners to authenticate once and get access to all their video and channel data, without having to provide authentication credentials for each individual channel. The CMS account that the user authenticates with must be linked to the specified YouTube content owner.

◆ Order

virtual System.Nullable<OrderEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.Order
getset

The order parameter specifies the method that will be used to order resources in the API response.

[default: SEARCH_SORT_RELEVANCE]

◆ PageToken

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.PageToken
getset

The pageToken parameter identifies a specific page in the result set that should be returned. In an API response, the nextPageToken and prevPageToken properties identify other pages that could be retrieved.

◆ Part

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.Part
get

The part parameter specifies a comma-separated list of one or more search resource properties that the API response will include. Set the parameter value to snippet.

◆ PublishedAfter

virtual System.Nullable<System.DateTime> Google.Apis.YouTube.v3.SearchResource.ListRequest.PublishedAfter
getset

The publishedAfter parameter indicates that the API response should only contain resources created after the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).

◆ PublishedBefore

virtual System.Nullable<System.DateTime> Google.Apis.YouTube.v3.SearchResource.ListRequest.PublishedBefore
getset

The publishedBefore parameter indicates that the API response should only contain resources created before the specified time. The value is an RFC 3339 formatted date-time value (1970-01-01T00:00:00Z).

◆ Q

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.Q
getset

The q parameter specifies the query term to search for.

Your request can also use the Boolean NOT (-) and OR (|) operators to exclude videos or to find videos that are associated with one of several search terms. For example, to search for videos matching either "boating" or "sailing", set the q parameter value to boating|sailing. Similarly, to search for videos matching either "boating" or "sailing" but not "fishing", set the q parameter value to boating|sailing -fishing. Note that the pipe character must be URL-escaped when it is sent in your API request. The URL- escaped value for the pipe character is %7C.

◆ RegionCode

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.RegionCode
getset

The regionCode parameter instructs the API to return search results for the specified country. The parameter value is an ISO 3166-1 alpha-2 country code.

◆ RelatedToVideoId

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.RelatedToVideoId
getset

The relatedToVideoId parameter retrieves a list of videos that are related to the video that the parameter value identifies. The parameter value must be set to a YouTube video ID and, if you are using this parameter, the type parameter must be set to video.

◆ RelevanceLanguage

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.RelevanceLanguage
getset

The relevanceLanguage parameter instructs the API to return search results that are most relevant to the specified language. The parameter value is typically an ISO 639-1 two-letter language code. However, you should use the values zh-Hans for simplified Chinese and zh-Hant for traditional Chinese. Please note that results in other languages will still be returned if they are highly relevant to the search query term.

◆ SafeSearch

virtual System.Nullable<SafeSearchEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.SafeSearch
getset

The safeSearch parameter indicates whether the search results should include restricted content as well as standard content.

◆ TopicId

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.TopicId
getset

The topicId parameter indicates that the API response should only contain resources associated with the specified topic. The value identifies a Freebase topic ID.

◆ Type

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.Type
getset

The type parameter restricts a search query to only retrieve a particular type of resource. The value is a comma-separated list of resource types.

[default: video,channel,playlist]

◆ VideoCaption

virtual System.Nullable<VideoCaptionEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoCaption
getset

The videoCaption parameter indicates whether the API should filter video search results based on whether they have captions. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoCategoryId

virtual string Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoCategoryId
getset

The videoCategoryId parameter filters video search results based on their category. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoDefinition

virtual System.Nullable<VideoDefinitionEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoDefinition
getset

The videoDefinition parameter lets you restrict a search to only include either high definition (HD) or standard definition (SD) videos. HD videos are available for playback in at least 720p, though higher resolutions, like 1080p, might also be available. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoDimension

virtual System.Nullable<VideoDimensionEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoDimension
getset

The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoDuration

virtual System.Nullable<VideoDurationEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoDuration
getset

The videoDuration parameter filters video search results based on their duration. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoEmbeddable

virtual System.Nullable<VideoEmbeddableEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoEmbeddable
getset

The videoEmbeddable parameter lets you to restrict a search to only videos that can be embedded into a webpage. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoLicense

virtual System.Nullable<VideoLicenseEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoLicense
getset

The videoLicense parameter filters search results to only include videos with a particular license. YouTube lets video uploaders choose to attach either the Creative Commons license or the standard YouTube license to each of their videos. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoSyndicated

virtual System.Nullable<VideoSyndicatedEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoSyndicated
getset

The videoSyndicated parameter lets you to restrict a search to only videos that can be played outside youtube.com. If you specify a value for this parameter, you must also set the type parameter's value to video.

◆ VideoType

virtual System.Nullable<VideoTypeEnum> Google.Apis.YouTube.v3.SearchResource.ListRequest.VideoType
getset

The videoType parameter lets you restrict a search to a particular type of videos. If you specify a value for this parameter, you must also set the type parameter's value to video.


The documentation for this class was generated from the following file: