Class MetricsScopesGrpc.MetricsScopesFutureStub
java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<MetricsScopesGrpc.MetricsScopesFutureStub>
com.google.monitoring.metricsscope.v1.MetricsScopesGrpc.MetricsScopesFutureStub
- Enclosing class:
- MetricsScopesGrpc
public static final class MetricsScopesGrpc.MetricsScopesFutureStub
extends io.grpc.stub.AbstractFutureStub<MetricsScopesGrpc.MetricsScopesFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service MetricsScopes.
Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.
-
Nested Class Summary
Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub
io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>> -
Method Summary
Modifier and TypeMethodDescriptionbuild(io.grpc.Channel channel, io.grpc.CallOptions callOptions) com.google.common.util.concurrent.ListenableFuture<Operation>Adds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`.com.google.common.util.concurrent.ListenableFuture<Operation>Deletes a `MonitoredProject` from the specified `Metrics Scope`.com.google.common.util.concurrent.ListenableFuture<MetricsScope>getMetricsScope(GetMetricsScopeRequest request) Returns a specific `Metrics Scope`.com.google.common.util.concurrent.ListenableFuture<ListMetricsScopesByMonitoredProjectResponse>Returns a list of every `Metrics Scope` that a specific `MonitoredProject` has been added to.Methods inherited from class io.grpc.stub.AbstractFutureStub
newStub, newStubMethods inherited from class io.grpc.stub.AbstractStub
getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady
-
Method Details
-
build
protected MetricsScopesGrpc.MetricsScopesFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions) - Specified by:
buildin classio.grpc.stub.AbstractStub<MetricsScopesGrpc.MetricsScopesFutureStub>
-
getMetricsScope
public com.google.common.util.concurrent.ListenableFuture<MetricsScope> getMetricsScope(GetMetricsScopeRequest request) Returns a specific `Metrics Scope`.
-
listMetricsScopesByMonitoredProject
public com.google.common.util.concurrent.ListenableFuture<ListMetricsScopesByMonitoredProjectResponse> listMetricsScopesByMonitoredProject(ListMetricsScopesByMonitoredProjectRequest request) Returns a list of every `Metrics Scope` that a specific `MonitoredProject` has been added to. The metrics scope representing the specified monitored project will always be the first entry in the response.
-
createMonitoredProject
public com.google.common.util.concurrent.ListenableFuture<Operation> createMonitoredProject(CreateMonitoredProjectRequest request) Adds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`.
-
deleteMonitoredProject
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteMonitoredProject(DeleteMonitoredProjectRequest request) Deletes a `MonitoredProject` from the specified `Metrics Scope`.
-