Class: Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoLoopMetadata
- Inherits:
-
Object
- Object
- Google::Apis::IntegrationsV1alpha::EnterpriseCrmEventbusProtoLoopMetadata
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/integrations_v1alpha/classes.rb,
lib/google/apis/integrations_v1alpha/representations.rb,
lib/google/apis/integrations_v1alpha/representations.rb
Instance Attribute Summary collapse
-
#current_iteration_count ⇒ Fixnum
Starting from 1, not 0.
-
#current_iteration_detail ⇒ String
Needs to be set by the loop impl class before each iteration.
-
#error_msg ⇒ String
Add the error message when loops fail.
-
#failure_location ⇒ String
Indicates where in the loop logic did it error out.
Instance Method Summary collapse
-
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoLoopMetadata
constructor
A new instance of EnterpriseCrmEventbusProtoLoopMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ EnterpriseCrmEventbusProtoLoopMetadata
Returns a new instance of EnterpriseCrmEventbusProtoLoopMetadata.
1618 1619 1620 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1618 def initialize(**args) update!(**args) end |
Instance Attribute Details
#current_iteration_count ⇒ Fixnum
Starting from 1, not 0.
Corresponds to the JSON property currentIterationCount
1597 1598 1599 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1597 def current_iteration_count @current_iteration_count end |
#current_iteration_detail ⇒ String
Needs to be set by the loop impl class before each iteration. The abstract
loop class will append the request and response to it. Eg. The foreach Loop
will clean up and set it as the current iteration element at the start of each
loop. The post request and response will be appended to the value once they
are available.
Corresponds to the JSON property currentIterationDetail
1606 1607 1608 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1606 def current_iteration_detail @current_iteration_detail end |
#error_msg ⇒ String
Add the error message when loops fail.
Corresponds to the JSON property errorMsg
1611 1612 1613 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1611 def error_msg @error_msg end |
#failure_location ⇒ String
Indicates where in the loop logic did it error out.
Corresponds to the JSON property failureLocation
1616 1617 1618 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1616 def failure_location @failure_location end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1623 1624 1625 1626 1627 1628 |
# File 'lib/google/apis/integrations_v1alpha/classes.rb', line 1623 def update!(**args) @current_iteration_count = args[:current_iteration_count] if args.key?(:current_iteration_count) @current_iteration_detail = args[:current_iteration_detail] if args.key?(:current_iteration_detail) @error_msg = args[:error_msg] if args.key?(:error_msg) @failure_location = args[:failure_location] if args.key?(:failure_location) end |