Google Cloud Dataproc V1 Client - Class Metric (3.10.1)

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

Namespace

Google \ Cloud \ Dataproc \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
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

Returns
Type
Description
int

setMetricSource

Required. Specified source of metric collection

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMetricOverrides

Optional. The set of available OSS metrics to collect from the metric source.

Returns
Type
Description

setMetricOverrides

Optional. The set of available OSS metrics to collect from the metric source.

Parameter
Name
Description
var
string[]
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: