Google Cloud Audit Manager V1 Client - Class Enrollment (0.4.1)

Reference documentation and code samples for the Google Cloud Audit Manager V1 Client class Enrollment.

Organization, folder, or project to enroll for audit reports.

Generated from protobuf message google.cloud.auditmanager.v1.Enrollment

Namespace

Google \ Cloud \ AuditManager \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Name of the enrollment, in one of the following formats: * * projects/{project}/locations/{location}/enrollments/{enrollment} * * folders/{folder}/locations/{location}/enrollments/{enrollment} * * organizations/{organization}/locations/{location}/enrollments/{enrollment}

↳ destination_details array<DestinationDetails>

Output only. Cloud Storage buckets where you want to upload the audit reports.

getName

Identifier. Name of the enrollment, in one of the following formats:

  • projects/{project}/locations/{location}/enrollments/{enrollment}
  • folders/{folder}/locations/{location}/enrollments/{enrollment}
  • organizations/{organization}/locations/{location}/enrollments/{enrollment}
Returns
Type Description
string

setName

Identifier. Name of the enrollment, in one of the following formats:

  • projects/{project}/locations/{location}/enrollments/{enrollment}
  • folders/{folder}/locations/{location}/enrollments/{enrollment}
  • organizations/{organization}/locations/{location}/enrollments/{enrollment}
Parameter
Name Description
var string
Returns
Type Description
$this

getDestinationDetails

Output only. Cloud Storage buckets where you want to upload the audit reports.

Returns
Type Description
Google\Protobuf\RepeatedField<DestinationDetails>

setDestinationDetails

Output only. Cloud Storage buckets where you want to upload the audit reports.

Parameter
Name Description
var array<DestinationDetails>
Returns
Type Description
$this