Class: Google::Apis::ContentwarehouseV1::GoogleCloudContentwarehouseV1ActionOutput

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_idString

ID of the action. Corresponds to the JSON property actionId

Returns:

  • (String)


668
669
670
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 668

def action_id
  @action_id
end

#action_stateString

State of an action. Corresponds to the JSON property actionState

Returns:

  • (String)


673
674
675
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 673

def action_state
  @action_state
end

#output_messageString

Action execution output message. Corresponds to the JSON property outputMessage

Returns:

  • (String)


678
679
680
# File 'lib/google/apis/contentwarehouse_v1/classes.rb', line 678

def output_message
  @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