Class: Google::Apis::MybusinessV3::ReviewReply
- Inherits:
-
Object
- Object
- Google::Apis::MybusinessV3::ReviewReply
- 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
-
#comment ⇒ String
The body of the review as plain text with markups.
-
#update_time ⇒ String
The timestamp for when the review was last modified.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ReviewReply
constructor
A new instance of ReviewReply.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
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
#comment ⇒ String
The body of the review as plain text with markups.
The maximum length is 4096 bytes.
Corresponds to the JSON property comment
1740 1741 1742 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1740 def comment @comment end |
#update_time ⇒ String
The timestamp for when the review was last modified.
Corresponds to the JSON property updateTime
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 |