REST Resource: regionNotificationEndpoints

Resource: NotificationEndpoint

Represents a notification endpoint.

A notification endpoint resource defines an endpoint to receive notifications when there are status changes detected by the associated health check service.

For more information, see Health checks overview.

JSON representation
{
  "kind": string,
  "id": string,
  "creationTimestamp": string,
  "name": string,
  "description": string,
  "selfLink": string,
  "region": string,
  "grpcSettings": {
    "endpoint": string,
    "retryDurationSec": integer,
    "payloadName": string,
    "authority": string,
    "resendInterval": {
      "seconds": string,
      "nanos": integer
    }
  }
}
Fields
kind

string

[Output Only] Type of the resource. Always compute#notificationEndpoint for notification endpoints.

id

string (uint64 format)

[Output Only] A unique identifier for this resource type. The server generates this identifier.

creationTimestamp

string

[Output Only] Creation timestamp in RFC3339 text format.

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.

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.

grpcSettings

object

Settings of the gRPC notification endpoint including the endpoint URL and the retry duration.

grpcSettings.endpoint

string

Endpoint to which gRPC notifications are sent. This must be a valid gRPCLB DNS name.

grpcSettings.retryDurationSec

integer (uint32 format)

How much time (in seconds) is spent attempting notification retries until a successful response is received. Default is 30s. Limit is 20m (1200s). Must be a positive number.

grpcSettings.payloadName

string

Optional. If specified, this field is used to populate the "name" field in gRPC requests.

grpcSettings.authority

string

Optional. If specified, this field is used to set the authority header by the sender of notifications. See https://tools.ietf.org/html/rfc7540#section-8.1.2.3

grpcSettings.resendInterval

object

Optional. This field is used to configure how often to send a full update of all non-healthy backends. If unspecified, full updates are not sent. If specified, must be in the range between 600 seconds to 3600 seconds. Nanos are disallowed. Can only be set for regional notification endpoints.

grpcSettings.resendInterval.seconds

string (int64 format)

Span of time at a resolution of a second. Must be from 0 to 315,576,000,000 inclusive. Note: these bounds are computed from: 60 sec/min * 60 min/hr * 24 hr/day * 365.25 days/year * 10000 years

grpcSettings.resendInterval.nanos

integer

Span of time that's a fraction of a second at nanosecond resolution. Durations less than one second are represented with a 0 seconds field and a positive nanos field. Must be from 0 to 999,999,999 inclusive.

Methods

delete

Deletes the specified NotificationEndpoint in the given region

get

Returns the specified NotificationEndpoint resource in the given region.

insert

Create a NotificationEndpoint in the specified project in the given region using the parameters that are included in the request.

list

Lists the NotificationEndpoints for a project in the given region.