Class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringFutureStub (0.18.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request GetViolationRequest
Returns
Type Description
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
Name Description
request ListViolationsRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<ListViolationsResponse>