Google Cloud Audit Manager V1 Client - Class ResourceEnrollmentStatus (0.1.1)

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

A resource with its enrollment status.

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

Namespace

Google \ Cloud \ AuditManager \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The name of this resource.

↳ enrollment
Enrollment

Output only. Enrollment which contains enrolled destination details for a resource

↳ enrolled
bool

Output only. Is resource enrolled.

↳ display_name
string

Output only. Display name of the project/folder/organization.

↳ enrollment_state
int

Output only. Enrollment state of the resource.

getName

Identifier. The name of this resource.

Returns
Type
Description
string

setName

Identifier. The name of this resource.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getEnrollment

Output only. Enrollment which contains enrolled destination details for a resource

Returns
Type
Description
Enrollment |null

hasEnrollment

clearEnrollment

setEnrollment

Output only. Enrollment which contains enrolled destination details for a resource

Parameter
Name
Description
Returns
Type
Description
$this

getEnrolled

Output only. Is resource enrolled.

Returns
Type
Description
bool

setEnrolled

Output only. Is resource enrolled.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getDisplayName

Output only. Display name of the project/folder/organization.

Returns
Type
Description
string

setDisplayName

Output only. Display name of the project/folder/organization.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getEnrollmentState

Output only. Enrollment state of the resource.

Returns
Type
Description
int

setEnrollmentState

Output only. Enrollment state of the resource.

Parameter
Name
Description
var
int

Enum of type ResourceEnrollmentState .

Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: