public class Calendar.CalendarList.Insert extends CalendarRequest<CalendarListEntry>
com.google.api.client.util.GenericData.Flags| Modifier | Constructor and Description |
|---|---|
protected |
Insert(CalendarListEntry content)
Inserts an existing calendar into the user's calendar list.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.Boolean |
getColorRgbFormat()
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB).
|
Calendar.CalendarList.Insert |
set(java.lang.String parameterName,
java.lang.Object value) |
Calendar.CalendarList.Insert |
setAlt(java.lang.String alt)
Data format for the response.
|
Calendar.CalendarList.Insert |
setColorRgbFormat(java.lang.Boolean colorRgbFormat)
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
(RGB).
|
Calendar.CalendarList.Insert |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.CalendarList.Insert |
setKey(java.lang.String key)
API key.
|
Calendar.CalendarList.Insert |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.CalendarList.Insert |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.CalendarList.Insert |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Calendar.CalendarList.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(CalendarListEntry content)
AbstractGoogleClientRequest.execute() method to invoke the remote operation.
Calendar.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest) must
be called to initialize this instance immediately after invoking the constructor.
content - the CalendarListEntrypublic Calendar.CalendarList.Insert setAlt(java.lang.String alt)
CalendarRequestsetAlt in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setFields(java.lang.String fields)
CalendarRequestsetFields in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setKey(java.lang.String key)
CalendarRequestsetKey in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setOauthToken(java.lang.String oauthToken)
CalendarRequestsetOauthToken in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setPrettyPrint(java.lang.Boolean prettyPrint)
CalendarRequestsetPrettyPrint in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setQuotaUser(java.lang.String quotaUser)
CalendarRequestsetQuotaUser in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Insert setUserIp(java.lang.String userIp)
CalendarRequestsetUserIp in class CalendarRequest<CalendarListEntry>public java.lang.Boolean getColorRgbFormat()
public Calendar.CalendarList.Insert setColorRgbFormat(java.lang.Boolean colorRgbFormat)
public Calendar.CalendarList.Insert set(java.lang.String parameterName, java.lang.Object value)
set in class CalendarRequest<CalendarListEntry>