| Package | Description |
|---|---|
| com.google.api.services.youtube |
| Modifier and Type | Method and Description |
|---|---|
YouTube.Search.List |
YouTube.Search.list(java.lang.String part)
Returns a collection of search results that match the query parameters specified in the API
request.
|
YouTube.Search.List |
YouTube.Search.List.set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.Search.List |
YouTube.Search.List.setAlt(java.lang.String alt) |
YouTube.Search.List |
YouTube.Search.List.setChannelId(java.lang.String channelId)
The channelId parameter indicates that the API response should only contain resources
created by the channel
|
YouTube.Search.List |
YouTube.Search.List.setChannelType(java.lang.String channelType)
The channelType parameter lets you restrict a search to a particular type of channel.
|
YouTube.Search.List |
YouTube.Search.List.setEventType(java.lang.String eventType)
The eventType parameter restricts a search to broadcast events.
|
YouTube.Search.List |
YouTube.Search.List.setFields(java.lang.String fields) |
YouTube.Search.List |
YouTube.Search.List.setForContentOwner(java.lang.Boolean forContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Search.List |
YouTube.Search.List.setForDeveloper(java.lang.Boolean forDeveloper)
The forDeveloper parameter restricts the search to only retrieve videos uploaded via the
developer's application or website.
|
YouTube.Search.List |
YouTube.Search.List.setForMine(java.lang.Boolean forMine)
The forMine parameter restricts the search to only retrieve videos owned by the
authenticated user.
|
YouTube.Search.List |
YouTube.Search.List.setKey(java.lang.String key) |
YouTube.Search.List |
YouTube.Search.List.setLocation(java.lang.String location)
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.
|
YouTube.Search.List |
YouTube.Search.List.setLocationRadius(java.lang.String locationRadius)
The locationRadius parameter, in conjunction with the location parameter, defines a
circular geographic area.
|
YouTube.Search.List |
YouTube.Search.List.setMaxResults(java.lang.Long maxResults)
The maxResults parameter specifies the maximum number of items that should be returned in
the result set.
|
YouTube.Search.List |
YouTube.Search.List.setOauthToken(java.lang.String oauthToken) |
YouTube.Search.List |
YouTube.Search.List.setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.Search.List |
YouTube.Search.List.setOrder(java.lang.String order)
The order parameter specifies the method that will be used to order resources in the API
response.
|
YouTube.Search.List |
YouTube.Search.List.setPageToken(java.lang.String pageToken)
The pageToken parameter identifies a specific page in the result set that should be
returned.
|
YouTube.Search.List |
YouTube.Search.List.setPart(java.lang.String part)
The part parameter specifies a comma-separated list of one or more search resource
properties that the API response will include.
|
YouTube.Search.List |
YouTube.Search.List.setPrettyPrint(java.lang.Boolean prettyPrint) |
YouTube.Search.List |
YouTube.Search.List.setPublishedAfter(com.google.api.client.util.DateTime publishedAfter)
The publishedAfter parameter indicates that the API response should only contain resources
created after the specified time.
|
YouTube.Search.List |
YouTube.Search.List.setPublishedBefore(com.google.api.client.util.DateTime publishedBefore)
The publishedBefore parameter indicates that the API response should only contain resources
created before the specified time.
|
YouTube.Search.List |
YouTube.Search.List.setQ(java.lang.String q)
The q parameter specifies the query term to search for.
|
YouTube.Search.List |
YouTube.Search.List.setQuotaUser(java.lang.String quotaUser) |
YouTube.Search.List |
YouTube.Search.List.setRegionCode(java.lang.String regionCode)
The regionCode parameter instructs the API to return search results for the specified
country.
|
YouTube.Search.List |
YouTube.Search.List.setRelatedToVideoId(java.lang.String relatedToVideoId)
The relatedToVideoId parameter retrieves a list of videos that are related to the video
that the parameter value identifies.
|
YouTube.Search.List |
YouTube.Search.List.setRelevanceLanguage(java.lang.String relevanceLanguage)
The relevanceLanguage parameter instructs the API to return search results that are most
relevant to the specified language.
|
YouTube.Search.List |
YouTube.Search.List.setSafeSearch(java.lang.String safeSearch)
The safeSearch parameter indicates whether the search results should include restricted
content as well as standard content.
|
YouTube.Search.List |
YouTube.Search.List.setTopicId(java.lang.String topicId)
The topicId parameter indicates that the API response should only contain resources
associated with the specified topic.
|
YouTube.Search.List |
YouTube.Search.List.setType(java.lang.String type)
The type parameter restricts a search query to only retrieve a particular type of resource.
|
YouTube.Search.List |
YouTube.Search.List.setUserIp(java.lang.String userIp) |
YouTube.Search.List |
YouTube.Search.List.setVideoCaption(java.lang.String videoCaption)
The videoCaption parameter indicates whether the API should filter video search results
based on whether they have captions.
|
YouTube.Search.List |
YouTube.Search.List.setVideoCategoryId(java.lang.String videoCategoryId)
The videoCategoryId parameter filters video search results based on their category.
|
YouTube.Search.List |
YouTube.Search.List.setVideoDefinition(java.lang.String videoDefinition)
The videoDefinition parameter lets you restrict a search to only include either high
definition (HD) or standard definition (SD) videos.
|
YouTube.Search.List |
YouTube.Search.List.setVideoDimension(java.lang.String videoDimension)
The videoDimension parameter lets you restrict a search to only retrieve 2D or 3D videos.
|
YouTube.Search.List |
YouTube.Search.List.setVideoDuration(java.lang.String videoDuration)
The videoDuration parameter filters video search results based on their duration.
|
YouTube.Search.List |
YouTube.Search.List.setVideoEmbeddable(java.lang.String videoEmbeddable)
The videoEmbeddable parameter lets you to restrict a search to only videos that can be
embedded into a webpage.
|
YouTube.Search.List |
YouTube.Search.List.setVideoLicense(java.lang.String videoLicense)
The videoLicense parameter filters search results to only include videos with a particular
license.
|
YouTube.Search.List |
YouTube.Search.List.setVideoSyndicated(java.lang.String videoSyndicated)
The videoSyndicated parameter lets you to restrict a search to only videos that can be
played outside youtube.com.
|
YouTube.Search.List |
YouTube.Search.List.setVideoType(java.lang.String videoType)
The videoType parameter lets you restrict a search to a particular type of videos.
|