Hi there! Are you looking for the official Deno documentation? Try docs.deno.com for all your Deno learning needs.

TargetNotificationEvent

import type { TargetNotificationEvent } from "https://googleapis.deno.dev/v1/clouddeploy:v1.ts";

Payload proto for "clouddeploy.googleapis.com/target_notification" Platform Log event that describes the failure to send target status change Pub/Sub notification.

interface TargetNotificationEvent {
message?: string;
target?: string;
type?:
| "TYPE_UNSPECIFIED"
| "TYPE_PUBSUB_NOTIFICATION_FAILURE"
| "TYPE_RESOURCE_STATE_CHANGE"
| "TYPE_PROCESS_ABORTED"
| "TYPE_RESTRICTION_VIOLATED"
| "TYPE_RESOURCE_DELETED"
| "TYPE_ROLLOUT_UPDATE"
| "TYPE_DEPLOY_POLICY_EVALUATION"
| "TYPE_RENDER_STATUES_CHANGE";
}

§Properties

§
message?: string
[src]

Debug message for when a notification fails to send.

§
target?: string
[src]

The name of the Target.

§
type?: "TYPE_UNSPECIFIED" | "TYPE_PUBSUB_NOTIFICATION_FAILURE" | "TYPE_RESOURCE_STATE_CHANGE" | "TYPE_PROCESS_ABORTED" | "TYPE_RESTRICTION_VIOLATED" | "TYPE_RESOURCE_DELETED" | "TYPE_ROLLOUT_UPDATE" | "TYPE_DEPLOY_POLICY_EVALUATION" | "TYPE_RENDER_STATUES_CHANGE"
[src]

Type of this notification, e.g. for a Pub/Sub failure.