Google Cloud Filestore V1 Client - Class Role (2.1.0)

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;