Reference documentation and code samples for the Google Cloud Vector Search V1 Client class Collection.
Message describing Collection object
Generated from protobuf message google.cloud.vectorsearch.v1.Collection
Namespace
Google \ Cloud \ VectorSearch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Identifier. name of resource
↳ display_name
string
Optional. User-specified display name of the collection
↳ description
string
Optional. User-specified description of the collection
↳ create_time
↳ update_time
↳ labels
↳ vector_schema
array| Google\Protobuf\Internal\MapField
Optional. Schema for vector fields. Only vector fields in this schema will be searchable. Field names must contain only alphanumeric characters, underscores, and hyphens.
↳ data_schema
Google\Protobuf\Struct
Optional. JSON Schema for data. Field names must contain only alphanumeric characters, underscores, and hyphens.
getName
Identifier. name of resource
string
setName
Identifier. name of resource
var
string
$this
getDisplayName
Optional. User-specified display name of the collection
string
setDisplayName
Optional. User-specified display name of the collection
var
string
$this
getDescription
Optional. User-specified description of the collection
string
setDescription
Optional. User-specified description of the collection
var
string
$this
getCreateTime
Output only. [Output only] Create time stamp
hasCreateTime
clearCreateTime
setCreateTime
Output only. [Output only] Create time stamp
$this
getUpdateTime
Output only. [Output only] Update time stamp
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. [Output only] Update time stamp
$this
getLabels
Optional. Labels as key value pairs.
setLabels
Optional. Labels as key value pairs.
$this
getVectorSchema
Optional. Schema for vector fields. Only vector fields in this schema will be searchable. Field names must contain only alphanumeric characters, underscores, and hyphens.
setVectorSchema
Optional. Schema for vector fields. Only vector fields in this schema will be searchable. Field names must contain only alphanumeric characters, underscores, and hyphens.
$this
getDataSchema
Optional. JSON Schema for data.
Field names must contain only alphanumeric characters, underscores, and hyphens.
hasDataSchema
clearDataSchema
setDataSchema
Optional. JSON Schema for data.
Field names must contain only alphanumeric characters, underscores, and hyphens.
$this

