Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class Collection.
A collection is a resource in a corpus. It serves as a container of references to original resources.
Generated from protobuf message google.cloud.visionai.v1.Collection
Namespace
Google \ Cloud \ VisionAI \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
string
Output only. Resource name of the collection. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
↳ display_name
string
Optional. The collection name for displaying. The name can be up to 256 characters long.
↳ description
string
Optional. Description of the collection. Can be up to 25000 characters long.
getName
Output only. Resource name of the collection. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
string
setName
Output only. Resource name of the collection. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}
var
string
$this
getDisplayName
Optional. The collection name for displaying.
The name can be up to 256 characters long.
string
setDisplayName
Optional. The collection name for displaying.
The name can be up to 256 characters long.
var
string
$this
getDescription
Optional. Description of the collection. Can be up to 25000 characters long.
string
setDescription
Optional. Description of the collection. Can be up to 25000 characters long.
var
string
$this

