public interface CreateLogMetricRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
LogMetric |
getMetric()
Required.
|
LogMetricOrBuilder |
getMetricOrBuilder()
Required.
|
String |
getParent()
Required.
|
com.google.protobuf.ByteString |
getParentBytes()
Required.
|
boolean |
hasMetric()
Required.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
String getParent()
Required. The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
com.google.protobuf.ByteString getParentBytes()
Required. The resource name of the project in which to create the metric: "projects/[PROJECT_ID]" The new metric must be provided in the request.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
boolean hasMetric()
Required. The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
LogMetric getMetric()
Required. The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
LogMetricOrBuilder getMetricOrBuilder()
Required. The new logs-based metric, which must not have an identifier that already exists.
.google.logging.v2.LogMetric metric = 2 [(.google.api.field_behavior) = REQUIRED];
Copyright © 2023 Google LLC. All rights reserved.