Class: Google::Apis::ContentV2_1::TriggerActionResponse

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
lib/google/apis/content_v2_1/classes.rb,
lib/google/apis/content_v2_1/representations.rb,
lib/google/apis/content_v2_1/representations.rb

Overview

Response informing about the started action.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ TriggerActionResponse

Returns a new instance of TriggerActionResponse.



14320
14321
14322
# File 'lib/google/apis/content_v2_1/classes.rb', line 14320

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#messageString

The message for merchant. Corresponds to the JSON property message

Returns:

  • (String)


14318
14319
14320
# File 'lib/google/apis/content_v2_1/classes.rb', line 14318

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14325
14326
14327
# File 'lib/google/apis/content_v2_1/classes.rb', line 14325

def update!(**args)
  @message = args[:message] if args.key?(:message)
end