Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Collection (v2.14.0)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Collection.

Collection is a container for configuring resources and access to a set of DataStores.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The Collection display name.

    This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The Collection display name.

    This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

Returns
  • (::String) — Required. The Collection display name.

    This field must be a UTF-8 encoded string with a length limit of 128 characters. Otherwise, an INVALID_ARGUMENT error is returned.

#name

def name() -> ::String
Returns
  • (::String) — Immutable. The full resource name of the Collection. Format: projects/{project}/locations/{location}/collections/{collection_id}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Immutable. The full resource name of the Collection. Format: projects/{project}/locations/{location}/collections/{collection_id}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
  • (::String) — Immutable. The full resource name of the Collection. Format: projects/{project}/locations/{location}/collections/{collection_id}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.