MetricsServiceV2Client class
Service for configuring logs-based metrics.
- Annotations
-
- @GrpcServiceName.new('google.logging.v2.MetricsServiceV2')
Constructors
-
MetricsServiceV2Client(ClientChannel channel, {CallOptions? options, Iterable<
ClientInterceptor> ? interceptors})
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
$createCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ClientCall<Q, R> -
inherited
-
$createStreamingCall<
Q, R> (ClientMethod< Q, R> method, Stream<Q> requests, {CallOptions? options}) → ResponseStream<R> -
inherited
-
$createUnaryCall<
Q, R> (ClientMethod< Q, R> method, Q request, {CallOptions? options}) → ResponseFuture<R> -
inherited
-
createLogMetric(
CreateLogMetricRequest request, {CallOptions? options}) → ResponseFuture< LogMetric> - Creates a logs-based metric.
-
deleteLogMetric(
DeleteLogMetricRequest request, {CallOptions? options}) → ResponseFuture< Empty> - Deletes a logs-based metric.
-
getLogMetric(
GetLogMetricRequest request, {CallOptions? options}) → ResponseFuture< LogMetric> - Gets a logs-based metric.
-
listLogMetrics(
ListLogMetricsRequest request, {CallOptions? options}) → ResponseFuture< ListLogMetricsResponse> - Lists logs-based metrics.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
-
updateLogMetric(
UpdateLogMetricRequest request, {CallOptions? options}) → ResponseFuture< LogMetric> - Creates or updates a logs-based metric.
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
- defaultHost → const String
- The hostname for this service.
-
oauthScopes
→ const List<
String> - OAuth scopes needed for the client.