public class YouTube.Comments.MarkAsSpam extends YouTubeRequest<Void>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
MarkAsSpam(String id)
Expresses the caller's opinion that one or more comments should be flagged as spam.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
The id parameter specifies a comma-separated list of IDs of comments that the caller believes
should be classified as spam.
|
YouTube.Comments.MarkAsSpam |
set(String parameterName,
Object value) |
YouTube.Comments.MarkAsSpam |
setAlt(String alt)
Data format for the response.
|
YouTube.Comments.MarkAsSpam |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.Comments.MarkAsSpam |
setId(String id)
The id parameter specifies a comma-separated list of IDs of comments that the caller
believes should be classified as spam.
|
YouTube.Comments.MarkAsSpam |
setKey(String key)
API key.
|
YouTube.Comments.MarkAsSpam |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.Comments.MarkAsSpam |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.Comments.MarkAsSpam |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.Comments.MarkAsSpam |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, 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 MarkAsSpam(String id)
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.
id - The id parameter specifies a comma-separated list of IDs of comments that the caller believes should
be classified as spam.public YouTube.Comments.MarkAsSpam setAlt(String alt)
YouTubeRequestsetAlt in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setFields(String fields)
YouTubeRequestsetFields in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setKey(String key)
YouTubeRequestsetKey in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setOauthToken(String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setPrettyPrint(Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setQuotaUser(String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<Void>public YouTube.Comments.MarkAsSpam setUserIp(String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<Void>public String getId()
public YouTube.Comments.MarkAsSpam setId(String id)
public YouTube.Comments.MarkAsSpam set(String parameterName, Object value)
set in class YouTubeRequest<Void>Copyright © 2011–2019 Google. All rights reserved.