Reference documentation and code samples for the Google Cloud Policy Troubleshooter Iam V3 Client class AnnotatedAllowMembership.
Details about whether the role binding includes the principal.
Generated from protobuf message google.cloud.policytroubleshooter.iam.v3.AllowBindingExplanation.AnnotatedAllowMembership
Namespace
Google \ Cloud \ PolicyTroubleshooter \ Iam \ V3 \ AllowBindingExplanationMethods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ membership |
int
Indicates whether the role binding includes the principal. |
↳ relevance |
int
The relevance of the principal's status to the overall determination for the role binding. |
getMembership
Indicates whether the role binding includes the principal.
Returns | |
---|---|
Type | Description |
int |
setMembership
Indicates whether the role binding includes the principal.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |
getRelevance
The relevance of the principal's status to the overall determination for the role binding.
Returns | |
---|---|
Type | Description |
int |
setRelevance
The relevance of the principal's status to the overall determination for the role binding.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |