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.CloudControlsPartnerMonitoringStubMethods
build(Channel channel, CallOptions callOptions)
protected CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub |
getViolation(GetViolationRequest request, StreamObserver<Violation> responseObserver)
public void getViolation(GetViolationRequest request, StreamObserver<Violation> responseObserver)
Gets details of a single Violation.
Parameters | |
---|---|
Name | Description |
request |
GetViolationRequest |
responseObserver |
io.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 | |
---|---|
Name | Description |
request |
ListViolationsRequest |
responseObserver |
io.grpc.stub.StreamObserver<ListViolationsResponse> |