# Google Cloud Filestore V1 Client - Class Role (2.2.3)

2.2.3 (latest) 2.2.2 2.1.1 2.0.4 1.5.7 1.4.0 1.3.2 1.2.1 1.1.2 1.0.3 Reference documentation and code samples for the Google Cloud Filestore V1 Client class Role.

Replication role.

Protobuf type `google.cloud.filestore.v1.Replication.Role`

## Namespace

Google \\ Cloud \\ Filestore \\ V1 \\ Replication

## Methods

### static::name

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

### static::value

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

## Constants

### ROLE_UNSPECIFIED

    Value: 0

Role not set.

Generated from protobuf enum `ROLE_UNSPECIFIED = 0;`

### ACTIVE

    Value: 1

The instance is the `ACTIVE` replication member, functions as
the replication source instance.

Generated from protobuf enum `ACTIVE = 1;`

### STANDBY

    Value: 2

The instance is the `STANDBY` replication member, functions as
the replication destination instance.

Generated from protobuf enum `STANDBY = 2;`