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
§
disabled?: boolean
[src]Optional. Determines if the hook disabled or not. Set to true to stop sending traffic.
§
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.