Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHook

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/apigee_v1/classes.rb,
generated/google/apis/apigee_v1/representations.rb,
generated/google/apis/apigee_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1FlowHook

Returns a new instance of GoogleCloudApigeeV1FlowHook.


2659
2660
2661
# File 'generated/google/apis/apigee_v1/classes.rb', line 2659

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#continue_on_errorBoolean Also known as: continue_on_error?

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

Returns:

  • (Boolean)

2639
2640
2641
# File 'generated/google/apis/apigee_v1/classes.rb', line 2639

def continue_on_error
  @continue_on_error
end

#descriptionString

Description of the flow hook. Corresponds to the JSON property description

Returns:

  • (String)

2645
2646
2647
# File 'generated/google/apis/apigee_v1/classes.rb', line 2645

def description
  @description
end

#flow_hook_pointString

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

Returns:

  • (String)

2652
2653
2654
# File 'generated/google/apis/apigee_v1/classes.rb', line 2652

def flow_hook_point
  @flow_hook_point
end

#shared_flowString

Shared flow attached to this flow hook, or empty if there is none attached. Corresponds to the JSON property sharedFlow

Returns:

  • (String)

2657
2658
2659
# File 'generated/google/apis/apigee_v1/classes.rb', line 2657

def shared_flow
  @shared_flow
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


2664
2665
2666
2667
2668
2669
# File 'generated/google/apis/apigee_v1/classes.rb', line 2664

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