RagCorpus class final
A RagCorpus is a RagFile container and a project can have multiple RagCorpora.
- Inheritance
-
- Object
- ProtoMessage
- RagCorpus
Constructors
- RagCorpus({RagVectorDbConfig? vectorDbConfig, VertexAiSearchConfig? vertexAiSearchConfig, String name = '', required String displayName, String description = '', RagEmbeddingModelConfig? ragEmbeddingModelConfig, RagVectorDbConfig? ragVectorDbConfig, Timestamp? createTime, Timestamp? updateTime, CorpusStatus? corpusStatus, int ragFilesCount = 0, EncryptionSpec? encryptionSpec, RagCorpus_CorpusTypeConfig? corpusTypeConfig})
- RagCorpus.fromJson(Object? j)
-
factory
Properties
- corpusStatus → CorpusStatus?
-
Output only. RagCorpus state.
final
- corpusTypeConfig → RagCorpus_CorpusTypeConfig?
-
Optional. The corpus type config of the RagCorpus.
final
- createTime → Timestamp?
-
Output only. Timestamp when this RagCorpus was created.
final
- description → String
-
Optional. The description of the RagCorpus.
final
- displayName → String
-
Required. The display name of the RagCorpus.
The name can be up to 128 characters long and can consist of any UTF-8
characters.
final
- encryptionSpec → EncryptionSpec?
-
Optional. Immutable. The CMEK key name used to encrypt at-rest data related
to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
field can only be set at corpus creation time, and cannot be updated or
deleted.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- name → String
-
Output only. The resource name of the RagCorpus.
final
- qualifiedName → String
-
The fully qualified name of this message, i.e.,
google.protobuf.Durationorgoogle.rpc.ErrorInfo.finalinherited - ragEmbeddingModelConfig → RagEmbeddingModelConfig?
-
Optional. Immutable. The embedding model config of the RagCorpus.
final
- ragFilesCount → int
-
Output only. Number of RagFiles in the RagCorpus.
final
- ragVectorDbConfig → RagVectorDbConfig?
-
Optional. Immutable. The Vector DB config of the RagCorpus.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- updateTime → Timestamp?
-
Output only. Timestamp when this RagCorpus was last updated.
final
- vectorDbConfig → RagVectorDbConfig?
-
Optional. Immutable. The config for the Vector DBs.
final
- vertexAiSearchConfig → VertexAiSearchConfig?
-
Optional. Immutable. The config for the Vertex AI Search.
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