Google Cloud Policy Troubleshooter V1 Client - Class AnnotatedMembership (1.3.2)

Reference documentation and code samples for the Google Cloud Policy Troubleshooter V1 Client class AnnotatedMembership.

Details about whether the binding includes the principal.

Generated from protobuf message google.cloud.policytroubleshooter.v1.BindingExplanation.AnnotatedMembership

Namespace

Google \ Cloud \ PolicyTroubleshooter \ V1 \ BindingExplanation

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ membership int

Indicates whether the binding includes the principal.

↳ relevance int

The relevance of the principal's status to the overall determination for the binding.

getMembership

Indicates whether the binding includes the principal.

Returns
TypeDescription
int

setMembership

Indicates whether the binding includes the principal.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getRelevance

The relevance of the principal's status to the overall determination for the binding.

Returns
TypeDescription
int

setRelevance

The relevance of the principal's status to the overall determination for the binding.

Parameter
NameDescription
var int
Returns
TypeDescription
$this