UpdateLogMetricRequest
class UpdateLogMetricRequest extends Message
The parameters to UpdateLogMetric.
Protobuf type Google\Logging\V2\UpdateLogMetricRequest
Methods
No description
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.
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.
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;
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;
at line 77
LogMetric
getMetric()
The updated metric.
Generated from protobuf field .google.logging.v2.LogMetric metric = 2;
at line 88
setMetric(LogMetric $var)
The updated metric.
Generated from protobuf field .google.logging.v2.LogMetric metric = 2;