class UpdateLogMetricRequest extends Message

The parameters to UpdateLogMetric.

Protobuf type Google\Logging\V2\UpdateLogMetricRequest

Methods

__construct()

No description

string
getMetricName()

The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.

setMetricName(string $var)

The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.

getMetric()

The updated metric.

setMetric(LogMetric $var)

The updated metric.

Details

at line 35
__construct()

at line 50
string getMetricName()

The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.

Generated from protobuf field string metric_name = 1;

Return Value

string

at line 65
setMetricName(string $var)

The resource name of the metric to update: "projects/[PROJECT_ID]/metrics/[METRIC_ID]" The updated metric must be provided in the request and it's name field must be the same as [METRIC_ID] If the metric does not exist in [PROJECT_ID], then a new metric is created.

Generated from protobuf field string metric_name = 1;

Parameters

string $var

at line 77
LogMetric getMetric()

The updated metric.

Generated from protobuf field .google.logging.v2.LogMetric metric = 2;

Return Value

LogMetric

at line 88
setMetric(LogMetric $var)

The updated metric.

Generated from protobuf field .google.logging.v2.LogMetric metric = 2;

Parameters

LogMetric $var