Class: Google::Apis::MybusinessV3::ReviewReply

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/mybusiness_v3/classes.rb,
generated/google/apis/mybusiness_v3/representations.rb,
generated/google/apis/mybusiness_v3/representations.rb

Overview

Represents the location owner/manager's reply to a review

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ReviewReply

Returns a new instance of ReviewReply



1748
1749
1750
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1748

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

Instance Attribute Details

#commentString

The body of the review as plain text with markups. The maximum length is 4096 bytes. Corresponds to the JSON property comment

Returns:

  • (String)


1740
1741
1742
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1740

def comment
  @comment
end

#update_timeString

The timestamp for when the review was last modified. Corresponds to the JSON property updateTime

Returns:

  • (String)


1746
1747
1748
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1746

def update_time
  @update_time
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1753
1754
1755
1756
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1753

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