public class YouTube.VideoAbuseReportReasons.List extends YouTubeRequest<VideoAbuseReportReasonListResponse>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
List(String part)
Returns a list of abuse reasons that can be used for reporting abusive videos.
|
| 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 videoCategory resource parts that the API response will include.
|
YouTube.VideoAbuseReportReasons.List |
set(String parameterName,
Object value) |
YouTube.VideoAbuseReportReasons.List |
setAlt(String alt)
Data format for the response.
|
YouTube.VideoAbuseReportReasons.List |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.VideoAbuseReportReasons.List |
setHl(String hl)
The hl parameter specifies the language that should be used for text values in the API
response.
|
YouTube.VideoAbuseReportReasons.List |
setKey(String key)
API key.
|
YouTube.VideoAbuseReportReasons.List |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.VideoAbuseReportReasons.List |
setPart(String part)
The part parameter specifies the videoCategory resource parts that the API response will
include.
|
YouTube.VideoAbuseReportReasons.List |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.VideoAbuseReportReasons.List |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.VideoAbuseReportReasons.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 videoCategory resource parts that the API response will include.
Supported values are id and snippet.public HttpResponse executeUsingHead() throws IOException
executeUsingHead in class AbstractGoogleClientRequest<VideoAbuseReportReasonListResponse>IOExceptionpublic HttpRequest buildHttpRequestUsingHead() throws IOException
buildHttpRequestUsingHead in class AbstractGoogleClientRequest<VideoAbuseReportReasonListResponse>IOExceptionpublic YouTube.VideoAbuseReportReasons.List setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<VideoAbuseReportReasonListResponse>public YouTube.VideoAbuseReportReasons.List setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<VideoAbuseReportReasonListResponse>public String getPart()
public YouTube.VideoAbuseReportReasons.List setPart(String part)
public String getHl()
public YouTube.VideoAbuseReportReasons.List setHl(String hl)
public YouTube.VideoAbuseReportReasons.List set(String parameterName, Object value)
set in class YouTubeRequest<VideoAbuseReportReasonListResponse>Copyright © 2011–2019 Google. All rights reserved.