Resource: Review
Output only. Represents a review for a location.
JSON representation | |
---|---|
{ "name": string, "reviewId": string, "reviewer": { object ( |
Fields | |
---|---|
name |
The resource name. For Review it is of the form |
reviewId |
The encrypted unique identifier. |
reviewer |
The author of the review. |
starRating |
The star rating of the review. |
comment |
The body of the review as plain text with markups. |
createTime |
The timestamp for when the review was written. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
updateTime |
The timestamp for when the review was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
reviewReply |
The owner/manager of this location's reply to this review. |
Reviewer
Represents the author of the review.
JSON representation | |
---|---|
{ "profilePhotoUrl": string, "displayName": string, "isAnonymous": boolean } |
Fields | |
---|---|
profilePhotoUrl |
The profile photo link of the reviewer. Only populated if |
displayName |
The name of the reviewer. Only populated with the reviewer's real name if |
isAnonymous |
Indicates whether the reviewer has opted to remain anonymous. |
StarRating
The star rating out of five, where five is the highest rated.
Enums | |
---|---|
STAR_RATING_UNSPECIFIED |
Not specified. |
ONE |
One star out of a maximum of five. |
TWO |
Two stars out of a maximum of five. |
THREE |
Three stars out of a maximum of five. |
FOUR |
Four stars out of a maximum of five. |
FIVE |
The maximum star rating. |
ReviewReply
Represents the location owner/manager's reply to a review.
JSON representation | |
---|---|
{ "comment": string, "updateTime": string } |
Fields | |
---|---|
comment |
The body of the reply as plain text with markups. The maximum length is 4096 bytes. |
updateTime |
Output only. The timestamp for when the reply was last modified. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
Methods |
|
---|---|
|
Deletes the response to the specified review. |
|
Returns the specified review. |
|
Returns the paginated list of reviews for the specified location. |
|
Updates the reply to the specified review. |