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 \ ReplicationMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
ROLE_UNSPECIFIED
Value: 0Role not set.
Generated from protobuf enum ROLE_UNSPECIFIED = 0;
ACTIVE
Value: 1The instance is the ACTIVE replication member, functions as
the replication source instance.
Generated from protobuf enum ACTIVE = 1;
STANDBY
Value: 2The instance is the STANDBY replication member, functions as
the replication destination instance.
Generated from protobuf enum STANDBY = 2;