Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class RetrievalConfig.
Retrieval config.
Generated from protobuf message google.cloud.aiplatform.v1.RetrievalConfig
Namespace
Google \ Cloud \ AIPlatform \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ lat_lng |
Google\Type\LatLng
The location of the user. |
↳ language_code |
string
The language code of the user. |
getLatLng
The location of the user.
Returns | |
---|---|
Type | Description |
Google\Type\LatLng|null |
hasLatLng
clearLatLng
setLatLng
The location of the user.
Parameter | |
---|---|
Name | Description |
var |
Google\Type\LatLng
|
Returns | |
---|---|
Type | Description |
$this |
getLanguageCode
The language code of the user.
Returns | |
---|---|
Type | Description |
string |
hasLanguageCode
clearLanguageCode
setLanguageCode
The language code of the user.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |