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

DatabaseCenter

import { DatabaseCenter } from "https://googleapis.deno.dev/v1/databasecenter:v1beta.ts";

Database Center offers a comprehensive, organization-wide platform for monitoring database fleet health across various products. It simplifies management and reduces risk by automatically aggregating and summarizing key health signals, removing the need for custom dashboards. The platform provides a unified view through its dashboard and API, enabling teams focused on reliability, compliance, security, cost, and administration to quickly identify and address relevant issues within their database fleets.

class DatabaseCenter {
constructor(client?: CredentialsClient, baseUrl?: string);
async foldersAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>;
async organizationsAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>;
async projectsAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>;
async v1betaAggregateFleet(opts?: V1betaAggregateFleetOptions): Promise<AggregateFleetResponse>;
async v1betaAggregateIssueStats(req: AggregateIssueStatsRequest): Promise<AggregateIssueStatsResponse>;
async v1betaQueryDatabaseResourceGroups(req: QueryDatabaseResourceGroupsRequest): Promise<QueryDatabaseResourceGroupsResponse>;
async v1betaQueryIssues(req: QueryIssuesRequest): Promise<QueryIssuesResponse>;
async v1betaQueryProducts(opts?: V1betaQueryProductsOptions): Promise<QueryProductsResponse>;
}

§Constructors

§
new DatabaseCenter(client?: CredentialsClient, baseUrl?: string)
[src]

§Methods

§
foldersAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>
[src]

AggregateQueryStats provides database resource query execution statistics.

@param parent

Required. Parent can be a project, a folder, or an organization. The search is limited to the resources within the parent. The allowed values are: * projects/{PROJECT_ID} (e.g., "projects/foo-bar") * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")

§
organizationsAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>
[src]

AggregateQueryStats provides database resource query execution statistics.

@param parent

Required. Parent can be a project, a folder, or an organization. The search is limited to the resources within the parent. The allowed values are: * projects/{PROJECT_ID} (e.g., "projects/foo-bar") * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")

§
projectsAggregateQueryStats(parent: string, req: AggregateQueryStatsRequest): Promise<AggregateQueryStatsResponse>
[src]

AggregateQueryStats provides database resource query execution statistics.

@param parent

Required. Parent can be a project, a folder, or an organization. The search is limited to the resources within the parent. The allowed values are: * projects/{PROJECT_ID} (e.g., "projects/foo-bar") * projects/{PROJECT_NUMBER} (e.g., "projects/12345678") * folders/{FOLDER_NUMBER} (e.g., "folders/1234567") * organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")

§
v1betaAggregateFleet(opts?: V1betaAggregateFleetOptions): Promise<AggregateFleetResponse>
[src]

AggregateFleet provides statistics about the fleet grouped by various fields.

§
v1betaAggregateIssueStats(req: AggregateIssueStatsRequest): Promise<AggregateIssueStatsResponse>
[src]

AggregateIssueStats provides database resource issues statistics.

§
v1betaQueryDatabaseResourceGroups(req: QueryDatabaseResourceGroupsRequest): Promise<QueryDatabaseResourceGroupsResponse>
[src]

QueryDatabaseResourceGroups returns paginated results of database groups.

§
v1betaQueryIssues(req: QueryIssuesRequest): Promise<QueryIssuesResponse>
[src]

QueryIssues provides a list of issues and recommendations that a user has access to and that are within the requested scope.

§
v1betaQueryProducts(opts?: V1betaQueryProductsOptions): Promise<QueryProductsResponse>
[src]

QueryProducts provides a list of all possible products which can be used to filter database resources.