public interface UpdateLogMetricRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LogMetric |
getMetric()
Required.
|
String |
getMetricName()
Required.
|
com.google.protobuf.ByteString |
getMetricNameBytes()
Required.
|
LogMetricOrBuilder |
getMetricOrBuilder()
Required.
|
boolean |
hasMetric()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getMetricName()
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.
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getMetricNameBytes()
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.
string metric_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasMetric()
Required. The updated metric.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
LogMetric getMetric()
Required. The updated metric.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
LogMetricOrBuilder getMetricOrBuilder()
Required. The updated metric.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2023 Google LLC. All rights reserved.