Google Cloud Filestore V1 Client - Class Replication (2.1.1)

Reference documentation and code samples for the Google Cloud Filestore V1 Client class Replication.

Replication specifications.

Generated from protobuf message google.cloud.filestore.v1.Replication

Namespace

Google \ Cloud \ Filestore \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ role
int

Optional. The replication role.

↳ replicas
array< ReplicaConfig >

Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

getRole

Optional. The replication role.

Returns
Type
Description
int

setRole

Optional. The replication role.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getReplicas

Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

Returns
Type
Description

setReplicas

Optional. Replication configuration for the replica instance associated with this instance. Only a single replica is supported.

Parameter
Name
Description
var
array< ReplicaConfig >
Returns
Type
Description
$this
Create a Mobile Website
View Site in Mobile | Classic
Share by: