REST Resource: organizations.environments.flowhooks

Resource: FlowHook

JSON representation
{
  "flowHookPoint": string,
  "description": string,
  "sharedFlow": string,
  "continueOnError": boolean
}
Fields
flowHookPoint

string

Output only. Where in the API call flow the flow hook is invoked. Must be one of PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, or PostTargetFlowHook.

description

string

Description of the flow hook.

sharedFlow

string

Shared flow attached to this flow hook, or empty if there is none attached.

continueOnError

boolean

Optional. Flag that specifies whether execution should continue if the flow hook throws an exception. Set to true to continue execution. Set to false to stop execution if the flow hook throws an exception. Defaults to true.

Methods

attachSharedFlowToFlowHook

Attaches a shared flow to a flow hook.

detachSharedFlowFromFlowHook

Detaches a shared flow from a flow hook.

get

Returns the name of the shared flow attached to the specified flow hook.

list

Lists the flow hooks attached to an environment.