Corpus class final

A Corpus is a collection of Documents. A project can create up to 5 corpora.

Inheritance

Constructors

Corpus({String name = '', String displayName = '', Timestamp? createTime, Timestamp? updateTime})
Corpus.fromJson(Object? j)
factory

Properties

createTime → Timestamp?
Output only. The Timestamp of when the Corpus was created.
final
displayName String
Optional. The human-readable display name for the Corpus. The display name must be no more than 512 characters in length, including spaces. Example: "Docs on Semantic Retriever"
final
hashCode int
The hash code for this object.
no setterinherited
name String
Immutable. Identifier. The Corpus resource name. The ID (name excluding the "corpora/" prefix) can contain up to 40 characters that are lowercase alphanumeric or dashes (-). The ID cannot start or end with a dash. If the name is empty on create, a unique name will be derived from display_name along with a 12 character random suffix. Example: corpora/my-awesome-corpora-123a456b789c
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
updateTime → Timestamp?
Output only. The Timestamp of when the Corpus was last updated.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String