Service Client: Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::CmEnrollmentServiceClient

Client stub representing the remote CmEnrollmentService gRPC service. Delegates call dispatching to Google::gRPC::Client.

target

The endpoint target address. Defaults to cloudsecuritycompliance.googleapis.com:443.

credentials

The authentication credentials provider. Defaults to application default credentials via Google::Auth.

NAME

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService - Compiled Protocol Buffers messages for google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto

SYNOPSIS

use Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService;

my $msg = Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::UpdateCmEnrollmentRequest->new({
    cm_enrollment => $cm_enrollment,
    update_mask => $update_mask,
});

# Read or update a field
my $val = $msg->cm_enrollment();

# Binary wire-format roundtrip
my $bytes   = $msg->serialize();
my $decoded = Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::UpdateCmEnrollmentRequest->parse($bytes);

# Canonical ProtoJSON
my $json = $msg->to_json();

DESCRIPTION

Auto-generated Protobuf message classes compiled from google/cloud/cloudsecuritycompliance/v1/cm_enrollment_service.proto. All message classes inherit from Protobuf::Message and support new(), serialize(), parse(), to_json(), from_json(), to_text(), and to_perl().

MESSAGES

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::UpdateCmEnrollmentRequest

The request message for [UpdateCmEnrollment][].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::CalculateEffectiveCmEnrollmentRequest

The request message for [CalculateEffectiveCmEnrollment][].

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Required. The name of the Compliance Manager enrollment to calculate.

    Supported formats are the following:

    * `organizations/{organization_id}/locations/{location}/cmEnrollment` * `folders/{folder_id}/locations/{location}/cmEnrollment` * `projects/{project_id}/locations/{location}/cmEnrollment`

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::CmEnrollment

The settings for Compliance Manager at a specific resource scope.=

Inherits from Protobuf::Message.

Accessors

  • $msg->name() / $msg->name($value)

    Type: String

    Identifier. The name of the Compliance Manager enrollment.

    Supported formats are the following:

    * `organizations/{organization_id}/locations/{location}/cmEnrollment` * `folders/{folder_id}/locations/{location}/cmEnrollment` * `projects/{project_id}/locations/{location}/cmEnrollment`

  • $msg->enrolled() / $msg->enrolled($value)

    Type: Bool

    Optional. Whether the resource is enrolled in Compliance Manager. This setting is inherited by all descendants.

  • $msg->audit_config() / $msg->audit_config($value)

    Type: Message (Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::AuditConfig)

    Optional. The audit configuration for Compliance Manager. If set at a scope, this configuration overrides any inherited audit configuration.

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::CalculateEffectiveCmEnrollmentResponse

The response message for [CalculateEffectiveCmEnrollment][].

Inherits from Protobuf::Message.

Accessors

Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::AuditConfig

The audit configuration for Compliance Manager.

Inherits from Protobuf::Message.

Accessors

SEE ALSO

Protobuf, Protobuf::Message, Google::Cloud::Cloudsecuritycompliance::V1::CmEnrollmentService::Types, https://protobuf.dev/

LICENSE AND COPYRIGHT

Copyright (C) 2026 Google LLC

This program is released under the Apache 2.0 license.