# Google Cloud Policy Simulator V1 Client - Class Membership (1.3.4)

1.3.4 (latest) 1.3.3 1.2.0 1.1.1 1.0.3 0.2.5 0.1.1 Reference documentation and code samples for the Google Cloud Policy Simulator V1 Client class Membership.

Whether the binding includes the principal.

Protobuf type `google.cloud.policysimulator.v1.BindingExplanation.Membership`

## Namespace

Google \\ Cloud \\ PolicySimulator \\ V1 \\ BindingExplanation

## Methods

### static::name

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `value` | `mixed` |

### static::value

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `name` | `mixed` |

## Constants

### MEMBERSHIP_UNSPECIFIED

    Value: 0

Default value. This value is unused.

Generated from protobuf enum `MEMBERSHIP_UNSPECIFIED = 0;`

### MEMBERSHIP_INCLUDED

    Value: 1

The binding includes the principal. The principal can be included
directly or indirectly. For example:

- A principal is included directly if that principal is listed in the
  binding.

- A principal is included indirectly if that principal is in a Google
  group or Google Workspace domain that is listed in the binding.

Generated from protobuf enum `MEMBERSHIP_INCLUDED = 1;`

### MEMBERSHIP_NOT_INCLUDED

    Value: 2

The binding does not include the principal.

Generated from protobuf enum `MEMBERSHIP_NOT_INCLUDED = 2;`

### MEMBERSHIP_UNKNOWN_INFO_DENIED

    Value: 3

The user who created the
[Replay](https://docs.cloud.google.com/php/docs/reference/cloud-policysimulator/latest/V1.Replay) is not
allowed to access the binding.

Generated from protobuf enum `MEMBERSHIP_UNKNOWN_INFO_DENIED = 3;`

### MEMBERSHIP_UNKNOWN_UNSUPPORTED

    Value: 4

The principal is an unsupported type. Only Google Accounts and service
accounts are supported.

Generated from protobuf enum `MEMBERSHIP_UNKNOWN_UNSUPPORTED = 4;`