OptionalcachedOutput only. Number of tokens in the cached part in the input (the cached content).
OptionalcacheOutput only. List of modalities of the cached content in the request input.
OptionalcandidatesNumber of tokens in the response(s).
OptionalcandidatesOutput only. List of modalities that were returned in the response.
OptionalpromptNumber of tokens in the request. When cached_content is set, this is still the total effective prompt size meaning this includes the number of tokens in the cached content.
OptionalpromptOutput only. List of modalities that were processed in the request input.
OptionalthoughtsOutput only. Number of tokens present in thoughts output.
OptionaltoolOutput only. Number of tokens present in tool-use prompt(s).
OptionaltoolOutput only. List of modalities that were processed for tool-use request inputs.
OptionaltotalTotal token count for prompt, response candidates, and tool-use prompts (if present).
OptionaltrafficOutput only. Traffic type. This shows whether a request consumes Pay-As-You-Go or Provisioned Throughput quota.
Usage metadata about response(s).