Google Cloud Access Approval V1 Client - Class AccessReason (2.0.2)

Reference documentation and code samples for the Google Cloud Access Approval V1 Client class AccessReason.

Generated from protobuf message google.cloud.accessapproval.v1.AccessReason

Namespace

Google \ Cloud \ AccessApproval \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ type int

Type of access justification.

↳ detail string

More detail about certain reason types. See comments for each type above.

getType

Type of access justification.

Returns
Type Description
int

setType

Type of access justification.

Parameter
Name Description
var int
Returns
Type Description
$this

getDetail

More detail about certain reason types. See comments for each type above.

Returns
Type Description
string

setDetail

More detail about certain reason types. See comments for each type above.

Parameter
Name Description
var string
Returns
Type Description
$this