Class: Google::Apis::CloudsupportV2beta::WorkflowOperationMetadata
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::WorkflowOperationMetadata
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
Metadata about the operation. Used to lookup the current status.
Instance Attribute Summary collapse
-
#namespace ⇒ String
The namespace that the job was scheduled in.
-
#operation_action ⇒ String
The type of action the operation is classified as.
-
#workflow_operation_type ⇒ String
Which version of the workflow service this operation came from.
Instance Method Summary collapse
-
#initialize(**args) ⇒ WorkflowOperationMetadata
constructor
A new instance of WorkflowOperationMetadata.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ WorkflowOperationMetadata
Returns a new instance of WorkflowOperationMetadata.
1343 1344 1345 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1343 def initialize(**args) update!(**args) end |
Instance Attribute Details
#namespace ⇒ String
The namespace that the job was scheduled in. Must be included in the workflow
metadata so the workflow status can be retrieved.
Corresponds to the JSON property namespace
1331 1332 1333 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1331 def namespace @namespace end |
#operation_action ⇒ String
The type of action the operation is classified as.
Corresponds to the JSON property operationAction
1336 1337 1338 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1336 def operation_action @operation_action end |
#workflow_operation_type ⇒ String
Which version of the workflow service this operation came from.
Corresponds to the JSON property workflowOperationType
1341 1342 1343 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1341 def workflow_operation_type @workflow_operation_type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1348 1349 1350 1351 1352 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1348 def update!(**args) @namespace = args[:namespace] if args.key?(:namespace) @operation_action = args[:operation_action] if args.key?(:operation_action) @workflow_operation_type = args[:workflow_operation_type] if args.key?(:workflow_operation_type) end |