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 \ V1Methods
__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 |
Enum of type Type. |
setType
Type of access justification.
| Parameter | |
|---|---|
| Name | Description |
var |
int
Enum of type Type. |
| 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 |
|