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

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 Google\Cloud\PolicyTroubleshooter\Iam\V3\AccessTuple

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

↳ allow_policy_explanation Google\Cloud\PolicyTroubleshooter\Iam\V3\AllowPolicyExplanation

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

↳ deny_policy_explanation Google\Cloud\PolicyTroubleshooter\Iam\V3\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
Google\Cloud\PolicyTroubleshooter\Iam\V3\AccessTuple|null

hasAccessTuple

clearAccessTuple

setAccessTuple

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

Parameter
Name Description
var Google\Cloud\PolicyTroubleshooter\Iam\V3\AccessTuple
Returns
Type Description
$this

getAllowPolicyExplanation

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

Returns
Type Description
Google\Cloud\PolicyTroubleshooter\Iam\V3\AllowPolicyExplanation|null

hasAllowPolicyExplanation

clearAllowPolicyExplanation

setAllowPolicyExplanation

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

Parameter
Name Description
var Google\Cloud\PolicyTroubleshooter\Iam\V3\AllowPolicyExplanation
Returns
Type Description
$this

getDenyPolicyExplanation

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

Returns
Type Description
Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyPolicyExplanation|null

hasDenyPolicyExplanation

clearDenyPolicyExplanation

setDenyPolicyExplanation

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

Parameter
Name Description
var Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyPolicyExplanation
Returns
Type Description
$this