Package com.google.genai.types
Class VertexRagStoreRagResource
java.lang.Object
com.google.genai.JsonSerializable
com.google.genai.types.VertexRagStoreRagResource
The definition of the Rag resource.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Builder for VertexRagStoreRagResource. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbuilder()
Instantiates a builder for VertexRagStoreRagResource.static VertexRagStoreRagResource
Deserializes a JSON string to a VertexRagStoreRagResource object.Optional.Optional.abstract VertexRagStoreRagResource.Builder
Creates a builder with the same values as this instance.Methods inherited from class com.google.genai.JsonSerializable
stringToJsonNode, toJson
-
Constructor Details
-
VertexRagStoreRagResource
public VertexRagStoreRagResource()
-
-
Method Details
-
ragCorpus
Optional. RagCorpora resource name. Format: `projects/{project}/locations/{location}/ragCorpora/{rag_corpus}` -
ragFileIds
Optional. rag_file_id. The files should be in the same rag_corpus set in rag_corpus field. -
builder
Instantiates a builder for VertexRagStoreRagResource. -
toBuilder
Creates a builder with the same values as this instance. -
fromJson
Deserializes a JSON string to a VertexRagStoreRagResource object.
-