Cloud Security Compliance v1 API - Class CmEnrollmentService.CmEnrollmentServiceBase (1.0.0-beta04)
Stay organized with collections
Save and categorize content based on your preferences.
[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 |
CalculateEffectiveCmEnrollmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task CalculateEffectiveCmEnrollmentResponse |
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 |
UpdateCmEnrollmentRequest The request received from the client. |
context |
ServerCallContext The context of the server-side call handler being invoked. |
| Returns | |
|---|---|
| Type | Description |
Task CmEnrollment |
The response to send back to the client (wrapped by a task). |