Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig

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) ⇒ GoogleCloudApigeeV1FlowHookConfig

Returns a new instance of GoogleCloudApigeeV1FlowHookConfig.



2153
2154
2155
# File 'generated/google/apis/apigee_v1/classes.rb', line 2153

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

Instance Attribute Details

#continue_on_errorBoolean Also known as: continue_on_error?

Should the flow abort after an error in the flow hook. Should default to true if unset. Corresponds to the JSON property continueOnError

Returns:

  • (Boolean)


2136
2137
2138
# File 'generated/google/apis/apigee_v1/classes.rb', line 2136

def continue_on_error
  @continue_on_error
end

#nameString

The name of the flow hook. Must be of the form 'organizations/org/environments/env/flowhooks/point''. Known points are PreProxyFlowHook, PostProxyFlowHook, PreTargetFlowHook, and PostTargetFlowHook Corresponds to the JSON property name

Returns:

  • (String)


2145
2146
2147
# File 'generated/google/apis/apigee_v1/classes.rb', line 2145

def name
  @name
end

#shared_flow_nameString

The name of the shared flow to invoke. Must be of the form 'organizations/org/sharedflows/sharedflow'. Corresponds to the JSON property sharedFlowName

Returns:

  • (String)


2151
2152
2153
# File 'generated/google/apis/apigee_v1/classes.rb', line 2151

def shared_flow_name
  @shared_flow_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2158
2159
2160
2161
2162
# File 'generated/google/apis/apigee_v1/classes.rb', line 2158

def update!(**args)
  @continue_on_error = args[:continue_on_error] if args.key?(:continue_on_error)
  @name = args[:name] if args.key?(:name)
  @shared_flow_name = args[:shared_flow_name] if args.key?(:shared_flow_name)
end