Resource: ParsedListing
A parsed listing
JSON representation |
---|
{ "unitAttributes" : { string : string , ... } , "listingName" : [ { object ( |
Fields | |
---|---|
unitAttributes
|
VR List attribute. An object containing a list of |
listingName[]
|
List of localized names. |
description[]
|
Description of the property. |
category[]
|
The partner provided category (accommodation type) of the property. |
review[]
|
Reviews associated with this listing. Each review has a single language attached to it. |
dataIssueDetail[]
|
Data issues about this listing |
image[]
|
Images associated with this listing, localized. |
isServed
|
Whether the listing can be served based on non image data alone. |
partnerListId
|
The list ID on partner LEC feed, provided by partner. |
brand
|
If not empty, it indicates that this listing belongs to a brand of the feed. |
regionCode
|
The country code where the listing is located. |
location
|
Location of listing using latitude and longitude (degrees). |
imprecisionRadiusMeters
|
Represents the accuracy of the location. The listing can be anywhere within the defined circular area. |
LatLng
An object that represents a latitude/longitude pair. This is expressed as a pair of doubles to represent degrees latitude and degrees longitude. Unless specified otherwise, this object must conform to the WGS84 standard . Values must be within normalized ranges.
JSON representation |
---|
{ "latitude" : number , "longitude" : number } |
Fields | |
---|---|
latitude
|
The latitude in degrees. It must be in the range [-90.0, +90.0]. |
longitude
|
The longitude in degrees. It must be in the range [-180.0, +180.0]. |
Review
A single review in a VR Listing.
NEXT ID: 10
JSON representation |
---|
{ "rating" : [ { object ( |
Fields | |
---|---|
rating[]
|
Any ratings associated with this review. This is repeated because reviews can include ratings on different aspects of a listing, e.g. location, cleanliness, etc. |
languageCode
|
Language of the review in ISO639 format, such as "en", "de", etc. |
type
|
The type of the review. |
link
|
The url of the review. |
title
|
The title of the review, for example: Great three bedrooms. |
body
|
The body of the review. |
author
|
The author of the review. |
reviewTime
|
Unix timestamp (in seconds) of the review, in UTC+0. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
visitTime
|
Unix timestamp (in seconds) of when the stay was, in UTC+0. Uses RFC 3339, where generated output will always be Z-normalized and uses 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
Type
Enum for review type.
Enums | |
---|---|
UNKNOWN
|
Review type is unknown. |
EDITORIAL
|
Review is of editorial type. |
USER
|
Review is of user type. |
Rating
A rating for a vacation rentals listing.
NEXT ID: 4
JSON representation |
---|
{
"type"
:
enum (
|
Fields | |
---|---|
type
|
The type of the rating. |
score
|
The rating score. (e.g. 8.5) |
ratingScale
|
Maximum rating possible. |
Type
The type of a vacation rentals listing rating.
Enums | |
---|---|
TYPE_UNSPECIFIED
|
Rating type is unspecified. |
OVERALL
|
Rating is of overall type. |
Image
A single image in a VR Listing. Title and gallery URL are stored per locale.
NEXT ID: 4
JSON representation |
---|
{ "galleryUri" : [ { object ( |
Fields | |
---|---|
galleryUri[]
|
URL that is deeplink to the image in a gallery (or a webpage). |
title[]
|
Title of the image. |
uri
|
URL that points to the binary image content directly. |
Methods |
|
---|---|
|
Returns verified listings with data issues and serving eligibilities for VR partners only. |