public sealed class UpdateLogMetricRequest : IMessage<UpdateLogMetricRequest>, IEquatable<UpdateLogMetricRequest>, IDeepCloneable<UpdateLogMetricRequest>, IBufferMessage, IMessage
The parameters to UpdateLogMetric.
Inheritance
System.Object > UpdateLogMetricRequestImplements
IMessage<UpdateLogMetricRequest>, IEquatable<UpdateLogMetricRequest>, IDeepCloneable<UpdateLogMetricRequest>, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
UpdateLogMetricRequest()
public UpdateLogMetricRequest()
UpdateLogMetricRequest(UpdateLogMetricRequest)
public UpdateLogMetricRequest(UpdateLogMetricRequest other)
Parameter | |
---|---|
Name | Description |
other | UpdateLogMetricRequest |
Properties
Metric
public LogMetric Metric { get; set; }
Required. The updated metric.
Property Value | |
---|---|
Type | Description |
LogMetric |
MetricName
public string MetricName { get; set; }
Required. 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.
Property Value | |
---|---|
Type | Description |
String |
MetricNameAsLogMetricName
public LogMetricName MetricNameAsLogMetricName { get; set; }
LogMetricName-typed view over the MetricName resource name property.
Property Value | |
---|---|
Type | Description |
LogMetricName |