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

Hook

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

Metadata of a Secure Source Manager Hook.

interface Hook {
readonly createTime?: Date;
disabled?: boolean;
events?: "UNSPECIFIED" | "PUSH" | "PULL_REQUEST"[];
name?: string;
pushOption?: PushOption;
sensitiveQueryString?: string;
targetUri?: string;
readonly uid?: string;
readonly updateTime?: Date;
}

§Properties

§
readonly createTime?: Date
[src]

Output only. Create timestamp.

§
disabled?: boolean
[src]

Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.

§
events?: "UNSPECIFIED" | "PUSH" | "PULL_REQUEST"[]
[src]

Optional. The events that trigger hook on.

§
name?: string
[src]

Identifier. A unique identifier for a Hook. The name should be of the format: projects/{project}/locations/{location_id}/repositories/{repository_id}/hooks/{hook_id}

§
pushOption?: PushOption
[src]

Optional. The trigger option for push events.

§
sensitiveQueryString?: string
[src]

Optional. The sensitive query string to be appended to the target URI.

§
targetUri?: string
[src]

Required. The target URI to which the payloads will be delivered.

§
readonly uid?: string
[src]

Output only. Unique identifier of the hook.

§
readonly updateTime?: Date
[src]

Output only. Update timestamp.