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

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

getAccessTuple

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\PolicyTroubleshooter\Iam\V3\AccessTuple
Returns
TypeDescription
$this

getAllowPolicyExplanation

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\PolicyTroubleshooter\Iam\V3\AllowPolicyExplanation
Returns
TypeDescription
$this

getDenyPolicyExplanation

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

Returns
TypeDescription
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
NameDescription
var Google\Cloud\PolicyTroubleshooter\Iam\V3\DenyPolicyExplanation
Returns
TypeDescription
$this