Google Cloud Asset V1 Client - Class IamPolicyAnalysisResult (2.1.0)

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

Namespace

Google \ Cloud \ Asset \ V1

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 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
Type Description
string

setAttachedResourceFullName

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

Parameter
Name Description
var string
Returns
Type Description
$this

getIamBinding

The IAM policy binding under analysis.

Returns
Type Description
Google\Cloud\Iam\V1\Binding|null

hasIamBinding

clearIamBinding

setIamBinding

The IAM policy binding under analysis.

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.

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.

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.

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.

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.

Returns
Type Description
bool

setFullyExplored

Represents whether all analyses on the iam_binding have successfully finished.

Parameter
Name Description
var bool
Returns
Type Description
$this