Google Cloud Asset V1 Client - Class IamPolicyAnalysisResult (1.9.2)

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
NameDescription
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
TypeDescription
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
NameDescription
var string
Returns
TypeDescription
$this

getIamBinding

The Cloud IAM policy binding under analysis.

Generated from protobuf field .google.iam.v1.Binding iam_binding = 2;

Returns
TypeDescription
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
NameDescription
var Google\Cloud\Iam\V1\Binding
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var array<Google\Cloud\Asset\V1\IamPolicyAnalysisResult\AccessControlList>
Returns
TypeDescription
$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
TypeDescription
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
NameDescription
var Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList
Returns
TypeDescription
$this

getFullyExplored

Represents whether all analyses on the iam_binding have successfully finished.

Generated from protobuf field bool fully_explored = 5;

Returns
TypeDescription
bool

setFullyExplored

Represents whether all analyses on the iam_binding have successfully finished.

Generated from protobuf field bool fully_explored = 5;

Parameter
NameDescription
var bool
Returns
TypeDescription
$this