Reference documentation and code samples for the Google Cloud Asset V1 Client class Access.
An IAM role or permission under analysis.
Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult.Access
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ role |
string
The role. |
↳ permission |
string
The permission. |
↳ analysis_state |
Google\Cloud\Asset\V1\IamPolicyAnalysisState
The analysis state of this access. |
getRole
The role.
Generated from protobuf field string role = 1;
Returns | |
---|---|
Type | Description |
string |
hasRole
setRole
The role.
Generated from protobuf field string role = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getPermission
The permission.
Generated from protobuf field string permission = 2;
Returns | |
---|---|
Type | Description |
string |
hasPermission
setPermission
The permission.
Generated from protobuf field string permission = 2;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getAnalysisState
The analysis state of this access.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\IamPolicyAnalysisState|null |
hasAnalysisState
clearAnalysisState
setAnalysisState
The analysis state of this access.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisState analysis_state = 3;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\IamPolicyAnalysisState
|
Returns | |
---|---|
Type | Description |
$this |
getOneofAccess
Returns | |
---|---|
Type | Description |
string |