Class GoogleMapsPlacesV1SearchTextResponse
Response proto for SearchText.
Implements
Inherited Members
Namespace: Google.Apis.MapsPlaces.v1.Data
Assembly: Google.Apis.MapsPlaces.v1.dll
Syntax
public class GoogleMapsPlacesV1SearchTextResponse : IDirectResponseSchema
Properties
ContextualContents
Experimental: See
https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative for more
details. A list of contextual contents where each entry associates to the corresponding place in the same
index in the places field. The contents that are relevant to the text_query
in the request are preferred.
If the contextual content is not available for one of the places, it will return non-contextual content. It
will be empty only when the content is unavailable for this place. This list will have as many entries as
the list of places if requested.
Declaration
[JsonProperty("contextualContents")]
public virtual IList<GoogleMapsPlacesV1ContextualContent> ContextualContents { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1ContextualContent> |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
NextPageToken
A token that can be sent as page_token
to retrieve the next page. If this field is omitted or empty, there
are no subsequent pages.
Declaration
[JsonProperty("nextPageToken")]
public virtual string NextPageToken { get; set; }
Property Value
Type | Description |
---|---|
string |
Places
A list of places that meet the user's text search criteria.
Declaration
[JsonProperty("places")]
public virtual IList<GoogleMapsPlacesV1Place> Places { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1Place> |
RoutingSummaries
A list of routing summaries where each entry associates to the corresponding place in the same index in the
places
field. If the routing summary is not available for one of the places, it will contain an empty
entry. This list will have as many entries as the list of places if requested.
Declaration
[JsonProperty("routingSummaries")]
public virtual IList<GoogleMapsPlacesV1RoutingSummary> RoutingSummaries { get; set; }
Property Value
Type | Description |
---|---|
IList<GoogleMapsPlacesV1RoutingSummary> |
SearchUri
A link allows the user to search with the same text query as specified in the request on Google Maps.
Declaration
[JsonProperty("searchUri")]
public virtual string SearchUri { get; set; }
Property Value
Type | Description |
---|---|
string |