Reference documentation and code samples for the Google Cloud Vector Search V1 Client class OutputFields.
Defines a output fields struct for data in DataObject.
Generated from protobuf message google.cloud.vectorsearch.v1.OutputFields
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_fields |
array
Optional. The fields from the data fields to include in the output. |
↳ vector_fields |
array
Optional. The fields from the vector fields to include in the output. |
↳ metadata_fields |
array
Optional. The fields from the DataObject metadata to include in the output. |
getDataFields
Optional. The fields from the data fields to include in the output.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setDataFields
Optional. The fields from the data fields to include in the output.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getVectorFields
Optional. The fields from the vector fields to include in the output.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setVectorFields
Optional. The fields from the vector fields to include in the output.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getMetadataFields
Optional. The fields from the DataObject metadata to include in the output.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Internal\RepeatedField |
|
setMetadataFields
Optional. The fields from the DataObject metadata to include in the output.
| Parameter | |
|---|---|
| Name | Description |
var |
string[]
|
| Returns | |
|---|---|
| Type | Description |
$this |
|