public class Calendar.Events.Patch extends CalendarRequest<Event>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Patch(java.lang.String calendarId,
java.lang.String eventId,
Event content)
Updates an event.
|
Modifier and Type | Method and Description |
---|---|
java.lang.Boolean |
getAlwaysIncludeEmail()
Deprecated and ignored.
|
java.lang.String |
getCalendarId()
Calendar identifier.
|
java.lang.Integer |
getConferenceDataVersion()
Version number of conference data supported by the API client.
|
java.lang.String |
getEventId()
Event identifier.
|
java.lang.Integer |
getMaxAttendees()
The maximum number of attendees to include in the response.
|
java.lang.Boolean |
getSendNotifications()
Deprecated.
|
java.lang.String |
getSendUpdates()
Guests who should receive notifications about the event update (for example, title changes, etc.).
|
java.lang.Boolean |
getSupportsAttachments()
Whether API client performing operation supports event attachments.
|
Calendar.Events.Patch |
set(java.lang.String parameterName,
java.lang.Object value) |
Calendar.Events.Patch |
setAlt(java.lang.String alt)
Data format for the response.
|
Calendar.Events.Patch |
setAlwaysIncludeEmail(java.lang.Boolean alwaysIncludeEmail)
Deprecated and ignored.
|
Calendar.Events.Patch |
setCalendarId(java.lang.String calendarId)
Calendar identifier.
|
Calendar.Events.Patch |
setConferenceDataVersion(java.lang.Integer conferenceDataVersion)
Version number of conference data supported by the API client.
|
Calendar.Events.Patch |
setEventId(java.lang.String eventId)
Event identifier.
|
Calendar.Events.Patch |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Events.Patch |
setKey(java.lang.String key)
API key.
|
Calendar.Events.Patch |
setMaxAttendees(java.lang.Integer maxAttendees)
The maximum number of attendees to include in the response.
|
Calendar.Events.Patch |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Events.Patch |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Events.Patch |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Calendar.Events.Patch |
setSendNotifications(java.lang.Boolean sendNotifications)
Deprecated.
|
Calendar.Events.Patch |
setSendUpdates(java.lang.String sendUpdates)
Guests who should receive notifications about the event update (for example, title changes,
etc.).
|
Calendar.Events.Patch |
setSupportsAttachments(java.lang.Boolean supportsAttachments)
Whether API client performing operation supports event attachments.
|
Calendar.Events.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, java.lang.String eventId, Event 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.eventId
- Event identifier.content
- the Event
public Calendar.Events.Patch setAlt(java.lang.String alt)
CalendarRequest
setAlt
in class CalendarRequest<Event>
public Calendar.Events.Patch setFields(java.lang.String fields)
CalendarRequest
setFields
in class CalendarRequest<Event>
public Calendar.Events.Patch setKey(java.lang.String key)
CalendarRequest
setKey
in class CalendarRequest<Event>
public Calendar.Events.Patch setOauthToken(java.lang.String oauthToken)
CalendarRequest
setOauthToken
in class CalendarRequest<Event>
public Calendar.Events.Patch setPrettyPrint(java.lang.Boolean prettyPrint)
CalendarRequest
setPrettyPrint
in class CalendarRequest<Event>
public Calendar.Events.Patch setQuotaUser(java.lang.String quotaUser)
CalendarRequest
setQuotaUser
in class CalendarRequest<Event>
public Calendar.Events.Patch setUserIp(java.lang.String userIp)
CalendarRequest
setUserIp
in class CalendarRequest<Event>
public java.lang.String getCalendarId()
public Calendar.Events.Patch setCalendarId(java.lang.String calendarId)
public java.lang.String getEventId()
public Calendar.Events.Patch setEventId(java.lang.String eventId)
public java.lang.Boolean getAlwaysIncludeEmail()
public Calendar.Events.Patch setAlwaysIncludeEmail(java.lang.Boolean alwaysIncludeEmail)
public java.lang.Integer getConferenceDataVersion()
public Calendar.Events.Patch setConferenceDataVersion(java.lang.Integer conferenceDataVersion)
public java.lang.Integer getMaxAttendees()
public Calendar.Events.Patch setMaxAttendees(java.lang.Integer maxAttendees)
public java.lang.Boolean getSendNotifications()
public Calendar.Events.Patch setSendNotifications(java.lang.Boolean sendNotifications)
public java.lang.String getSendUpdates()
public Calendar.Events.Patch setSendUpdates(java.lang.String sendUpdates)
public java.lang.Boolean getSupportsAttachments()
public Calendar.Events.Patch setSupportsAttachments(java.lang.Boolean supportsAttachments)
public Calendar.Events.Patch set(java.lang.String parameterName, java.lang.Object value)
set
in class CalendarRequest<Event>