Google Cloud Cloud Controls Partner V1beta Client - Class AccessReason (0.2.0)

Reference documentation and code samples for the Google Cloud Cloud Controls Partner V1beta Client class AccessReason.

Reason for the access.

Generated from protobuf message google.cloud.cloudcontrolspartner.v1beta.AccessReason

Namespace

Google \ Cloud \ CloudControlsPartner \ V1beta

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