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.
Optional. Disable using the result from this tool in detecting grounding
attribution. This does not affect how the result is given to the model for
generation.
[[["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-09-04 UTC."],[],[],null,["# Interface RetrievalOrBuilder (1.3.0)\n\n public interface RetrievalOrBuilder 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### getDisableAttribution()\n\n public abstract boolean getDisableAttribution()\n\nOptional. Disable using the result from this tool in detecting grounding\nattribution. This does not affect how the result is given to the model for\ngeneration.\n\n`bool disable_attribution = 3 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getSourceCase()\n\n public abstract Retrieval.SourceCase getSourceCase()\n\n### getVertexAiSearch()\n\n public abstract VertexAISearch getVertexAiSearch()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`\n\n### getVertexAiSearchOrBuilder()\n\n public abstract VertexAISearchOrBuilder getVertexAiSearchOrBuilder()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`\n\n### hasVertexAiSearch()\n\n public abstract boolean hasVertexAiSearch()\n\nSet to use data source powered by Vertex AI Search.\n\n`.google.cloud.vertexai.v1.VertexAISearch vertex_ai_search = 2;`"]]