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

AdvisoryNotifications

import { AdvisoryNotifications } from "https://googleapis.deno.dev/v1/advisorynotifications:v1.ts";

An API for accessing Advisory Notifications in Google Cloud

class AdvisoryNotifications {
constructor(client?: CredentialsClient, baseUrl?: string);
async organizationsLocationsGetSettings(name: string): Promise<GoogleCloudAdvisorynotificationsV1Settings>;
async organizationsLocationsNotificationsGet(name: string, opts?: OrganizationsLocationsNotificationsGetOptions): Promise<GoogleCloudAdvisorynotificationsV1Notification>;
async organizationsLocationsNotificationsList(parent: string, opts?: OrganizationsLocationsNotificationsListOptions): Promise<GoogleCloudAdvisorynotificationsV1ListNotificationsResponse>;
async organizationsLocationsUpdateSettings(name: string, req: GoogleCloudAdvisorynotificationsV1Settings): Promise<GoogleCloudAdvisorynotificationsV1Settings>;
async projectsLocationsGetSettings(name: string): Promise<GoogleCloudAdvisorynotificationsV1Settings>;
async projectsLocationsNotificationsGet(name: string, opts?: ProjectsLocationsNotificationsGetOptions): Promise<GoogleCloudAdvisorynotificationsV1Notification>;
async projectsLocationsNotificationsList(parent: string, opts?: ProjectsLocationsNotificationsListOptions): Promise<GoogleCloudAdvisorynotificationsV1ListNotificationsResponse>;
async projectsLocationsUpdateSettings(name: string, req: GoogleCloudAdvisorynotificationsV1Settings): Promise<GoogleCloudAdvisorynotificationsV1Settings>;
}

§Constructors

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

§Methods

§
organizationsLocationsGetSettings(name: string): Promise<GoogleCloudAdvisorynotificationsV1Settings>
[src]

Get notification settings.

@param name

Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

§
organizationsLocationsNotificationsGet(name: string, opts?: OrganizationsLocationsNotificationsGetOptions): Promise<GoogleCloudAdvisorynotificationsV1Notification>
[src]

Gets a notification.

@param name

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.

§
organizationsLocationsNotificationsList(parent: string, opts?: OrganizationsLocationsNotificationsListOptions): Promise<GoogleCloudAdvisorynotificationsV1ListNotificationsResponse>
[src]

Lists notifications under a given parent.

@param parent

Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}".

§
organizationsLocationsUpdateSettings(name: string, req: GoogleCloudAdvisorynotificationsV1Settings): Promise<GoogleCloudAdvisorynotificationsV1Settings>
[src]

Update notification settings.

@param name

Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

§
projectsLocationsGetSettings(name: string): Promise<GoogleCloudAdvisorynotificationsV1Settings>
[src]

Get notification settings.

@param name

Required. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.

§
projectsLocationsNotificationsGet(name: string, opts?: ProjectsLocationsNotificationsGetOptions): Promise<GoogleCloudAdvisorynotificationsV1Notification>
[src]

Gets a notification.

@param name

Required. A name of the notification to retrieve. Format: organizations/{organization}/locations/{location}/notifications/{notification} or projects/{projects}/locations/{location}/notifications/{notification}.

§
projectsLocationsNotificationsList(parent: string, opts?: ProjectsLocationsNotificationsListOptions): Promise<GoogleCloudAdvisorynotificationsV1ListNotificationsResponse>
[src]

Lists notifications under a given parent.

@param parent

Required. The parent, which owns this collection of notifications. Must be of the form "organizations/{organization}/locations/{location}" or "projects/{project}/locations/{location}".

§
projectsLocationsUpdateSettings(name: string, req: GoogleCloudAdvisorynotificationsV1Settings): Promise<GoogleCloudAdvisorynotificationsV1Settings>
[src]

Update notification settings.

@param name

Identifier. The resource name of the settings to retrieve. Format: organizations/{organization}/locations/{location}/settings or projects/{projects}/locations/{location}/settings.