Class Review
Information about a review of a place.
Namespace: Google.Maps.Places.V1
Assembly: Google.Maps.Places.V1.dll
Syntax
public sealed class Review : IMessage<Review>, IEquatable<Review>, IDeepCloneable<Review>, IBufferMessage, IMessage
Constructors
Review()
Declaration
public Review()
Review(Review)
Declaration
public Review(Review other)
Parameters
Type | Name | Description |
---|---|---|
Review | other |
Properties
AuthorAttribution
This review's author.
Declaration
public AuthorAttribution AuthorAttribution { get; set; }
Property Value
Type | Description |
---|---|
AuthorAttribution |
Name
A reference representing this place review which may be used to look up
this place review again (also called the API "resource" name:
places/{place_id}/reviews/{review}
).
Declaration
public string Name { get; set; }
Property Value
Type | Description |
---|---|
string |
OriginalText
The review text in its original language.
Declaration
public LocalizedText OriginalText { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |
PublishTime
Timestamp for the review.
Declaration
public Timestamp PublishTime { get; set; }
Property Value
Type | Description |
---|---|
Timestamp |
Rating
A number between 1.0 and 5.0, also called the number of stars.
Declaration
public double Rating { get; set; }
Property Value
Type | Description |
---|---|
double |
RelativePublishTimeDescription
A string of formatted recent time, expressing the review time relative to the current time in a form appropriate for the language and country.
Declaration
public string RelativePublishTimeDescription { get; set; }
Property Value
Type | Description |
---|---|
string |
ReviewName
ReviewName-typed view over the Name resource name property.
Declaration
public ReviewName ReviewName { get; set; }
Property Value
Type | Description |
---|---|
ReviewName |
Text
The localized text of the review.
Declaration
public LocalizedText Text { get; set; }
Property Value
Type | Description |
---|---|
LocalizedText |