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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
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
Name Description
var float
Returns
Type Description
$this