groundingMetadata

Returns the grounding metadata of the response, set when a grounding tool such as Google Search was used, and null otherwise.

If there are multiple candidates, this returns the metadata from only the first one.