Class User
A Cloud SQL user resource.
Inheritance
Implements
Inherited Members
Namespace: Google.Apis.SQLAdmin.v1beta4.Data
Assembly: Google.Apis.SQLAdmin.v1beta4.dll
Syntax
public class User : IDirectResponseSchema
Properties
ETag
This field is deprecated and will be removed from a future version of the API.
Declaration
[JsonProperty("etag")]
public virtual string ETag { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.
Declaration
[JsonProperty("host")]
public virtual string Host { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.
Declaration
[JsonProperty("instance")]
public virtual string Instance { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Kind
This is always sql#user.
Declaration
[JsonProperty("kind")]
public virtual string Kind { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Name
The name of the user in the Cloud SQL instance. Can be omitted for update since it is already specified in the URL.
Declaration
[JsonProperty("name")]
public virtual string Name { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
Password
The password for the user.
Declaration
[JsonProperty("password")]
public virtual string Password { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
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.
Declaration
[JsonProperty("project")]
public virtual string Project { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |
SqlserverUserDetails
Declaration
[JsonProperty("sqlserverUserDetails")]
public virtual SqlServerUserDetails SqlserverUserDetails { get; set; }
Property Value
| Type | Description |
|---|---|
| SqlServerUserDetails |
Type
The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
| Type | Description |
|---|---|
| System.String |