Reference documentation and code samples for the Google Cloud Asset V1 Client class IamPolicyAnalysisResult.
IAM Policy analysis result, consisting of one IAM policy binding and derived access control lists.
Generated from protobuf message google.cloud.asset.v1.IamPolicyAnalysisResult
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ attached_resource_full_name |
string
The full resource name of the resource to which the iam_binding policy attaches. |
↳ iam_binding |
Google\Cloud\Iam\V1\Binding
The Cloud IAM policy binding under analysis. |
↳ access_control_lists |
array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList>
The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request. |
↳ identity_list |
Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList
The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request. |
↳ fully_explored |
bool
Represents whether all analyses on the iam_binding have successfully finished. |
getAttachedResourceFullName
The full resource name of the resource to which the iam_binding policy attaches.
Generated from protobuf field string attached_resource_full_name = 1;
Returns | |
---|---|
Type | Description |
string |
setAttachedResourceFullName
The full resource name of the resource to which the iam_binding policy attaches.
Generated from protobuf field string attached_resource_full_name = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getIamBinding
The Cloud IAM policy binding under analysis.
Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;
Returns | |
---|---|
Type | Description |
Google\Cloud\Iam\V1\Binding|null |
hasIamBinding
clearIamBinding
setIamBinding
The Cloud IAM policy binding under analysis.
Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Iam\V1\Binding
|
Returns | |
---|---|
Type | Description |
$this |
getAccessControlLists
The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.
Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Internal\RepeatedField |
setAccessControlLists
The access control lists derived from the iam_binding that match or potentially match resource and access selectors specified in the request.
Generated from protobuf field repeated .google.cloud.asset.v1.IamPolicyAnalysisResult.AccessControlList access_control_lists = 3;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList>
|
Returns | |
---|---|
Type | Description |
$this |
getIdentityList
The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
Returns | |
---|---|
Type | Description |
Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList|null |
hasIdentityList
clearIdentityList
setIdentityList
The identity list derived from members of the iam_binding that match or potentially match identity selector specified in the request.
Generated from protobuf field .google.cloud.asset.v1.IamPolicyAnalysisResult.IdentityList identity_list = 4;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList
|
Returns | |
---|---|
Type | Description |
$this |
getFullyExplored
Represents whether all analyses on the iam_binding have successfully finished.
Generated from protobuf field bool fully_explored = 5;
Returns | |
---|---|
Type | Description |
bool |
setFullyExplored
Represents whether all analyses on the iam_binding have successfully finished.
Generated from protobuf field bool fully_explored = 5;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |