Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

User

import type { User } from "https://googleapis.deno.dev/v1/sqladmin:v1.ts";

A Cloud SQL user resource.

interface User {
dualPasswordType?:
| "DUAL_PASSWORD_TYPE_UNSPECIFIED"
| "NO_MODIFY_DUAL_PASSWORD"
| "NO_DUAL_PASSWORD"
| "DUAL_PASSWORD";
etag?: string;
host?: string;
instance?: string;
kind?: string;
name?: string;
password?: string;
project?: string;
sqlserverUserDetails?: SqlServerUserDetails;
type?:
| "BUILT_IN"
| "CLOUD_IAM_USER"
| "CLOUD_IAM_SERVICE_ACCOUNT"
| "CLOUD_IAM_GROUP"
| "CLOUD_IAM_GROUP_USER"
| "CLOUD_IAM_GROUP_SERVICE_ACCOUNT";
}

§Properties

§
dualPasswordType?: "DUAL_PASSWORD_TYPE_UNSPECIFIED" | "NO_MODIFY_DUAL_PASSWORD" | "NO_DUAL_PASSWORD" | "DUAL_PASSWORD"
[src]

Dual password status for the user.

§
etag?: string
[src]

This field is deprecated and will be removed from a future version of the API.

§
host?: string
[src]

Optional. The host 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. For a MySQL instance, it's required; for a PostgreSQL or SQL Server instance, it's optional.

§
instance?: string
[src]

The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for update because it is already specified on the URL.

§
kind?: string
[src]

This is always sql#user.

§
name?: string
[src]

The name of the user in the Cloud SQL instance. Can be omitted for update because it is already specified in the URL.

§
password?: string
[src]

The password for the user.

§

User level password validation policy.

§
project?: string
[src]

The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for update because it is already specified on the URL.

§
sqlserverUserDetails?: SqlServerUserDetails
[src]
§
type?: "BUILT_IN" | "CLOUD_IAM_USER" | "CLOUD_IAM_SERVICE_ACCOUNT" | "CLOUD_IAM_GROUP" | "CLOUD_IAM_GROUP_USER" | "CLOUD_IAM_GROUP_SERVICE_ACCOUNT"
[src]

The user type. It determines the method to authenticate the user during login. The default is the database's built-in user type.