SDK reference / Models / Observability
NotificationChannel
Kind: class
Namespace: Egulu.Sdk.Models.Observability
Where an alert goes, named once and referenced by alert rules as notificationChannels/{id} in notificationChannels (IP-12; ADR-0828proposed). A WEBHOOK_ENDPOINT channel names a messaging webhook endpoint (webhookEndpoints/{id}), so its signing secret and deliveryare the existing webhook path's.
Properties
| Name | Type | JSON name | Description |
|---|---|---|---|
CreateTime | DateTimeOffset? | createTime | The createTime property |
DisplayName | string? | displayName | Up to 63 characters. |
Etag | string? | etag | "{generation}"; send it back in If-Match. |
Kind | Models.Observability.NotificationChannelKind? | kind | What kind of target it is. |
Labels | Models.Observability.NotificationChannel_labels? | labels | At most 64. |
LastDeliveryDelivered | bool? | lastDeliveryDelivered | Whether that alert was delivered. |
LastDeliveryTime | DateTimeOffset? | lastDeliveryTime | When an alert last went through this channel. |
LastTestDelivered | bool? | lastTestDelivered | Whether it was delivered. |
LastTestDetail | string? | lastTestDetail | What the transport said, without any secret. |
LastTestTime | DateTimeOffset? | lastTestTime | When the last test send ran. |
Name | string? | name | projects/{project}/locations/{location}/notificationChannels/{notificationChannel}. |
TargetDisplay | string? | targetDisplay | The target with any secret part removed. |
TestPending | bool? | testPending | When a test send was last asked for and has not run yet. |
Uid | string? | uid | The uid property |
UpdateTime | DateTimeOffset? | updateTime | The updateTime property |
UsedBy | List<string>? | usedBy | The alert rules that name this channel. |
Verified | bool? | verified | True when the last test send was delivered. |