Skip to main content

region_notification_endpoints

Creates, updates, deletes, gets or lists a region_notification_endpoints resource.

Overview

Nameregion_notification_endpoints
TypeResource
Idgoogle.compute.region_notification_endpoints

Fields

NameDatatypeDescription
idstring[Output Only] A unique identifier for this resource type. The server generates this identifier.
namestringName of the resource. Provided by the client when the resource is created. The name must be 1-63 characters long, and comply with RFC1035. Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])? which means the first character must be a lowercase letter, and all following characters must be a dash, lowercase letter, or digit, except the last character, which cannot be a dash.
descriptionstringAn optional description of this resource. Provide this property when you create the resource.
creationTimestampstring[Output Only] Creation timestamp in RFC3339 text format.
grpcSettingsobjectRepresents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint.
kindstring[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.
regionstring[Output Only] URL of the region where the notification endpoint resides. This field applies only to the regional resource. You must specify this field as part of the HTTP request URL. It is not settable as a field in the request body.
selfLinkstring[Output Only] Server-defined URL for the resource.

Methods

NameAccessible byRequired ParamsDescription
getSELECTnotificationEndpoint, project, regionReturns the specified NotificationEndpoint resource in the given region.
listSELECTproject, regionLists the NotificationEndpoints for a project in the given region.
insertINSERTproject, regionCreate a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.
deleteDELETEnotificationEndpoint, project, regionDeletes the specified NotificationEndpoint in the given region

SELECT examples

Lists the NotificationEndpoints for a project in the given region.

SELECT
id,
name,
description,
creationTimestamp,
grpcSettings,
kind,
region,
selfLink
FROM google.compute.region_notification_endpoints
WHERE project = '{{ project }}'
AND region = '{{ region }}';

INSERT example

Use the following StackQL query and manifest file to create a new region_notification_endpoints resource.

/*+ create */
INSERT INTO google.compute.region_notification_endpoints (
project,
region,
name,
description,
region,
grpcSettings
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ name }}',
'{{ description }}',
'{{ region }}',
'{{ grpcSettings }}'
;

DELETE example

Deletes the specified region_notification_endpoints resource.

/*+ delete */
DELETE FROM google.compute.region_notification_endpoints
WHERE notificationEndpoint = '{{ notificationEndpoint }}'
AND project = '{{ project }}'
AND region = '{{ region }}';