Google Cloud Dataproc V1 Client - Class ClusterMetrics (2.2.2)

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
Google\Protobuf\Internal\MapField

setHdfsMetrics

The HDFS metrics.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this

getYarnMetrics

YARN metrics.

Returns
Type Description
Google\Protobuf\Internal\MapField

setYarnMetrics

YARN metrics.

Parameter
Name Description
var array|Google\Protobuf\Internal\MapField
Returns
Type Description
$this