public class YouTube.I18nRegions.List extends YouTubeRequest<I18nRegionListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String part)
Returns a list of content regions that the YouTube website supports.
|
| Modifier and Type | Method and Description |
|---|---|
HttpRequest |
buildHttpRequestUsingHead() |
HttpResponse |
executeUsingHead() |
String |
getHl()
The hl parameter specifies the language that should be used for text values in the API response.
|
String |
getPart()
The part parameter specifies the i18nRegion resource properties that the API response will include.
|
YouTube.I18nRegions.List |
set(String parameterName,
Object value) |
YouTube.I18nRegions.List |
setAlt(String alt)
Data format for the response.
|
YouTube.I18nRegions.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.I18nRegions.List |
setHl(String hl)
The hl parameter specifies the language that should be used for text values in the API
response.
|
YouTube.I18nRegions.List |
setKey(String key)
API key.
|
YouTube.I18nRegions.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.I18nRegions.List |
setPart(String part)
The part parameter specifies the i18nRegion resource properties that the API response will
include.
|
YouTube.I18nRegions.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.I18nRegions.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.I18nRegions.List |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected List(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 the i18nRegion resource properties that the API response will include.
Set the parameter value to snippet.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<I18nRegionListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<I18nRegionListResponse>IOExceptionpublic YouTube.I18nRegions.List setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<I18nRegionListResponse>public YouTube.I18nRegions.List setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<I18nRegionListResponse>public String getPart()
public YouTube.I18nRegions.List setPart(String part)
public String getHl()
public YouTube.I18nRegions.List setHl(String hl)
public YouTube.I18nRegions.List set(String parameterName, Object value)
set in class YouTubeRequest<I18nRegionListResponse>Copyright © 2011–2019 Google. All rights reserved.