class OrganizationsLocationsNotifications extends Resource (View source)

The "notifications" collection of methods.

Typical usage is:

 $advisorynotificationsService = new Google\Service\Advisorynotifications(...);
 $notifications = $advisorynotificationsService->organizations_locations_notifications;

Methods

get(string $name, array $optParams = [])

Gets a notification. (notifications.get)

listOrganizationsLocationsNotifications(string $parent, array $optParams = [])

Lists notifications under a given parent.

Details

GoogleCloudAdvisorynotificationsV1Notification get(string $name, array $optParams = [])

Gets a notification. (notifications.get)

Parameters

string $name

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAdvisorynotificationsV1Notification

Exceptions

Exception

GoogleCloudAdvisorynotificationsV1ListNotificationsResponse listOrganizationsLocationsNotifications(string $parent, array $optParams = [])

Lists notifications under a given parent.

(notifications.listOrganizationsLocationsNotifications)

Parameters

string $parent

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

array $optParams

Optional parameters.

Return Value

GoogleCloudAdvisorynotificationsV1ListNotificationsResponse

Exceptions

Exception