usage

public final Optional<Usage> usage()

Output only. Statistics on the interaction request's token usage.

Throws

if the JSON field has an unexpected type (e.g. if the server responded with an unexpected value).