Class CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingV2Stub (0.7.0)

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

A stub to allow clients to do 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.CmEnrollmentServiceBlockingV2Stub

Methods

build(Channel channel, CallOptions callOptions)

protected CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingV2Stub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
CmEnrollmentServiceGrpc.CmEnrollmentServiceBlockingV2Stub
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
Exceptions
Type Description
io.grpc.StatusException

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
Exceptions
Type Description
io.grpc.StatusException