Google Cloud Logging v2 API - Class GetLogMetricRequest (4.4.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
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