public class Calendar.Calendars.Patch extends CalendarRequest<Calendar>
GenericData.Flags
AbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>
Modifier | Constructor and Description |
---|---|
protected |
Calendar.Calendars.Patch(String calendarId,
Calendar content)
Updates metadata for a calendar.
|
Modifier and Type | Method and Description |
---|---|
String |
getCalendarId()
Calendar identifier.
|
Calendar.Calendars.Patch |
set(String parameterName,
Object value) |
Calendar.Calendars.Patch |
setAlt(String alt)
Data format for the response.
|
Calendar.Calendars.Patch |
setCalendarId(String calendarId)
Calendar identifier.
|
Calendar.Calendars.Patch |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Calendars.Patch |
setKey(String key)
API key.
|
Calendar.Calendars.Patch |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Calendars.Patch |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Calendars.Patch |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Calendar.Calendars.Patch |
setUserIp(String userIp)
IP address of the site where the request originates.
|
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 Calendar.Calendars.Patch(String calendarId, Calendar 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 Calendar
public Calendar.Calendars.Patch setAlt(String alt)
CalendarRequest
setAlt
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setFields(String fields)
CalendarRequest
setFields
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setKey(String key)
CalendarRequest
setKey
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setOauthToken(String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setPrettyPrint(Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setQuotaUser(String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<Calendar>
public Calendar.Calendars.Patch setUserIp(String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<Calendar>
public String getCalendarId()
public Calendar.Calendars.Patch setCalendarId(String calendarId)
public Calendar.Calendars.Patch set(String parameterName, Object value)
set
in class CalendarRequest<Calendar>