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.



14282
14283
14284
# File 'lib/google/apis/content_v2_1/classes.rb', line 14282

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

Instance Attribute Details

#messageString

The message for merchant. Corresponds to the JSON property message

Returns:

  • (String)


14280
14281
14282
# File 'lib/google/apis/content_v2_1/classes.rb', line 14280

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14287
14288
14289
# File 'lib/google/apis/content_v2_1/classes.rb', line 14287

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