Class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub (0.5.0)

public static final class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub extends AbstractAsyncStub<CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub>

A stub to allow clients to do asynchronous rpc calls to service CloudControlsPartnerMonitoring.

Service describing handlers for resources

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub

Methods

build(Channel channel, CallOptions callOptions)

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

getViolation(GetViolationRequest request, StreamObserver<Violation> responseObserver)

public void getViolation(GetViolationRequest request, StreamObserver<Violation> responseObserver)

Gets details of a single Violation.

Parameters
NameDescription
requestGetViolationRequest
responseObserverio.grpc.stub.StreamObserver<Violation>

listViolations(ListViolationsRequest request, StreamObserver<ListViolationsResponse> responseObserver)

public void listViolations(ListViolationsRequest request, StreamObserver<ListViolationsResponse> responseObserver)

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}

Parameters
NameDescription
requestListViolationsRequest
responseObserverio.grpc.stub.StreamObserver<ListViolationsResponse>