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

Database

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

Represents database access information, such as queries. A database may be a sub-resource of an instance (as in the case of Cloud SQL instances or Cloud Spanner instances), or the database instance itself. Some database resources might not have the full resource name populated because these resource types, such as Cloud SQL databases, are not yet supported by Cloud Asset Inventory. In these cases only the display name is provided.

interface Database {
displayName?: string;
grantees?: string[];
name?: string;
query?: string;
userName?: string;
version?: string;
}

§Properties

§
displayName?: string
[src]

The human-readable name of the database that the user connected to.

§
grantees?: string[]
[src]

The target usernames, roles, or groups of an SQL privilege grant, which is not an IAM policy change.

§
name?: string
[src]

Some database resources may not have the full resource name populated because these resource types are not yet supported by Cloud Asset Inventory (e.g. Cloud SQL databases). In these cases only the display name will be provided. The full resource name of the database that the user connected to, if it is supported by Cloud Asset Inventory.

§
query?: string
[src]

The SQL statement that is associated with the database access.

§
userName?: string
[src]

The username used to connect to the database. The username might not be an IAM principal and does not have a set format.

§
version?: string
[src]

The version of the database, for example, POSTGRES_14. See the complete list.