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
1624 1625 1626 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1624 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
1616 1617 1618 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1616 def comment @comment end |
#update_time ⇒ String
The timestamp for when the review was last modified.
Corresponds to the JSON property updateTime
1622 1623 1624 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1622 def update_time @update_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1629 1630 1631 1632 |
# File 'generated/google/apis/mybusiness_v3/classes.rb', line 1629 def update!(**args) @comment = args[:comment] if args.key?(:comment) @update_time = args[:update_time] if args.key?(:update_time) end |