Google Cloud Policy Troubleshooter Iam V3 Client - Class AnnotatedPermissionMatching (0.3.1)

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

Details about whether the permission in the request is denied by the deny rule.

Generated from protobuf message google.cloud.policytroubleshooter.iam.v3.DenyRuleExplanation.AnnotatedPermissionMatching

Namespace

Google \ Cloud \ PolicyTroubleshooter \ Iam \ V3 \ DenyRuleExplanation

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ permission_matching_state int

Indicates whether the permission in the request is denied by the deny rule.

↳ relevance int

The relevance of the permission status to the overall determination for the rule.

getPermissionMatchingState

Indicates whether the permission in the request is denied by the deny rule.

Returns
Type Description
int Enum of type PermissionPatternMatchingState.

setPermissionMatchingState

Indicates whether the permission in the request is denied by the deny rule.

Parameter
Name Description
var int

Enum of type PermissionPatternMatchingState.

Returns
Type Description
$this

getRelevance

The relevance of the permission status to the overall determination for the rule.

Returns
Type Description
int Enum of type HeuristicRelevance.

setRelevance

The relevance of the permission status to the overall determination for the rule.

Parameter
Name Description
var int

Enum of type HeuristicRelevance.

Returns
Type Description
$this