Discovery Engine v1 API - Class Collection (1.17.0)

public sealed class Collection : IMessage<Collection>, IEquatable<Collection>, IDeepCloneable<Collection>, IBufferMessage, IMessage

Reference documentation and code samples for the Discovery Engine v1 API class Collection.

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

Inheritance

object > Collection

Namespace

Google.Cloud.DiscoveryEngine.V1

Assembly

Google.Cloud.DiscoveryEngine.V1.dll

Constructors

Collection()

public Collection()

Collection(Collection)

public Collection(Collection other)
Parameter
Name Description
other Collection

Properties

CollectionName

public CollectionName CollectionName { get; set; }

CollectionName-typed view over the Name resource name property.

Property Value
Type Description
CollectionName

CreateTime

public Timestamp CreateTime { get; set; }

Output only. Timestamp the [Collection][google.cloud.discoveryengine.v1.Collection] was created at.

Property Value
Type Description
Timestamp

DisplayName

public string DisplayName { get; set; }

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.

Property Value
Type Description
string

Name

public string Name { get; set; }

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.

Property Value
Type Description
string