Google Cloud Privileged Access Manager V1 Client - Class RequesterJustificationConfig (0.1.3)

Reference documentation and code samples for the Google Cloud Privileged Access Manager V1 Client class RequesterJustificationConfig.

Defines how a requester must provide a justification when requesting access.

Generated from protobuf message google.cloud.privilegedaccessmanager.v1.Entitlement.RequesterJustificationConfig

Namespace

Google \ Cloud \ PrivilegedAccessManager \ V1 \ Entitlement

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ not_mandatory RequesterJustificationConfig\NotMandatory

This option means the requester isn't required to provide a justification.

↳ unstructured RequesterJustificationConfig\Unstructured

This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.

getNotMandatory

This option means the requester isn't required to provide a justification.

Returns
Type Description
RequesterJustificationConfig\NotMandatory|null

hasNotMandatory

setNotMandatory

This option means the requester isn't required to provide a justification.

Parameter
Name Description
var RequesterJustificationConfig\NotMandatory
Returns
Type Description
$this

getUnstructured

This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.

Returns
Type Description
RequesterJustificationConfig\Unstructured|null

hasUnstructured

setUnstructured

This option means the requester must provide a string as justification. If this is selected, the server allows the requester to provide a justification but doesn't validate it.

Parameter
Name Description
var RequesterJustificationConfig\Unstructured
Returns
Type Description
$this

getJustificationType

Returns
Type Description
string