Class MetricsScopesGrpc.MetricsScopesBlockingStub
- java.lang.Object
-
- io.grpc.stub.AbstractStub<S>
-
- io.grpc.stub.AbstractBlockingStub<MetricsScopesGrpc.MetricsScopesBlockingStub>
-
- com.google.monitoring.metricsscope.v1.MetricsScopesGrpc.MetricsScopesBlockingStub
-
- Enclosing class:
- MetricsScopesGrpc
public static final class MetricsScopesGrpc.MetricsScopesBlockingStub extends io.grpc.stub.AbstractBlockingStub<MetricsScopesGrpc.MetricsScopesBlockingStub>
A stub to allow clients to do synchronous rpc calls to service MetricsScopes.Manages Cloud Monitoring Metrics Scopes, and the monitoring of Google Cloud projects and AWS accounts.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected MetricsScopesGrpc.MetricsScopesBlockingStub
build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
com.google.longrunning.Operation
createMonitoredProject(CreateMonitoredProjectRequest request)
Adds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`.com.google.longrunning.Operation
deleteMonitoredProject(DeleteMonitoredProjectRequest request)
Deletes a `MonitoredProject` from the specified `Metrics Scope`.MetricsScope
getMetricsScope(GetMetricsScopeRequest request)
Returns a specific `Metrics Scope`.ListMetricsScopesByMonitoredProjectResponse
listMetricsScopesByMonitoredProject(ListMetricsScopesByMonitoredProjectRequest request)
Returns a list of every `Metrics Scope` that a specific `MonitoredProject` has been added to.
-
-
-
Method Detail
-
build
protected MetricsScopesGrpc.MetricsScopesBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
- Specified by:
build
in classio.grpc.stub.AbstractStub<MetricsScopesGrpc.MetricsScopesBlockingStub>
-
getMetricsScope
public MetricsScope getMetricsScope(GetMetricsScopeRequest request)
Returns a specific `Metrics Scope`.
-
listMetricsScopesByMonitoredProject
public 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.longrunning.Operation createMonitoredProject(CreateMonitoredProjectRequest request)
Adds a `MonitoredProject` with the given project ID to the specified `Metrics Scope`.
-
deleteMonitoredProject
public com.google.longrunning.Operation deleteMonitoredProject(DeleteMonitoredProjectRequest request)
Deletes a `MonitoredProject` from the specified `Metrics Scope`.
-
-