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

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
NameDescription
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
TypeDescription
int

setType

Type of access justification.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getDetail

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

Returns
TypeDescription
string

setDetail

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

Parameter
NameDescription
var string
Returns
TypeDescription
$this