[BindServiceMethod(typeof(CmEnrollmentService), "BindService")]
public abstract class CmEnrollmentService.CmEnrollmentServiceBaseReference documentation and code samples for the Cloud Security Compliance v1 API class CmEnrollmentService.CmEnrollmentServiceBase.
Base class for server-side implementations of CmEnrollmentService
Namespace
Google.Cloud.CloudSecurityCompliance.V1Assembly
Google.Cloud.CloudSecurityCompliance.V1.dll
Methods
CalculateEffectiveCmEnrollment(CalculateEffectiveCmEnrollmentRequest, ServerCallContext)
public virtual Task<CalculateEffectiveCmEnrollmentResponse> CalculateEffectiveCmEnrollment(CalculateEffectiveCmEnrollmentRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
CalculateEffectiveCmEnrollmentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCalculateEffectiveCmEnrollmentResponse |
The response to send back to the client (wrapped by a task). |
UpdateCmEnrollment(UpdateCmEnrollmentRequest, ServerCallContext)
public virtual Task<CmEnrollment> UpdateCmEnrollment(UpdateCmEnrollmentRequest request, ServerCallContext context)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.
| Parameters | |
|---|---|
| Name | Description |
request |
UpdateCmEnrollmentRequestThe request received from the client. |
context |
ServerCallContextThe context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
TaskCmEnrollment |
The response to send back to the client (wrapped by a task). |