public class Calendar.CalendarList.Patch extends CalendarRequest<CalendarListEntry>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Patch(java.lang.String calendarId,
CalendarListEntry content)
Updates an existing calendar on the user's calendar list.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCalendarId()
Calendar identifier.
|
java.lang.Boolean |
getColorRgbFormat()
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors (RGB).
|
Calendar.CalendarList.Patch |
set(java.lang.String parameterName,
java.lang.Object value) |
Calendar.CalendarList.Patch |
setAlt(java.lang.String alt)
Data format for the response.
|
Calendar.CalendarList.Patch |
setCalendarId(java.lang.String calendarId)
Calendar identifier.
|
Calendar.CalendarList.Patch |
setColorRgbFormat(java.lang.Boolean colorRgbFormat)
Whether to use the foregroundColor and backgroundColor fields to write the calendar colors
(RGB).
|
Calendar.CalendarList.Patch |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.CalendarList.Patch |
setKey(java.lang.String key)
API key.
|
Calendar.CalendarList.Patch |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.CalendarList.Patch |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.CalendarList.Patch |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Calendar.CalendarList.Patch |
setUserIp(java.lang.String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeaders
getJsonContent, newExceptionOnError, queue
buildHttpRequest, buildHttpRequestUrl, buildHttpRequestUsingHead, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, executeUsingHead, getDisableGZipContent, getHttpContent, getLastResponseHeaders, getLastStatusCode, getLastStatusMessage, getMediaHttpDownloader, getMediaHttpUploader, getRequestHeaders, getRequestMethod, getResponseClass, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue
clone, entrySet, get, getClassInfo, getUnknownKeys, put, putAll, remove, setUnknownKeys
clear, containsKey, containsValue, equals, hashCode, isEmpty, keySet, size, toString, values
protected Patch(java.lang.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. To retrieve calendar IDs call the calendarList.list method. If you want to
access the primary calendar of the currently logged in user, use the "primary" keyword.content
- the CalendarListEntry
public Calendar.CalendarList.Patch setAlt(java.lang.String alt)
CalendarRequest
setAlt
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setFields(java.lang.String fields)
CalendarRequest
setFields
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setKey(java.lang.String key)
CalendarRequest
setKey
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setOauthToken(java.lang.String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setPrettyPrint(java.lang.Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setQuotaUser(java.lang.String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<CalendarListEntry>
public Calendar.CalendarList.Patch setUserIp(java.lang.String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<CalendarListEntry>
public java.lang.String getCalendarId()
public Calendar.CalendarList.Patch setCalendarId(java.lang.String calendarId)
public java.lang.Boolean getColorRgbFormat()
public Calendar.CalendarList.Patch setColorRgbFormat(java.lang.Boolean colorRgbFormat)
public Calendar.CalendarList.Patch set(java.lang.String parameterName, java.lang.Object value)
set
in class CalendarRequest<CalendarListEntry>