Google Cloud Dataproc V1 Client - Class DataprocMetricConfig (2.1.0)

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

Dataproc metric config.

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ metrics array<Google\Cloud\Dataproc\V1\DataprocMetricConfig\Metric>

Required. Metrics sources to enable.

getMetrics

Required. Metrics sources to enable.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setMetrics

Required. Metrics sources to enable.

Parameter
Name Description
var array<Google\Cloud\Dataproc\V1\DataprocMetricConfig\Metric>
Returns
Type Description
$this