Starting April 29, 2025, Gemini 1.5 Pro and Gemini 1.5 Flash models are not available in projects that have no prior usage of these models, including new projects. For details, see Model versions and lifecycle.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Interface VertexRagStore.RagResourceOrBuilder (1.32.0)\n\n public static interface VertexRagStore.RagResourceOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getRagCorpus()\n\n public abstract String getRagCorpus()\n\nOptional. RagCorpora resource name.\nFormat:\n`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`\n\n`\nstring rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### getRagCorpusBytes()\n\n public abstract ByteString getRagCorpusBytes()\n\nOptional. RagCorpora resource name.\nFormat:\n`projects/{project}/locations/{location}/ragCorpora/{rag_corpus}`\n\n`\nstring rag_corpus = 1 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }\n`\n\n### getRagFileIds(int index)\n\n public abstract String getRagFileIds(int index)\n\nOptional. rag_file_id. The files should be in the same rag_corpus set in\nrag_corpus field.\n\n`repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getRagFileIdsBytes(int index)\n\n public abstract ByteString getRagFileIdsBytes(int index)\n\nOptional. rag_file_id. The files should be in the same rag_corpus set in\nrag_corpus field.\n\n`repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getRagFileIdsCount()\n\n public abstract int getRagFileIdsCount()\n\nOptional. rag_file_id. The files should be in the same rag_corpus set in\nrag_corpus field.\n\n`repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getRagFileIdsList()\n\n public abstract List\u003cString\u003e getRagFileIdsList()\n\nOptional. rag_file_id. The files should be in the same rag_corpus set in\nrag_corpus field.\n\n`repeated string rag_file_ids = 2 [(.google.api.field_behavior) = OPTIONAL];`"]]