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.



14620
14621
14622
# File 'lib/google/apis/content_v2_1/classes.rb', line 14620

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

Instance Attribute Details

#messageString

The message for merchant. Corresponds to the JSON property message

Returns:

  • (String)


14618
14619
14620
# File 'lib/google/apis/content_v2_1/classes.rb', line 14618

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14625
14626
14627
# File 'lib/google/apis/content_v2_1/classes.rb', line 14625

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