cached Tokens By Modality
public final Usage.Builder cachedTokensByModality(List<Usage.CachedTokensByModality> cachedTokensByModality)
A breakdown of cached token usage by modality.
public final Usage.Builder cachedTokensByModality(JsonField<List<Usage.CachedTokensByModality>> cachedTokensByModality)
Sets Builder.cachedTokensByModality to an arbitrary JSON value.
You should usually call Builder.cachedTokensByModality with a well-typed List<CachedTokensByModality> value instead. This method is primarily for setting the field to an undocumented or not yet supported value.