Vision AI V1 API - Class Google::Cloud::VisionAI::V1::Collection (v0.3.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::Collection.

A collection is a resource in a corpus. It serves as a container of references to original resources.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#description

def description() -> ::String
Returns
  • (::String) — Optional. Description of the collection. Can be up to 25000 characters long.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. Description of the collection. Can be up to 25000 characters long.
Returns
  • (::String) — Optional. Description of the collection. Can be up to 25000 characters long.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Optional. The collection name for displaying. The name can be up to 256 characters long.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Optional. The collection name for displaying. The name can be up to 256 characters long.
Returns
  • (::String) — Optional. The collection name for displaying. The name can be up to 256 characters long.

#name

def name() -> ::String
Returns
  • (::String) — Output only. Resource name of the collection. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/collections/{collection}