1.0.0-beta87 (latest) 1.0.0-beta86

    public sealed class GroundingMetadata : IMessage<GroundingMetadata>, IEquatable<GroundingMetadata>, IDeepCloneable<GroundingMetadata>, IBufferMessage, IMessage

Reference documentation and code samples for the Vertex AI v1beta1 API class GroundingMetadata.

Metadata returned to client when grounding is enabled.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> GroundingMetadata

## Implements

[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[GroundingMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[GroundingMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[GroundingMetadata](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.AIPlatform.V1Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1)

## Assembly

Google.Cloud.AIPlatform.V1Beta1.dll

## Constructors

### GroundingMetadata()

    public GroundingMetadata()

### GroundingMetadata(GroundingMetadata)

    public GroundingMetadata(GroundingMetadata other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata` |

## Properties

### GoogleMapsWidgetContextToken

    public string GoogleMapsWidgetContextToken { get; set; }

Optional. Output only. Resource name of the Google Maps widget context
token to be used with the PlacesContextElement widget to render contextual
data. This is populated only for Google Maps grounding.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### GroundingChunks

    public RepeatedField<GroundingChunk> GroundingChunks { get; }

List of supporting references retrieved from specified grounding source.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingChunk` |   |

### GroundingSupports

    public RepeatedField<GroundingSupport> GroundingSupports { get; }

Optional. List of grounding support.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingSupport` |   |

### HasGoogleMapsWidgetContextToken

    public bool HasGoogleMapsWidgetContextToken { get; }

Gets whether the "google_maps_widget_context_token" field is set

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.boolean` |   |

### RetrievalMetadata

    public RetrievalMetadata RetrievalMetadata { get; set; }

Optional. Output only. Retrieval metadata.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.RetrievalMetadata` |   |

### RetrievalQueries

    public RepeatedField<string> RetrievalQueries { get; }

Optional. Queries executed by the retrieval tools.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |

### SearchEntryPoint

    public SearchEntryPoint SearchEntryPoint { get; set; }

Optional. Google search entry for the following-up web searches.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.SearchEntryPoint` |   |

### SourceFlaggingUris

    public RepeatedField<GroundingMetadata.Types.SourceFlaggingUri> SourceFlaggingUris { get; }

List of source flagging uris. This is currently populated only for Google
Maps grounding.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadatahttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata.Typeshttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.AIPlatform.V1Beta1/latest/Google.Cloud.AIPlatform.V1Beta1.GroundingMetadata.Types.SourceFlaggingUri` |   |

### WebSearchQueries

    public RepeatedField<string> WebSearchQueries { get; }

Optional. Web search queries for the following-up web search.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.Collections.RepeatedField-1.htmlhttps://learn.microsoft.com/dotnet/api/system.string` |   |