Resource: User
A Cloud SQL user resource.
JSON representation | |
---|---|
{
"kind": string,
"password": string,
"etag": string,
"name": string,
"host": string,
"instance": string,
"project": string,
"sqlserverUserDetails": {
object ( |
Fields | |
---|---|
kind |
This is always sql#user. |
password |
The password for the user. |
etag |
This field is deprecated and will be removed from a future version of the API. |
name |
The name of the user in the Cloud SQL instance. Can be omitted for update since it is already specified in the URL. |
host |
The host name from which the user can connect. For insert operations, host defaults to an empty string. For update operations, host is specified as part of the request URL. The host name cannot be updated after insertion. |
instance |
The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update since it is already specified on the URL. |
project |
The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update since it is already specified on the URL. |
sqlserverUserDetails |
|
SqlServerUserDetails
Represents a Sql Server user on the Cloud SQL instance.
JSON representation | |
---|---|
{ "disabled": boolean, "serverRoles": [ string ] } |
Fields | |
---|---|
disabled |
If the user has been disabled |
serverRoles[] |
The server roles for this user |
Methods |
|
---|---|
|
Deletes a user from a Cloud SQL instance. |
|
Creates a new user in a Cloud SQL instance. |
|
Lists users in the specified Cloud SQL instance. |
|
Updates an existing user in a Cloud SQL instance. |