public sealed class GroundingChunk.Types.Maps : IMessage<GroundingChunk.Types.Maps>, IEquatable<GroundingChunk.Types.Maps>, IDeepCloneable<GroundingChunk.Types.Maps>, IBufferMessage, IMessageReference documentation and code samples for the Vertex AI v1 API class GroundingChunk.Types.Maps.
A Maps chunk is a piece of evidence that comes from Google Maps,
containing information about places or routes. This is used to provide
the user with rich, location-based information.
Implements
IMessageGroundingChunkTypesMaps, IEquatableGroundingChunkTypesMaps, IDeepCloneableGroundingChunkTypesMaps, IBufferMessage, IMessageNamespace
Google.Cloud.AIPlatform.V1Assembly
Google.Cloud.AIPlatform.V1.dll
Constructors
Maps()
public Maps()Maps(Maps)
public Maps(GroundingChunk.Types.Maps other)| Parameter | |
|---|---|
| Name | Description |
other |
GroundingChunkTypesMaps |
Properties
HasPlaceId
public bool HasPlaceId { get; }Gets whether the "place_id" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasText
public bool HasText { get; }Gets whether the "text" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasTitle
public bool HasTitle { get; }Gets whether the "title" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
HasUri
public bool HasUri { get; }Gets whether the "uri" field is set
| Property Value | |
|---|---|
| Type | Description |
bool |
|
PlaceAnswerSources
public GroundingChunk.Types.Maps.Types.PlaceAnswerSources PlaceAnswerSources { get; set; }Sources used to generate the place answer. This includes review snippets and photos that were used to generate the answer, as well as uris to flag content.
| Property Value | |
|---|---|
| Type | Description |
GroundingChunkTypesMapsTypesPlaceAnswerSources |
|
PlaceId
public string PlaceId { get; set; }This Place's resource name, in places/{place_id} format. Can be used
to look up the Place.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Route
public GroundingChunk.Types.Maps.Types.Route Route { get; set; }Output only. Route information.
| Property Value | |
|---|---|
| Type | Description |
GroundingChunkTypesMapsTypesRoute |
|
Text
public string Text { get; set; }Text of the chunk.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Title
public string Title { get; set; }Title of the chunk.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Uri
public string Uri { get; set; }URI reference of the chunk.
| Property Value | |
|---|---|
| Type | Description |
string |
|