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? toolUsePromptTokenCount,
  8. List<GoogleCloudAiplatformV1ModalityTokenCount>? toolUsePromptTokensDetails,
  9. int? totalTokenCount,
})

Implementation

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