public class YouTube.ChannelSections.List extends YouTubeRequest<ChannelSectionListResponse>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
YouTube.ChannelSections.List(java.lang.String part)
Returns channelSection resources that match the API request criteria.
|
Modifier and Type | Method and Description |
---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
java.lang.String |
getChannelId()
The channelId parameter specifies a YouTube channel ID.
|
java.lang.String |
getHl()
The hl parameter indicates that the snippet.localized property values in the returned
channelSection resources should be in the specified language if localized values for that language
are available.
|
java.lang.String |
getId()
The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for the
resource(s) that are being retrieved.
|
java.lang.Boolean |
getMine()
Set this parameter's value to true to retrieve a feed of the authenticated user's channelSections.
|
java.lang.String |
getOnBehalfOfContentOwner()
Note: This parameter is intended exclusively for YouTube content partners.
|
java.lang.String |
getPart()
The part parameter specifies a comma-separated list of one or more channelSection resource
properties that the API response will include.
|
YouTube.ChannelSections.List |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.ChannelSections.List |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.ChannelSections.List |
setChannelId(java.lang.String channelId)
The channelId parameter specifies a YouTube channel ID.
|
YouTube.ChannelSections.List |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.ChannelSections.List |
setHl(java.lang.String hl)
The hl parameter indicates that the snippet.localized property values in the returned
channelSection resources should be in the specified language if localized values for that
language are available.
|
YouTube.ChannelSections.List |
setId(java.lang.String id)
The id parameter specifies a comma-separated list of the YouTube channelSection ID(s) for
the resource(s) that are being retrieved.
|
YouTube.ChannelSections.List |
setKey(java.lang.String key)
API key.
|
YouTube.ChannelSections.List |
setMine(java.lang.Boolean mine)
Set this parameter's value to true to retrieve a feed of the authenticated user's
channelSections.
|
YouTube.ChannelSections.List |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.ChannelSections.List |
setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
Note: This parameter is intended exclusively for YouTube content partners.
|
YouTube.ChannelSections.List |
setPart(java.lang.String part)
The part parameter specifies a comma-separated list of one or more channelSection resource
properties that the API response will include.
|
YouTube.ChannelSections.List |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.ChannelSections.List |
setQuotaUser(java.lang.String quotaUser)
Available to use for quota purposes for server-side applications.
|
YouTube.ChannelSections.List |
setUserIp(java.lang.String userIp)
IP address of the site where the request originates.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
protected YouTube.ChannelSections.List(java.lang.String part)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. YouTube.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must be
called to initialize this instance immediately after invoking the constructor.
part
- The part parameter specifies a comma-separated list of one or more channelSection resource
properties that the API response will include. The part names that you can include in the
parameter value are id, snippet, and contentDetails.
If the parameter identifies a
property that contains child properties, the child properties will be included in the
response. For example, in a channelSection resource, the snippet property contains other
properties, such as a display title for the channelSection. If you set part=snippet, the
API response will also contain all of those nested properties.public com.google.api.client.http.HttpResponse executeUsingHead() throws java.io.IOException
executeUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChannelSectionListResponse>
java.io.IOException
public com.google.api.client.http.HttpRequest buildHttpRequestUsingHead() throws java.io.IOException
buildHttpRequestUsingHead
in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<ChannelSectionListResponse>
java.io.IOException
public YouTube.ChannelSections.List setAlt(java.lang.String alt)
YouTubeRequest
setAlt
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setFields(java.lang.String fields)
YouTubeRequest
setFields
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setKey(java.lang.String key)
YouTubeRequest
setKey
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setOauthToken(java.lang.String oauthToken)
YouTubeRequest
setOauthToken
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequest
setPrettyPrint
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setQuotaUser(java.lang.String quotaUser)
YouTubeRequest
setQuotaUser
in class YouTubeRequest<ChannelSectionListResponse>
public YouTube.ChannelSections.List setUserIp(java.lang.String userIp)
YouTubeRequest
setUserIp
in class YouTubeRequest<ChannelSectionListResponse>
public java.lang.String getPart()
public YouTube.ChannelSections.List setPart(java.lang.String part)
public java.lang.String getOnBehalfOfContentOwner()
public YouTube.ChannelSections.List setOnBehalfOfContentOwner(java.lang.String onBehalfOfContentOwner)
public java.lang.String getChannelId()
public YouTube.ChannelSections.List setChannelId(java.lang.String channelId)
public java.lang.Boolean getMine()
public YouTube.ChannelSections.List setMine(java.lang.Boolean mine)
public java.lang.String getHl()
public YouTube.ChannelSections.List setHl(java.lang.String hl)
public java.lang.String getId()
public YouTube.ChannelSections.List setId(java.lang.String id)
public YouTube.ChannelSections.List set(java.lang.String parameterName, java.lang.Object value)
set
in class YouTubeRequest<ChannelSectionListResponse>