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 | |
---|---|
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.
Generated from protobuf field repeated .google.cloud.dataproc.v1.DataprocMetricConfig.Metric metrics = 1 [(.google.api.field_behavior) = REQUIRED];
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array<Google\Cloud\Dataproc\V1\DataprocMetricConfig\Metric>
|
Returns | |
---|---|
Type | Description |
$this |