class Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHook

Attributes

continue_on_error[RW]

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`. Corresponds to the JSON property `continueOnError` @return [Boolean]

continue_on_error?[RW]

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`. Corresponds to the JSON property `continueOnError` @return [Boolean]

description[RW]

Description of the flow hook. Corresponds to the JSON property `description` @return [String]

flow_hook_point[RW]

Output only. Where in the API call flow the flow hook is invoked. Must be one of `PreProxyFlowHook`, `PostProxyFlowHook`, `PreTargetFlowHook`, or ` PostTargetFlowHook`. Corresponds to the JSON property `flowHookPoint` @return [String]

shared_flow[RW]

Shared flow attached to this flow hook, or empty if there is none attached. Corresponds to the JSON property `sharedFlow` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/apigee_v1/classes.rb, line 3381
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/apigee_v1/classes.rb, line 3386
def update!(**args)
  @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
  @description = args[:description] if args.key?(:description)
  @flow_hook_point = args[:flow_hook_point] if args.key?(:flow_hook_point)
  @shared_flow = args[:shared_flow] if args.key?(:shared_flow)
end