public class YouTube.CommentThreads.Insert extends YouTubeRequest<CommentThread>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Insert(java.lang.String part,
CommentThread content)
Creates a new top-level comment.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getPart()
The part parameter identifies the properties that the API response will include.
|
YouTube.CommentThreads.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
YouTube.CommentThreads.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
YouTube.CommentThreads.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
YouTube.CommentThreads.Insert |
setKey(java.lang.String key)
API key.
|
YouTube.CommentThreads.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
YouTube.CommentThreads.Insert |
setPart(java.lang.String part)
The part parameter identifies the properties that the API response will include.
|
YouTube.CommentThreads.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
YouTube.CommentThreads.Insert |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
YouTube.CommentThreads.Insert |
setUserIp(java.lang.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, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queueclone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, valuesprotected Insert(java.lang.String part,
CommentThread content)
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 identifies the properties that the API response will include. Set the parameter
value to snippet. The snippet part has a quota cost of 2 units.content - the CommentThreadpublic YouTube.CommentThreads.Insert setAlt(java.lang.String alt)
YouTubeRequestsetAlt in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setFields(java.lang.String fields)
YouTubeRequestsetFields in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setKey(java.lang.String key)
YouTubeRequestsetKey in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setOauthToken(java.lang.String oauthToken)
YouTubeRequestsetOauthToken in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
YouTubeRequestsetPrettyPrint in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setQuotaUser(java.lang.String quotaUser)
YouTubeRequestsetQuotaUser in class YouTubeRequest<CommentThread>public YouTube.CommentThreads.Insert setUserIp(java.lang.String userIp)
YouTubeRequestsetUserIp in class YouTubeRequest<CommentThread>public java.lang.String getPart()
public YouTube.CommentThreads.Insert setPart(java.lang.String part)
public YouTube.CommentThreads.Insert set(java.lang.String parameterName, java.lang.Object value)
set in class YouTubeRequest<CommentThread>