Modifier and Type | Class and Description |
---|---|
class |
YouTube.Search.List |
Constructor and Description |
---|
YouTube.Search() |
Modifier and Type | Method and Description |
---|---|
YouTube.Search.List |
list(String part)
Returns a collection of search results that match the query parameters specified in the API
request.
|
public YouTube.Search.List list(String part) throws IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.part
- The part parameter specifies a comma-separated list of one or more search resource properties that
the API response will include. The part names that you can include in the parameter value
are id and snippet.
If the parameter identifies a property that contains child properties,
the child properties will be included in the response. For example, in a search result,
the snippet property contains other properties that identify the result's title,
description, and so forth. If you set part=snippet, the API response will also contain all
of those nested properties.IOException