Google Cloud Ai Platform V1 Client - Class ResourcesConsumed (0.16.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.

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.

Parameter
NameDescription
var float
Returns
TypeDescription
$this