Google Cloud Ai Platform V1 Client - Class TrafficType (1.43.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class TrafficType.

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

Protobuf type google.cloud.aiplatform.v1.UsageMetadata.TrafficType

Namespace

Google \ Cloud \ AIPlatform \ V1 \ UsageMetadata

Methods

static::name

Parameter
Name Description
value mixed

static::value

Parameter
Name Description
name mixed

Constants

TRAFFIC_TYPE_UNSPECIFIED

Value: 0

Unspecified request traffic type.

Generated from protobuf enum TRAFFIC_TYPE_UNSPECIFIED = 0;

ON_DEMAND

Value: 1

Type for Pay-As-You-Go traffic.

Generated from protobuf enum ON_DEMAND = 1;

PROVISIONED_THROUGHPUT

Value: 2

Type for Provisioned Throughput traffic.

Generated from protobuf enum PROVISIONED_THROUGHPUT = 2;