Vertex AI V1 API - Module Google::Cloud::AIPlatform::V1::GenerateContentResponse::UsageMetadata::TrafficType (v1.43.0)

Reference documentation and code samples for the Vertex AI V1 API module Google::Cloud::AIPlatform::V1::GenerateContentResponse::UsageMetadata::TrafficType.

The type of traffic that this request was processed with, indicating which quota is consumed.

Constants

TRAFFIC_TYPE_UNSPECIFIED

value: 0
Unspecified request traffic type.

ON_DEMAND

value: 1
The request was processed using Pay-As-You-Go quota.

ON_DEMAND_PRIORITY

value: 3
Type for Priority Pay-As-You-Go traffic.

ON_DEMAND_FLEX

value: 4
Type for Flex traffic.

PROVISIONED_THROUGHPUT

value: 2
Type for Provisioned Throughput traffic.