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

NameTypeJSON nameDescription
CreateTimeDateTimeOffset?createTimeThe createTime property
DisplayNamestring?displayNameUp to 63 characters.
Etagstring?etag"{generation}"; send it back in If-Match.
KindModels.Observability.NotificationChannelKind?kindWhat kind of target it is.
LabelsModels.Observability.NotificationChannel_labels?labelsAt most 64.
LastDeliveryDeliveredbool?lastDeliveryDeliveredWhether that alert was delivered.
LastDeliveryTimeDateTimeOffset?lastDeliveryTimeWhen an alert last went through this channel.
LastTestDeliveredbool?lastTestDeliveredWhether it was delivered.
LastTestDetailstring?lastTestDetailWhat the transport said, without any secret.
LastTestTimeDateTimeOffset?lastTestTimeWhen the last test send ran.
Namestring?nameprojects/{project}/locations/{location}/notificationChannels/{notificationChannel}.
TargetDisplaystring?targetDisplayThe target with any secret part removed.
TestPendingbool?testPendingWhen a test send was last asked for and has not run yet.
Uidstring?uidThe uid property
UpdateTimeDateTimeOffset?updateTimeThe updateTime property
UsedByList<string>?usedByThe alert rules that name this channel.
Verifiedbool?verifiedTrue when the last test send was delivered.