Class CloudControlsPartnerMonitoringGrpc.CloudControlsPartnerMonitoringStub (0.10.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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
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>