Interface GetLogMetricRequestOrBuilder (3.16.2)

public interface GetLogMetricRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMetricName()

public abstract String getMetricName()

Required. The resource name of the desired metric:

 "projects/[PROJECT_ID]/metrics/[METRIC_ID]"

string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The metricName.

getMetricNameBytes()

public abstract ByteString getMetricNameBytes()

Required. The resource name of the desired metric:

 "projects/[PROJECT_ID]/metrics/[METRIC_ID]"

string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for metricName.