public class Calendar.CalendarList.Patch extends CalendarRequest<CalendarListEntry>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Calendar.CalendarList.Patch(String calendarId,
CalendarListEntry content)
Updates an entry on the user's calendar list.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCalendarId()
Calendar identifier.
|
Boolean |
getColorRgbFormat()
Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar colors
(RGB).
|
Calendar.CalendarList.Patch |
set(String parameterName,
Object value) |
Calendar.CalendarList.Patch |
setAlt(String alt)
Data format for the response.
|
Calendar.CalendarList.Patch |
setCalendarId(String calendarId)
Calendar identifier.
|
Calendar.CalendarList.Patch |
setColorRgbFormat(Boolean colorRgbFormat)
Whether to use the 'foregroundColor' and 'backgroundColor' fields to write the calendar
colors (RGB).
|
Calendar.CalendarList.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.CalendarList.Patch |
setKey(String key)
API key.
|
Calendar.CalendarList.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.CalendarList.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.CalendarList.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Calendar.CalendarList.Patch |
setUserIp(String userIp)
IP address of the site where the request originates.
|
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 Calendar.CalendarList.Patch(String calendarId, 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.
calendarId - Calendar identifier.content - the CalendarListEntrypublic Calendar.CalendarList.Patch setAlt(String alt)
CalendarRequestsetAlt in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setFields(String fields)
CalendarRequestsetFields in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setKey(String key)
CalendarRequestsetKey in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setOauthToken(String oauthToken)
CalendarRequestsetOauthToken in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setPrettyPrint(Boolean prettyPrint)
CalendarRequestsetPrettyPrint in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setQuotaUser(String quotaUser)
CalendarRequestsetQuotaUser in class CalendarRequest<CalendarListEntry>public Calendar.CalendarList.Patch setUserIp(String userIp)
CalendarRequestsetUserIp in class CalendarRequest<CalendarListEntry>public String getCalendarId()
public Calendar.CalendarList.Patch setCalendarId(String calendarId)
public Boolean getColorRgbFormat()
public Calendar.CalendarList.Patch setColorRgbFormat(Boolean colorRgbFormat)
public Calendar.CalendarList.Patch set(String parameterName, Object value)
set in class CalendarRequest<CalendarListEntry>