Google Cloud Dataproc V1 Client - Class DataprocMetricConfig (3.2.2)

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

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.

Generated from protobuf field repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
Google\Protobuf\Internal\RepeatedField

setMetrics

Required. Metrics sources to enable.

Generated from protobuf field repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];

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