Class CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingStub (0.7.0)

public static final class CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingStub extends AbstractBlockingStub<CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingStub>

A stub to allow clients to do limited synchronous rpc calls to service CmEnrollmentService.

Service describing CmEnrollment related RPCs for complianceManager.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

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

calculateEffectiveCmEnrollment(CalculateEffectiveCmEnrollmentRequest request)

public 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
CalculateEffectiveCmEnrollmentResponse

updateCmEnrollment(UpdateCmEnrollmentRequest request)

public 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
CmEnrollment