Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::RagCorpus.
A RagCorpus is a RagFile container and a project can have multiple RagCorpora.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#corpus_status
def corpus_status() -> ::Google::Cloud::AIPlatform::V1::CorpusStatus
- (::Google::Cloud::AIPlatform::V1::CorpusStatus) — Output only. RagCorpus state.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this RagCorpus was created.
#description
def description() -> ::String
- (::String) — Optional. The description of the RagCorpus.
#description=
def description=(value) -> ::String
- value (::String) — Optional. The description of the RagCorpus.
- (::String) — Optional. The description of the RagCorpus.
#display_name
def display_name() -> ::String
- (::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.
#display_name=
def display_name=(value) -> ::String
- value (::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.
- (::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.
#encryption_spec
def encryption_spec() -> ::Google::Cloud::AIPlatform::V1::EncryptionSpec
- (::Google::Cloud::AIPlatform::V1::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.
#encryption_spec=
def encryption_spec=(value) -> ::Google::Cloud::AIPlatform::V1::EncryptionSpec
- value (::Google::Cloud::AIPlatform::V1::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.
- (::Google::Cloud::AIPlatform::V1::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.
#name
def name() -> ::String
- (::String) — Output only. The resource name of the RagCorpus.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. Timestamp when this RagCorpus was last updated.
#vector_db_config
def vector_db_config() -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig) — Optional. Immutable. The config for the Vector DBs.
Note: The following fields are mutually exclusive:
vector_db_config
,vertex_ai_search_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vector_db_config=
def vector_db_config=(value) -> ::Google::Cloud::AIPlatform::V1::RagVectorDbConfig
-
value (::Google::Cloud::AIPlatform::V1::RagVectorDbConfig) — Optional. Immutable. The config for the Vector DBs.
Note: The following fields are mutually exclusive:
vector_db_config
,vertex_ai_search_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::RagVectorDbConfig) — Optional. Immutable. The config for the Vector DBs.
Note: The following fields are mutually exclusive:
vector_db_config
,vertex_ai_search_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vertex_ai_search_config
def vertex_ai_search_config() -> ::Google::Cloud::AIPlatform::V1::VertexAiSearchConfig
-
(::Google::Cloud::AIPlatform::V1::VertexAiSearchConfig) — Optional. Immutable. The config for the Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search_config
,vector_db_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#vertex_ai_search_config=
def vertex_ai_search_config=(value) -> ::Google::Cloud::AIPlatform::V1::VertexAiSearchConfig
-
value (::Google::Cloud::AIPlatform::V1::VertexAiSearchConfig) — Optional. Immutable. The config for the Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search_config
,vector_db_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::AIPlatform::V1::VertexAiSearchConfig) — Optional. Immutable. The config for the Vertex AI Search.
Note: The following fields are mutually exclusive:
vertex_ai_search_config
,vector_db_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.