Class CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub (0.7.0)

public static final class CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub extends AbstractFutureStub<CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub>

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

Service describing CmEnrollment related RPCs for complianceManager.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub

Methods

build(Channel channel, CallOptions callOptions)

protected CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CmEnrollmentServiceGrpc.CmEnrollmentServiceFutureStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

calculateEffectiveCmEnrollment(CalculateEffectiveCmEnrollmentRequest request)

public ListenableFuture<CalculateEffectiveCmEnrollmentResponse> calculateEffectiveCmEnrollment(CalculateEffectiveCmEnrollmentRequest request)

Calculates the effective Compliance Manager enrollment for a resource. An effective enrollment is either a direct enrollment of a resource (if it exists), or an enrollment of the closest parent of a resource that's enrolled in Compliance Manager.

Parameter
Name Description
request CalculateEffectiveCmEnrollmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CalculateEffectiveCmEnrollmentResponse>

updateCmEnrollment(UpdateCmEnrollmentRequest request)

public ListenableFuture<CmEnrollment> updateCmEnrollment(UpdateCmEnrollmentRequest request)

Updates the Compliance Manager enrollment for a resource to facilitate an audit. Use this method to enroll a resource in Compliance Manager or to create or update feature-specific configurations.

Parameter
Name Description
request UpdateCmEnrollmentRequest
Returns
Type Description
com.google.common.util.concurrent.ListenableFuture<CmEnrollment>