Reference documentation and code samples for the Google Cloud Dataproc V1 Client class Metric.
Specifies Dataproc OSS Metric.
Generated from protobuf message google.cloud.dataproc.v1.Metric
Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ metric_source
int
Required. Specified source of metric collection
↳ metric_overrides
array
Optional. The set of available OSS metrics to collect from the metric source.
getMetricSource
Required. Specified source of metric collection
Generated from protobuf field .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED];
int
setMetricSource
Required. Specified source of metric collection
Generated from protobuf field .google.cloud.dataproc.v1.Metric.MetricSource metric_source = 1 [(.google.api.field_behavior) = REQUIRED];
var
int
$this
getMetricOverrides
Optional. The set of available OSS metrics to collect from the metric source.
Generated from protobuf field repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
Google\Protobuf\Internal\RepeatedField
setMetricOverrides
Optional. The set of available OSS metrics to collect from the metric source.
Generated from protobuf field repeated string metric_overrides = 2 [(.google.api.field_behavior) = OPTIONAL];
var
string[]
$this