public class SQLAdmin.Users.Delete extends SQLAdminRequest<Operation>
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>USER_AGENT_SUFFIX| Modifier | Constructor and Description |
|---|---|
protected |
Delete(String project,
String instance,
String host,
String name)
Deletes a user from a Cloud SQL instance.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getHost()
Host of the user in the instance.
|
String |
getInstance()
Database instance ID.
|
String |
getName()
Name of the user in the instance.
|
String |
getProject()
Project ID of the project that contains the instance.
|
SQLAdmin.Users.Delete |
set(String parameterName,
Object value) |
SQLAdmin.Users.Delete |
setAlt(String alt)
Data format for the response.
|
SQLAdmin.Users.Delete |
setFields(String fields)
Selector specifying which fields to include in a partial response.
|
SQLAdmin.Users.Delete |
setHost(String host)
Host of the user in the instance.
|
SQLAdmin.Users.Delete |
setInstance(String instance)
Database instance ID.
|
SQLAdmin.Users.Delete |
setKey(String key)
API key.
|
SQLAdmin.Users.Delete |
setName(String name)
Name of the user in the instance.
|
SQLAdmin.Users.Delete |
setOauthToken(String oauthToken)
OAuth 2.0 token for the current user.
|
SQLAdmin.Users.Delete |
setPrettyPrint(Boolean prettyPrint)
Returns response with indentations and line breaks.
|
SQLAdmin.Users.Delete |
setProject(String project)
Project ID of the project that contains the instance.
|
SQLAdmin.Users.Delete |
setQuotaUser(String quotaUser)
An opaque string that represents a user for quota purposes.
|
SQLAdmin.Users.Delete |
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 Delete(String project, String instance, String host, 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(String alt)
SQLAdminRequestsetAlt in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setFields(String fields)
SQLAdminRequestsetFields in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setKey(String key)
SQLAdminRequestsetKey in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setOauthToken(String oauthToken)
SQLAdminRequestsetOauthToken in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setPrettyPrint(Boolean prettyPrint)
SQLAdminRequestsetPrettyPrint in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setQuotaUser(String quotaUser)
SQLAdminRequestsetQuotaUser in class SQLAdminRequest<Operation>public SQLAdmin.Users.Delete setUserIp(String userIp)
SQLAdminRequestsetUserIp in class SQLAdminRequest<Operation>public String getProject()
public SQLAdmin.Users.Delete setProject(String project)
public String getInstance()
public SQLAdmin.Users.Delete setInstance(String instance)
public String getHost()
public SQLAdmin.Users.Delete setHost(String host)
public String getName()
public SQLAdmin.Users.Delete setName(String name)
public SQLAdmin.Users.Delete set(String parameterName, Object value)
set in class SQLAdminRequest<Operation>Copyright © 2011–2019 Google. All rights reserved.