Google Cloud Ai Platform V1 Client - Class ResourcesConsumed (0.10.0)

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

Statistics information about resource consumption.

Generated from protobuf message google.cloud.aiplatform.v1.ResourcesConsumed

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ replica_hours float

Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time. Therefore this value is not strictly related to wall time.

getReplicaHours

Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time.

Therefore this value is not strictly related to wall time.

Generated from protobuf field double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
float

setReplicaHours

Output only. The number of replica hours used. Note that many replicas may run in parallel, and additionally any given work may be queued for some time.

Therefore this value is not strictly related to wall time.

Generated from protobuf field double replica_hours = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
NameDescription
var float
Returns
TypeDescription
$this