public class Calendar.Acl.Get extends CalendarRequest<AclRule>
com.google.api.client.util.GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Modifier | Constructor and Description |
|---|---|
protected |
Get(String calendarId,
String ruleId)
Returns an access control rule.
|
| Modifier and Type | Method and Description |
|---|---|
com.google.api.client.http.HttpRequest |
buildHttpRequestUsingHead() |
com.google.api.client.http.HttpResponse |
executeUsingHead() |
String |
getCalendarId()
Calendar identifier.
|
String |
getRuleId()
ACL rule identifier.
|
Calendar.Acl.Get |
set(String parameterName,
Object value) |
Calendar.Acl.Get |
setAlt(String alt)
Data format for the response.
|
Calendar.Acl.Get |
setCalendarId(String calendarId)
Calendar identifier.
|
Calendar.Acl.Get |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
Calendar.Acl.Get |
setKey(String key)
API key.
|
Calendar.Acl.Get |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
Calendar.Acl.Get |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Calendar.Acl.Get |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
Calendar.Acl.Get |
setRuleId(String ruleId)
ACL rule identifier.
|
Calendar.Acl.Get |
setUserIp(String userIp)
Deprecated.
|
getAbstractGoogleClient, getAlt, getFields, getKey, getOauthToken, getPrettyPrint, getQuotaUser, getUserIp, setDisableGZipContent, setRequestHeadersgetJsonContent, newExceptionOnError, queuebuildHttpRequest, buildHttpRequestUrl, checkRequiredParameter, execute, executeAndDownloadTo, executeAsInputStream, executeMedia, executeMediaAndDownloadTo, executeMediaAsInputStream, executeUnparsed, 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 Get(String calendarId, String ruleId)
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.ruleId - ACL rule identifier.public com.google.api.client.http.HttpResponse executeUsingHead()
throws IOException
executeUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AclRule>IOExceptionpublic com.google.api.client.http.HttpRequest buildHttpRequestUsingHead()
throws IOException
buildHttpRequestUsingHead in class com.google.api.client.googleapis.services.AbstractGoogleClientRequest<AclRule>IOExceptionpublic Calendar.Acl.Get setAlt(String alt)
CalendarRequestsetAlt in class CalendarRequest<AclRule>public Calendar.Acl.Get setFields(String fields)
CalendarRequestsetFields in class CalendarRequest<AclRule>public Calendar.Acl.Get setKey(String key)
CalendarRequestsetKey in class CalendarRequest<AclRule>public Calendar.Acl.Get setOauthToken(String oauthToken)
CalendarRequestsetOauthToken in class CalendarRequest<AclRule>public Calendar.Acl.Get setPrettyPrint(Boolean prettyPrint)
CalendarRequestsetPrettyPrint in class CalendarRequest<AclRule>public Calendar.Acl.Get setQuotaUser(String quotaUser)
CalendarRequestsetQuotaUser in class CalendarRequest<AclRule>public Calendar.Acl.Get setUserIp(String userIp)
CalendarRequestsetUserIp in class CalendarRequest<AclRule>public String getCalendarId()
public Calendar.Acl.Get setCalendarId(String calendarId)
public String getRuleId()
public Calendar.Acl.Get setRuleId(String ruleId)
public Calendar.Acl.Get set(String parameterName, Object value)
set in class CalendarRequest<AclRule>Copyright © 2011–2025 Google. All rights reserved.