Google Cloud Dataproc V1 Client - Class ClusterMetrics (3.5.1)

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

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

YARN metrics.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setYarnMetrics

YARN metrics.

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