Class: Google::Apis::WorkflowexecutionsV1::Callback
- Inherits:
-
Object
- Object
- Google::Apis::WorkflowexecutionsV1::Callback
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/workflowexecutions_v1/classes.rb,
lib/google/apis/workflowexecutions_v1/representations.rb,
lib/google/apis/workflowexecutions_v1/representations.rb
Overview
An instance of a Callback created by an execution.
Instance Attribute Summary collapse
-
#available_payloads ⇒ Array<String>
Output only.
-
#method_prop ⇒ String
Output only.
-
#name ⇒ String
Output only.
-
#waiters ⇒ Fixnum
Output only.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Callback
constructor
A new instance of Callback.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ Callback
Returns a new instance of Callback.
52 53 54 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 52 def initialize(**args) update!(**args) end |
Instance Attribute Details
#available_payloads ⇒ Array<String>
Output only. The payloads received by the callback that have not been
processed by a waiting execution step.
Corresponds to the JSON property availablePayloads
33 34 35 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 33 def available_payloads @available_payloads end |
#method_prop ⇒ String
Output only. The method accepted by the callback. For example: GET, POST, PUT.
Corresponds to the JSON property method
38 39 40 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 38 def method_prop @method_prop end |
#name ⇒ String
Output only. The resource name of the callback. Format: projects/project
/
locations/location
/workflows/workflow
/executions/execution
/callback/
callback
Corresponds to the JSON property name
45 46 47 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 45 def name @name end |
#waiters ⇒ Fixnum
Output only. Number of execution steps waiting on this callback.
Corresponds to the JSON property waiters
50 51 52 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 50 def waiters @waiters end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
57 58 59 60 61 62 |
# File 'lib/google/apis/workflowexecutions_v1/classes.rb', line 57 def update!(**args) @available_payloads = args[:available_payloads] if args.key?(:available_payloads) @method_prop = args[:method_prop] if args.key?(:method_prop) @name = args[:name] if args.key?(:name) @waiters = args[:waiters] if args.key?(:waiters) end |