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