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 |
getDualPasswordType()
Dual password status for the user.
|
String |
getEtag()
This field is deprecated and will be removed from a future version of the API.
|
String |
getHost()
Optional.
|
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.
|
UserPasswordValidationPolicy |
getPasswordPolicy()
User level password validation policy.
|
String |
getProject()
The project ID of the project containing the Cloud SQL database.
|
SqlServerUserDetails |
getSqlserverUserDetails() |
String |
getType()
The user type.
|
User |
set(String fieldName,
Object value) |
User |
setDualPasswordType(String dualPasswordType)
Dual password status for the user.
|
User |
setEtag(String etag)
This field is deprecated and will be removed from a future version of the API.
|
User |
setHost(String host)
Optional.
|
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 |
setPasswordPolicy(UserPasswordValidationPolicy passwordPolicy)
User level password validation policy.
|
User |
setProject(String project)
The project ID of the project containing the Cloud SQL database.
|
User |
setSqlserverUserDetails(SqlServerUserDetails sqlserverUserDetails) |
User |
setType(String type)
The user type.
|
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 getDualPasswordType()
null for nonepublic User setDualPasswordType(String dualPasswordType)
dualPasswordType - dualPasswordType or null for nonepublic 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 UserPasswordValidationPolicy getPasswordPolicy()
null for nonepublic User setPasswordPolicy(UserPasswordValidationPolicy passwordPolicy)
passwordPolicy - passwordPolicy or null for nonepublic String getProject()
null for nonepublic User setProject(String project)
project - project or null for nonepublic SqlServerUserDetails getSqlserverUserDetails()
null for nonepublic User setSqlserverUserDetails(SqlServerUserDetails sqlserverUserDetails)
sqlserverUserDetails - sqlserverUserDetails or null for nonepublic String getType()
null for nonepublic User setType(String type)
type - type or null for nonepublic User set(String fieldName, Object value)
set in class GenericJsonpublic User clone()
clone in class GenericJsonCopyright © 2011–2022 Google. All rights reserved.