Google Cloud Asset V1 Client - Class IamPolicyAnalysisResult (1.11.3)

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 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.

Returns
TypeDescription
string

setAttachedResourceFullName

The full resource name of the resource to which the iam_binding policy attaches.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getIamBinding

The IAM policy binding under analysis.

Returns
TypeDescription
Google\Cloud\Iam\V1\Binding|null

hasIamBinding

clearIamBinding

setIamBinding

The IAM policy binding under analysis.

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.

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.

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.

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.

Parameter
NameDescription
var Google\Cloud\Asset\V1\IamPolicyAnalysisResult\IdentityList
Returns
TypeDescription
$this

getFullyExplored

Represents whether all analyses on the iam_binding have successfully finished.

Returns
TypeDescription
bool

setFullyExplored

Represents whether all analyses on the iam_binding have successfully finished.

Parameter
NameDescription
var bool
Returns
TypeDescription
$this