OptionalavgOutput only. Average log probability score of the candidate.
OptionalcitationSource attribution of the generated content.
OptionalcontentContains the multi-part content of the response.
OptionalfinishDescribes the reason the model stopped generating tokens.
OptionalfinishThe reason why the model stopped generating tokens. If empty, the model has not stopped generating the tokens.
OptionalgroundingOutput only. Metadata specifies sources used to ground generated content.
OptionalindexOutput only. Index of the candidate.
OptionallogprobsOutput only. Log-likelihood scores for the response tokens and top tokens
OptionalsafetyOutput only. List of ratings for the safety of a response candidate. There is at most one rating per category.
OptionaltokenNumber of tokens for this candidate.
OptionalurlOutput only. Metadata related to url context retrieval tool.
A response candidate generated from the model.