Google Cloud Security Compliance V1 Client - Class CalculateEffectiveCmEnrollmentRequest (0.2.0)

Reference documentation and code samples for the Google Cloud Security Compliance V1 Client class CalculateEffectiveCmEnrollmentRequest.

The request message for CalculateEffectiveCmEnrollment.

Generated from protobuf message google.cloud.cloudsecuritycompliance.v1.CalculateEffectiveCmEnrollmentRequest

Namespace

Google \ Cloud \ CloudSecurityCompliance \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name 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

getName

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
Returns
Type Description
string

setName

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
Parameter
Name Description
var string
Returns
Type Description
$this

static::build

Parameter
Name Description
name 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 Please see CmEnrollmentServiceClient::cmEnrollmentName() for help formatting this field.
Returns
Type Description
CalculateEffectiveCmEnrollmentRequest