java.io.Serializable
public static class PlaceDetails.Review
extends java.lang.Object
implements java.io.Serializable
Modifier and Type | Class | Description |
---|---|---|
static class |
PlaceDetails.Review.AspectRating |
Modifier and Type | Field | Description |
---|---|---|
PlaceDetails.Review.AspectRating[] |
aspects |
A list of AspectRating objects, each of which provides a rating of a single attribute of the
establishment.
|
java.lang.String |
authorName |
The name of the user who submitted the review.
|
java.net.URL |
authorUrl |
The URL of the user's Google+ profile, if available.
|
java.lang.String |
language |
An IETF language code indicating the language used in the user's review.
|
java.lang.String |
profilePhotoUrl |
The URL of the user's Google+ profile photo, if available.
|
int |
rating |
The user's overall rating for this place.
|
java.lang.String |
relativeTimeDescription |
The relative time that the review was submitted.
|
java.lang.String |
text |
The user's review.
|
java.time.Instant |
time |
The time that the review was submitted.
|
Constructor | Description |
---|---|
Review() |
public PlaceDetails.Review.AspectRating[] aspects
Note: this is a Premium Data field available to the Google Places API for Work customers.
public java.lang.String authorName
public java.net.URL authorUrl
public java.lang.String language
public java.lang.String profilePhotoUrl
public int rating
public java.lang.String relativeTimeDescription
public java.lang.String text
public java.time.Instant time