public class SQLAdmin.Users.Delete extends SQLAdminRequest<Operation>
com.google.api.client.util.GenericData.Flags
Modifier | Constructor and Description |
---|---|
protected |
Delete(java.lang.String project,
java.lang.String instance,
java.lang.String host,
java.lang.String name)
Deletes a user from a Cloud SQL instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getHost()
Host of the user in the instance.
|
java.lang.String |
getInstance()
Database instance ID.
|
java.lang.String |
getName()
Name of the user in the instance.
|
java.lang.String |
getProject()
Project ID of the project that contains the instance.
|
SQLAdmin.Users.Delete |
set(java.lang.String parameterName,
java.lang.Object value) |
SQLAdmin.Users.Delete |
setAlt(java.lang.String alt)
Data format for the response.
|
SQLAdmin.Users.Delete |
setFields(java.lang.String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.Users.Delete |
setHost(java.lang.String host)
Host of the user in the instance.
|
SQLAdmin.Users.Delete |
setInstance(java.lang.String instance)
Database instance ID.
|
SQLAdmin.Users.Delete |
setKey(java.lang.String key)
API key.
|
SQLAdmin.Users.Delete |
setName(java.lang.String name)
Name of the user in the instance.
|
SQLAdmin.Users.Delete |
setOauthToken(java.lang.String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.Users.Delete |
setPrettyPrint(java.lang.Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.Users.Delete |
setProject(java.lang.String project)
Project ID of the project that contains the instance.
|
SQLAdmin.Users.Delete |
setQuotaUser(java.lang.String quotaUser)
An opaque string that represents a user for quota purposes.
|
SQLAdmin.Users.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 project, java.lang.String instance, java.lang.String host, java.lang.String name)
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.
SQLAdmin.initialize(com.google.api.client.googleapis.services.AbstractGoogleClientRequest)
must
be called to initialize this instance immediately after invoking the constructor.
project
- Project ID of the project that contains the instance.instance
- Database instance ID. This does not include the project ID.host
- Host of the user in the instance.name
- Name of the user in the instance.public SQLAdmin.Users.Delete setAlt(java.lang.String alt)
SQLAdminRequest
setAlt
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setFields(java.lang.String fields)
SQLAdminRequest
setFields
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setKey(java.lang.String key)
SQLAdminRequest
setKey
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setOauthToken(java.lang.String oauthToken)
SQLAdminRequest
setOauthToken
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setPrettyPrint(java.lang.Boolean prettyPrint)
SQLAdminRequest
setPrettyPrint
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setQuotaUser(java.lang.String quotaUser)
SQLAdminRequest
setQuotaUser
in class SQLAdminRequest<Operation>
public SQLAdmin.Users.Delete setUserIp(java.lang.String userIp)
SQLAdminRequest
setUserIp
in class SQLAdminRequest<Operation>
public java.lang.String getProject()
public SQLAdmin.Users.Delete setProject(java.lang.String project)
public java.lang.String getInstance()
public SQLAdmin.Users.Delete setInstance(java.lang.String instance)
public java.lang.String getHost()
public SQLAdmin.Users.Delete setHost(java.lang.String host)
public java.lang.String getName()
public SQLAdmin.Users.Delete setName(java.lang.String name)
public SQLAdmin.Users.Delete set(java.lang.String parameterName, java.lang.Object value)
set
in class SQLAdminRequest<Operation>