Google Cloud Dataproc V1 Client - Class DataprocMetricConfig (3.7.1)

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
NameDescription
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
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

Required. Metrics sources to enable.

Parameter
NameDescription
var array<Google\Cloud\Dataproc\V1\DataprocMetricConfig\Metric>
Returns
TypeDescription
$this