Google Cloud Logging v2 API - Class GetLogMetricRequest (4.1.0)

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.

Inheritance

object > GetLogMetricRequest

Namespace

Google.Cloud.Logging.V2

Assembly

Google.Cloud.Logging.V2.dll

Constructors

GetLogMetricRequest()

public GetLogMetricRequest()

GetLogMetricRequest(GetLogMetricRequest)

public GetLogMetricRequest(GetLogMetricRequest other)
Parameter
NameDescription
otherGetLogMetricRequest

Properties

MetricName

public string MetricName { get; set; }

Required. The resource name of the desired metric:

"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
Property Value
TypeDescription
string

MetricNameAsLogMetricName

public LogMetricName MetricNameAsLogMetricName { get; set; }

LogMetricName-typed view over the MetricName resource name property.

Property Value
TypeDescription
LogMetricName