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.



13874
13875
13876
# File 'lib/google/apis/content_v2_1/classes.rb', line 13874

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

Instance Attribute Details

#messageString

The message for merchant. Corresponds to the JSON property message

Returns:

  • (String)


13872
13873
13874
# File 'lib/google/apis/content_v2_1/classes.rb', line 13872

def message
  @message
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



13879
13880
13881
# File 'lib/google/apis/content_v2_1/classes.rb', line 13879

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