Class: Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig
- Inherits:
-
Object
- Object
- Google::Apis::ApigeeV1::GoogleCloudApigeeV1FlowHookConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/apigee_v1/classes.rb,
lib/google/apis/apigee_v1/representations.rb,
lib/google/apis/apigee_v1/representations.rb
Instance Attribute Summary collapse
-
#continue_on_error ⇒ Boolean
(also: #continue_on_error?)
Flag that specifies whether the flow should abort after an error in the flow hook.
-
#name ⇒ String
Name of the flow hook in the following format:
organizations/
org/ environments/
env/flowhooks/
point``. -
#shared_flow_name ⇒ String
Name of the shared flow to invoke in the following format:
organizations/
org/sharedflows/
sharedflow`Corresponds to the JSON property
sharedFlowName`.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudApigeeV1FlowHookConfig
constructor
A new instance of GoogleCloudApigeeV1FlowHookConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudApigeeV1FlowHookConfig
Returns a new instance of GoogleCloudApigeeV1FlowHookConfig.
4842 4843 4844 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4842 def initialize(**args) update!(**args) end |
Instance Attribute Details
#continue_on_error ⇒ Boolean 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
4825 4826 4827 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4825 def continue_on_error @continue_on_error end |
#name ⇒ String
Name of the flow hook in the following format: organizations/
org/
environments/
env/flowhooks/
point`. Valid
pointvalues include:
PreProxyFlowHook,
PostProxyFlowHook,
PreTargetFlowHook, and
PostTargetFlowHook
Corresponds to the JSON property
name`
4834 4835 4836 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4834 def name @name end |
#shared_flow_name ⇒ String
Name of the shared flow to invoke in the following format: organizations/
org
/sharedflows/
sharedflow`
Corresponds to the JSON property
sharedFlowName`
4840 4841 4842 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4840 def shared_flow_name @shared_flow_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
4847 4848 4849 4850 4851 |
# File 'lib/google/apis/apigee_v1/classes.rb', line 4847 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 |