public class Calendar.Acl.Insert extends CalendarRequest<AclRule>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description | 
|---|---|
protected  | 
Insert(String calendarId,
      AclRule content)
Creates an access control rule. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getCalendarId()
Calendar identifier. 
 | 
Boolean | 
getSendNotifications()
Whether to send notifications about the calendar sharing change. 
 | 
Calendar.Acl.Insert | 
set(String parameterName,
   Object value)  | 
Calendar.Acl.Insert | 
setAlt(String alt)
Data format for the response. 
 | 
Calendar.Acl.Insert | 
setCalendarId(String calendarId)
Calendar identifier. 
 | 
Calendar.Acl.Insert | 
setFields(String fields)
Selector specifying which fields to include in a partial response. 
 | 
Calendar.Acl.Insert | 
setKey(String key)
API key. 
 | 
Calendar.Acl.Insert | 
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user. 
 | 
Calendar.Acl.Insert | 
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks. 
 | 
Calendar.Acl.Insert | 
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes. 
 | 
Calendar.Acl.Insert | 
setSendNotifications(Boolean sendNotifications)
Whether to send notifications about the calendar sharing change. 
 | 
Calendar.Acl.Insert | 
setUserIp(String userIp)
Deprecated. 
 | 
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, getReturnRawInputSteam, getUriTemplate, initializeMediaDownload, initializeMediaUpload, queue, setReturnRawInputStreamclone, entrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeys, toStringclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllprotected Insert(String calendarId, AclRule 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 AclRulepublic Calendar.Acl.Insert setAlt(String alt)
CalendarRequestsetAlt in class CalendarRequest<AclRule>public Calendar.Acl.Insert setFields(String fields)
CalendarRequestsetFields in class CalendarRequest<AclRule>public Calendar.Acl.Insert setKey(String key)
CalendarRequestsetKey in class CalendarRequest<AclRule>public Calendar.Acl.Insert setOauthToken(String oauthToken)
CalendarRequestsetOauthToken in class CalendarRequest<AclRule>public Calendar.Acl.Insert setPrettyPrint(Boolean prettyPrint)
CalendarRequestsetPrettyPrint in class CalendarRequest<AclRule>public Calendar.Acl.Insert setQuotaUser(String quotaUser)
CalendarRequestsetQuotaUser in class CalendarRequest<AclRule>public Calendar.Acl.Insert setUserIp(String userIp)
CalendarRequestsetUserIp in class CalendarRequest<AclRule>public String getCalendarId()
public Calendar.Acl.Insert setCalendarId(String calendarId)
public Boolean getSendNotifications()
public Calendar.Acl.Insert setSendNotifications(Boolean sendNotifications)
public Calendar.Acl.Insert set(String parameterName, Object value)
set in class CalendarRequest<AclRule>Copyright © 2011–2025 Google. All rights reserved.