Google Cloud Vector Search V1 Client - Class OutputFields (0.2.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
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

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

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

setMetadataFields

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

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: