Google Cloud Vector Search V1 Client - Class OutputFields (0.3.0)

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 \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_fields string[]

Optional. The fields from the data fields to include in the output.

↳ vector_fields string[]

Optional. The fields from the vector fields to include in the output.

↳ metadata_fields string[]

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\RepeatedField<string>

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\RepeatedField<string>

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\RepeatedField<string>

setMetadataFields

Optional. The fields from the DataObject metadata to include in the output.

Parameter
Name Description
var string[]
Returns
Type Description
$this