Google Cloud Dataproc V1 Client - Class ClusterMetrics (3.4.0)

Reference documentation and code samples for the Google Cloud Dataproc V1 Client class ClusterMetrics.

Contains cluster daemon metrics, such as HDFS and YARN stats.

Beta Feature: This report is available for testing purposes only. It may be changed before final release.

Generated from protobuf message google.cloud.dataproc.v1.ClusterMetrics

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ hdfs_metrics array|Google\Protobuf\Internal\MapField

The HDFS metrics.

↳ yarn_metrics array|Google\Protobuf\Internal\MapField

The YARN metrics.

getHdfsMetrics

The HDFS metrics.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setHdfsMetrics

The HDFS metrics.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getYarnMetrics

The YARN metrics.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setYarnMetrics

The YARN metrics.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this