Class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub (0.5.0)

public static final class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub extends AbstractFutureStub<CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service CloudControlsPartnerMonitoring.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

getViolation(GetViolationRequest request)

public ListenableFuture<Violation> getViolation(GetViolationRequest request)

Gets details of a single Violation.

Parameter
NameDescription
requestGetViolationRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Violation>

listViolations(ListViolationsRequest request)

public ListenableFuture<ListViolationsResponse> listViolations(ListViolationsRequest request)

Lists Violations for a workload Callers may also choose to read across multiple Customers or for a single customer as per AIP-159 by using '-' (the hyphen or dash character) as a wildcard character instead of {customer} & {workload}. Format: organizations/{organization}/locations/{location}/customers/{customer}/workloads/{workload}

Parameter
NameDescription
requestListViolationsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListViolationsResponse>