public final class User extends GenericJson
This is the Java data model class that specifies how to parse/serialize into the JSON that is transmitted over HTTP when working with the Cloud SQL Admin API. For a detailed explanation see: https://developers.google.com/api-client-library/java/google-http-java-client/json
GenericData.FlagsAbstractMap.SimpleEntry<K,V>, AbstractMap.SimpleImmutableEntry<K,V>| Constructor and Description |
|---|
User() |
| Modifier and Type | Method and Description |
|---|---|
User |
clone() |
String |
getEtag()
This field is deprecated and will be removed from a future version of the API.
|
String |
getHost()
The host name from which the user can connect.
|
String |
getInstance()
The name of the Cloud SQL instance.
|
String |
getKind()
This is always sql#user.
|
String |
getName()
The name of the user in the Cloud SQL instance.
|
String |
getPassword()
The password for the user.
|
String |
getProject()
The project ID of the project containing the Cloud SQL database.
|
User |
set(String fieldName,
Object value) |
User |
setEtag(String etag)
This field is deprecated and will be removed from a future version of the API.
|
User |
setHost(String host)
The host name from which the user can connect.
|
User |
setInstance(String instance)
The name of the Cloud SQL instance.
|
User |
setKind(String kind)
This is always sql#user.
|
User |
setName(String name)
The name of the user in the Cloud SQL instance.
|
User |
setPassword(String password)
The password for the user.
|
User |
setProject(String project)
The project ID of the project containing the Cloud SQL database.
|
getFactory, setFactory, toPrettyString, toStringentrySet, equals, get, getClassInfo, getUnknownKeys, hashCode, put, putAll, remove, setUnknownKeysclear, containsKey, containsValue, isEmpty, keySet, size, valuesfinalize, getClass, notify, notifyAll, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, forEach, getOrDefault, merge, putIfAbsent, remove, replace, replace, replaceAllpublic String getEtag()
null for nonepublic User setEtag(String etag)
etag - etag or null for nonepublic String getHost()
null for nonepublic User setHost(String host)
host - host or null for nonepublic String getInstance()
null for nonepublic User setInstance(String instance)
instance - instance or null for nonepublic String getKind()
null for nonepublic User setKind(String kind)
kind - kind or null for nonepublic String getName()
null for nonepublic User setName(String name)
name - name or null for nonepublic String getPassword()
null for nonepublic User setPassword(String password)
password - password or null for nonepublic String getProject()
null for nonepublic User setProject(String project)
project - project or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJsonCopyright © 2011–2019 Google. All rights reserved.