GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata constructor

GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata({
  1. List<GoogleCloudAiplatformV1ModalityTokenCount>? cacheTokensDetails,
  2. int? cachedContentTokenCount,
  3. int? candidatesTokenCount,
  4. List<GoogleCloudAiplatformV1ModalityTokenCount>? candidatesTokensDetails,
  5. int? promptTokenCount,
  6. List<GoogleCloudAiplatformV1ModalityTokenCount>? promptTokensDetails,
  7. int? thoughtsTokenCount,
  8. int? toolUsePromptTokenCount,
  9. List<GoogleCloudAiplatformV1ModalityTokenCount>? toolUsePromptTokensDetails,
  10. int? totalTokenCount,
  11. String? trafficType,
})

Implementation

GoogleCloudAiplatformV1GenerateContentResponseUsageMetadata({
  this.cacheTokensDetails,
  this.cachedContentTokenCount,
  this.candidatesTokenCount,
  this.candidatesTokensDetails,
  this.promptTokenCount,
  this.promptTokensDetails,
  this.thoughtsTokenCount,
  this.toolUsePromptTokenCount,
  this.toolUsePromptTokensDetails,
  this.totalTokenCount,
  this.trafficType,
});