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

Constructor Details

#initialize(**args) ⇒ GoogleCloudApigeeV1FlowHookConfig

Returns a new instance of GoogleCloudApigeeV1FlowHookConfig.



3026
3027
3028
# File 'generated/google/apis/apigee_v1/classes.rb', line 3026

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

Instance Attribute Details

#continue_on_errorBoolean Also known as: continue_on_error?

Flag that specifies whether the flow should abort after an error in the flow hook. Defaults to true (continue on error). Corresponds to the JSON property continueOnError

Returns:

  • (Boolean)


3009
3010
3011
# File 'generated/google/apis/apigee_v1/classes.rb', line 3009

def continue_on_error
  @continue_on_error
end

#nameString

Name of the flow hook in the following format: organizations/org/ environments/env/flowhooks/point`. Validpointvalues include: PreProxyFlowHook,PostProxyFlowHook,PreTargetFlowHook, and PostTargetFlowHook Corresponds to the JSON propertyname`

Returns:

  • (String)


3018
3019
3020
# File 'generated/google/apis/apigee_v1/classes.rb', line 3018

def name
  @name
end

#shared_flow_nameString

Name of the shared flow to invoke in the following format: organizations/org /sharedflows/sharedflow` Corresponds to the JSON propertysharedFlowName`

Returns:

  • (String)


3024
3025
3026
# File 'generated/google/apis/apigee_v1/classes.rb', line 3024

def shared_flow_name
  @shared_flow_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3031
3032
3033
3034
3035
# File 'generated/google/apis/apigee_v1/classes.rb', line 3031

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