public sealed class GetLogMetricRequest : IMessage<GetLogMetricRequest>, IEquatable<GetLogMetricRequest>, IDeepCloneable<GetLogMetricRequest>, IBufferMessage, IMessage
Reference documentation and code samples for the Google Cloud Logging v2 API class GetLogMetricRequest.
The parameters to GetLogMetric.
Implements
IMessageGetLogMetricRequest, IEquatableGetLogMetricRequest, IDeepCloneableGetLogMetricRequest, IBufferMessage, IMessageNamespace
Google.Cloud.Logging.V2Assembly
Google.Cloud.Logging.V2.dll
Constructors
GetLogMetricRequest()
public GetLogMetricRequest()
GetLogMetricRequest(GetLogMetricRequest)
public GetLogMetricRequest(GetLogMetricRequest other)
Parameter | |
---|---|
Name | Description |
other | GetLogMetricRequest |
Properties
MetricName
public string MetricName { get; set; }
Required. The resource name of the desired metric:
"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
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 |