public class Calendar.Events.Insert extends CalendarRequest<Event>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Calendar.Events.Insert(String calendarId,
Event content)
Creates an event.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getCalendarId()
Calendar identifier.
|
Integer |
getMaxAttendees()
The maximum number of attendees to include in the response.
|
Boolean |
getSendNotifications()
Whether to send notifications about the creation of the new event.
|
Calendar.Events.Insert |
set(String parameterName,
Object value) |
Calendar.Events.Insert |
setAlt(String alt)
Data format for the response.
|
Calendar.Events.Insert |
setCalendarId(String calendarId)
Calendar identifier.
|
Calendar.Events.Insert |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Events.Insert |
setKey(String key)
API key.
|
Calendar.Events.Insert |
setMaxAttendees(Integer maxAttendees)
The maximum number of attendees to include in the response.
|
Calendar.Events.Insert |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Events.Insert |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Events.Insert |
setQuotaUser(String quotaUser)
Available to use for quota purposes for server-side applications.
|
Calendar.Events.Insert |
setSendNotifications(Boolean sendNotifications)
Whether to send notifications about the creation of the new event.
|
Calendar.Events.Insert |
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.Events.Insert(String calendarId, 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.content - the Eventpublic Calendar.Events.Insert setAlt(String alt)
CalendarRequestsetAlt in class CalendarRequest<Event>public Calendar.Events.Insert setFields(String fields)
CalendarRequestsetFields in class CalendarRequest<Event>public Calendar.Events.Insert setKey(String key)
CalendarRequestsetKey in class CalendarRequest<Event>public Calendar.Events.Insert setOauthToken(String oauthToken)
CalendarRequestsetOauthToken in class CalendarRequest<Event>public Calendar.Events.Insert setPrettyPrint(Boolean prettyPrint)
CalendarRequestsetPrettyPrint in class CalendarRequest<Event>public Calendar.Events.Insert setQuotaUser(String quotaUser)
CalendarRequestsetQuotaUser in class CalendarRequest<Event>public Calendar.Events.Insert setUserIp(String userIp)
CalendarRequestsetUserIp in class CalendarRequest<Event>public String getCalendarId()
public Calendar.Events.Insert setCalendarId(String calendarId)
public Boolean getSendNotifications()
public Calendar.Events.Insert setSendNotifications(Boolean sendNotifications)
public Integer getMaxAttendees()
public Calendar.Events.Insert setMaxAttendees(Integer maxAttendees)
public Calendar.Events.Insert set(String parameterName, Object value)
set in class CalendarRequest<Event>