region_notification_endpoints
Creates, updates, deletes, gets or lists a region_notification_endpoints
resource.
Overview
Name | region_notification_endpoints |
Type | Resource |
Id | google.compute.region_notification_endpoints |
Fields
Name | Datatype | Description |
---|---|---|
id | string | [Output Only] A unique identifier for this resource type. The server generates this identifier. |
name | string | Name 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. |
description | string | An optional description of this resource. Provide this property when you create the resource. |
creationTimestamp | string | [Output Only] Creation timestamp in RFC3339 text format. |
grpcSettings | object | Represents a gRPC setting that describes one gRPC notification endpoint and the retry duration attempting to send notification to this endpoint. |
kind | string | [Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints. |
region | string | [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. |
selfLink | string | [Output Only] Server-defined URL for the resource. |
Methods
Name | Accessible by | Required Params | Description |
---|---|---|---|
get | SELECT | notificationEndpoint, project, region | Returns the specified NotificationEndpoint resource in the given region. |
list | SELECT | project, region | Lists the NotificationEndpoints for a project in the given region. |
insert | INSERT | project, region | Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request. |
delete | DELETE | notificationEndpoint, project, region | Deletes 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.
- All Properties
- Manifest
/*+ create */
INSERT INTO google.compute.region_notification_endpoints (
project,
region,
name,
description,
region,
grpcSettings
)
SELECT
'{{ project }}',
'{{ region }}',
'{{ name }}',
'{{ description }}',
'{{ region }}',
'{{ grpcSettings }}'
;
- name: your_resource_model_name
props:
- name: kind
value: string
- name: id
value: string
- name: creationTimestamp
value: string
- name: name
value: string
- name: description
value: string
- name: selfLink
value: string
- name: region
value: string
- name: grpcSettings
value:
- name: endpoint
value: string
- name: retryDurationSec
value: integer
- name: payloadName
value: string
- name: authority
value: string
- name: resendInterval
value:
- name: seconds
value: string
- name: nanos
value: integer
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 }}';