Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ActionOutput
- Inherits:
-
Object
- Object
- Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ActionOutput
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/contentwarehouse_v1/classes.rb,
lib/google/apis/contentwarehouse_v1/representations.rb,
lib/google/apis/contentwarehouse_v1/representations.rb
Overview
Represents the result of executing an action.
Instance Attribute Summary collapse
-
#action_id ⇒ String
ID of the action.
-
#action_state ⇒ String
State of an action.
-
#output_message ⇒ String
Action execution output message.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1ActionOutput
constructor
A new instance of GoogleCloudContentwarehouseV1ActionOutput.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudContentwarehouseV1ActionOutput
Returns a new instance of GoogleCloudContentwarehouseV1ActionOutput.
680 681 682 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 680 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_id ⇒ String
ID of the action.
Corresponds to the JSON property actionId
668 669 670 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 668 def action_id @action_id end |
#action_state ⇒ String
State of an action.
Corresponds to the JSON property actionState
673 674 675 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 673 def action_state @action_state end |
#output_message ⇒ String
Action execution output message.
Corresponds to the JSON property outputMessage
678 679 680 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 678 def @output_message end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
685 686 687 688 689 |
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 685 def update!(**args) @action_id = args[:action_id] if args.key?(:action_id) @action_state = args[:action_state] if args.key?(:action_state) @output_message = args[:output_message] if args.key?(:output_message) end |