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