Google Cloud Policy Troubleshooter Iam V3 Client - Class TroubleshootIamPolicyResponse (0.2.8)

Reference documentation and code samples for the Google Cloud Policy Troubleshooter Iam V3 Client class TroubleshootIamPolicyResponse.

Response for TroubleshootIamPolicy.

Generated from protobuf message google.cloud.policytroubleshooter.iam.v3.TroubleshootIamPolicyResponse

Namespace

Google \ Cloud \ PolicyTroubleshooter \ Iam \ V3

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ overall_access_state int

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

↳ access_tuple AccessTuple

The access tuple from the request, including any provided context used to evaluate the condition.

↳ allow_policy_explanation AllowPolicyExplanation

An explanation of how the applicable IAM allow policies affect the final access state.

↳ deny_policy_explanation DenyPolicyExplanation

An explanation of how the applicable IAM deny policies affect the final access state.

getOverallAccessState

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

Returns
Type Description
int

setOverallAccessState

Indicates whether the principal has the specified permission for the specified resource, based on evaluating all types of the applicable IAM policies.

Parameter
Name Description
var int
Returns
Type Description
$this

getAccessTuple

The access tuple from the request, including any provided context used to evaluate the condition.

Returns
Type Description
AccessTuple|null

hasAccessTuple

clearAccessTuple

setAccessTuple

The access tuple from the request, including any provided context used to evaluate the condition.

Parameter
Name Description
var AccessTuple
Returns
Type Description
$this

getAllowPolicyExplanation

An explanation of how the applicable IAM allow policies affect the final access state.

Returns
Type Description
AllowPolicyExplanation|null

hasAllowPolicyExplanation

clearAllowPolicyExplanation

setAllowPolicyExplanation

An explanation of how the applicable IAM allow policies affect the final access state.

Parameter
Name Description
var AllowPolicyExplanation
Returns
Type Description
$this

getDenyPolicyExplanation

An explanation of how the applicable IAM deny policies affect the final access state.

Returns
Type Description
DenyPolicyExplanation|null

hasDenyPolicyExplanation

clearDenyPolicyExplanation

setDenyPolicyExplanation

An explanation of how the applicable IAM deny policies affect the final access state.

Parameter
Name Description
var DenyPolicyExplanation
Returns
Type Description
$this