WebGroundingChunk

public final classWebGroundingChunk


A grounding chunk from the web.

Summary

Public fields

finalString

The domain of the original URI from which the content was retrieved.

finalString

The title of the retrieved web page.

finalString

The URI of the retrieved web page.

Public constructors

WebGroundingChunk(String uri, String title, String domain)

Public fields

domain

public final String domain

The domain of the original URI from which the content was retrieved. This is only populated when using the Vertex AI Gemini API.

title

public final String title

The title of the retrieved web page.

uri

public final String uri

The URI of the retrieved web page.

Public constructors

WebGroundingChunk

public WebGroundingChunk(String uri, String title, String domain)

Except as otherwise noted, the content of this page is licensed under theCreative Commons Attribution 4.0 License, and code samples are licensed under theApache 2.0 License. For details, see theGoogle Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025-07-21 UTC.