Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Maps.
Chunk from Google Maps.
Generated from protobuf message google.cloud.aiplatform.v1.GroundingChunk.Maps
Namespace
Google \ Cloud \ AIPlatform \ V1 \ GroundingChunkMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ uri |
string
URI reference of the chunk. |
↳ title |
string
Title of the chunk. |
↳ text |
string
Text of the chunk. |
↳ place_id |
string
This Place's resource name, in |
↳ place_answer_sources |
Maps\PlaceAnswerSources
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. |
getUri
URI reference of the chunk.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasUri
clearUri
setUri
URI reference of the chunk.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getTitle
Title of the chunk.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasTitle
clearTitle
setTitle
Title of the chunk.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getText
Text of the chunk.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasText
clearText
setText
Text of the chunk.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlaceId
This Place's resource name, in places/{place_id} format. Can be used
to look up the Place.
| Returns | |
|---|---|
| Type | Description |
string |
|
hasPlaceId
clearPlaceId
setPlaceId
This Place's resource name, in places/{place_id} format. Can be used
to look up the Place.
| Parameter | |
|---|---|
| Name | Description |
var |
string
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getPlaceAnswerSources
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.
| Returns | |
|---|---|
| Type | Description |
Maps\PlaceAnswerSources|null |
|
hasPlaceAnswerSources
clearPlaceAnswerSources
setPlaceAnswerSources
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.
| Parameter | |
|---|---|
| Name | Description |
var |
Maps\PlaceAnswerSources
|
| Returns | |
|---|---|
| Type | Description |
$this |
|