public class Directory.Roles.Delete extends DirectoryRequest<java.lang.Void>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Delete(java.lang.String customer,
java.lang.String roleId)
Deletes a role.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getCustomer()
Immutable ID of the G Suite account.
|
java.lang.String |
getRoleId()
Immutable ID of the role.
|
Directory.Roles.Delete |
set(java.lang.String parameterName,
java.lang.Object value) |
Directory.Roles.Delete |
setAlt(java.lang.String alt)
Data format for the response.
|
Directory.Roles.Delete |
setCustomer(java.lang.String customer)
Immutable ID of the G Suite account.
|
Directory.Roles.Delete |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
Directory.Roles.Delete |
setKey(java.lang.String key)
API key.
|
Directory.Roles.Delete |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
Directory.Roles.Delete |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
Directory.Roles.Delete |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
Directory.Roles.Delete |
setRoleId(java.lang.String roleId)
Immutable ID of the role.
|
Directory.Roles.Delete |
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 Delete(java.lang.String customer, java.lang.String roleId)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation. Directory.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
customer
- Immutable ID of the G Suite account.roleId
- Immutable ID of the role.public Directory.Roles.Delete setAlt(java.lang.String alt)
DirectoryRequest
setAlt
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setFields(java.lang.String fields)
DirectoryRequest
setFields
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setKey(java.lang.String key)
DirectoryRequest
setKey
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setOauthToken(java.lang.String oauthToken)
DirectoryRequest
setOauthToken
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setPrettyPrint(java.lang.Boolean prettyPrint)
DirectoryRequest
setPrettyPrint
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setQuotaUser(java.lang.String quotaUser)
DirectoryRequest
setQuotaUser
in class DirectoryRequest<java.lang.Void>
public Directory.Roles.Delete setUserIp(java.lang.String userIp)
DirectoryRequest
setUserIp
in class DirectoryRequest<java.lang.Void>
public java.lang.String getCustomer()
public Directory.Roles.Delete setCustomer(java.lang.String customer)
public java.lang.String getRoleId()
public Directory.Roles.Delete setRoleId(java.lang.String roleId)
public Directory.Roles.Delete set(java.lang.String parameterName, java.lang.Object value)
set
in class DirectoryRequest<java.lang.Void>