Cloud Security Compliance v1 API - Class CmEnrollmentService.CmEnrollmentServiceBase (1.0.0-beta04)

[BindServiceMethod(typeof(CmEnrollmentService), "BindService")]
public abstract class CmEnrollmentService.CmEnrollmentServiceBase

Reference documentation and code samples for the Cloud Security Compliance v1 API class CmEnrollmentService.CmEnrollmentServiceBase.

Base class for server-side implementations of CmEnrollmentService

Inheritance

object > CmEnrollmentService.CmEnrollmentServiceBase

Namespace

Google.Cloud.CloudSecurityCompliance.V1

Assembly

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).

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月05日 UTC.