Google Cloud Net App V1 Client - Class Replication (1.6.1)

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

Replication is a nested resource under Volume, that describes a cross-region replication relationship between 2 volumes in different regions.

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

Namespace

Google \ Cloud \ NetApp \ V1

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ name
string

Identifier. The resource name of the Replication. Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id} .

↳ state
int

Output only. State of the replication.

↳ state_details
string

Output only. State details of the replication.

↳ role
int

Output only. Indicates whether this points to source or destination.

↳ replication_schedule
int

Required. Indicates the schedule for replication.

↳ mirror_state
int

Output only. Indicates the state of mirroring.

↳ healthy
bool

Output only. Condition of the relationship. Can be one of the following: - true: The replication relationship is healthy. It has not missed the most recent scheduled transfer. - false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.

↳ create_time
Google\Protobuf\Timestamp

Output only. Replication create time.

↳ destination_volume
string

Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

↳ transfer_stats
TransferStats

Output only. Replication transfer statistics.

↳ labels
array| Google\Protobuf\Internal\MapField

Resource labels to represent user provided metadata.

↳ description
string

A description about this replication relationship.

↳ destination_volume_parameters
DestinationVolumeParameters

Required. Input only. Destination volume parameters

↳ source_volume
string

Output only. Full name of source volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

↳ hybrid_peering_details
HybridPeeringDetails

Output only. Hybrid peering details.

↳ cluster_location
string

Optional. Location of the user cluster.

↳ hybrid_replication_type
int

Output only. Type of the hybrid replication.

getName

Identifier. The resource name of the Replication.

Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id} .

Returns
Type
Description
string

setName

Identifier. The resource name of the Replication.

Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id} .

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getState

Output only. State of the replication.

Returns
Type
Description
int

setState

Output only. State of the replication.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getStateDetails

Output only. State details of the replication.

Returns
Type
Description
string

setStateDetails

Output only. State details of the replication.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getRole

Output only. Indicates whether this points to source or destination.

Returns
Type
Description
int

setRole

Output only. Indicates whether this points to source or destination.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getReplicationSchedule

Required. Indicates the schedule for replication.

Returns
Type
Description
int

setReplicationSchedule

Required. Indicates the schedule for replication.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getMirrorState

Output only. Indicates the state of mirroring.

Returns
Type
Description
int

setMirrorState

Output only. Indicates the state of mirroring.

Parameter
Name
Description
var
int
Returns
Type
Description
$this

getHealthy

Output only. Condition of the relationship. Can be one of the following:

  • true: The replication relationship is healthy. It has not missed the most recent scheduled transfer.

  • false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.

Returns
Type
Description
bool

hasHealthy

clearHealthy

setHealthy

Output only. Condition of the relationship. Can be one of the following:

  • true: The replication relationship is healthy. It has not missed the most recent scheduled transfer.

  • false: The replication relationship is not healthy. It has missed the most recent scheduled transfer.

Parameter
Name
Description
var
bool
Returns
Type
Description
$this

getCreateTime

Output only. Replication create time.

Returns
Type
Description

hasCreateTime

clearCreateTime

setCreateTime

Output only. Replication create time.

Parameter
Name
Description
Returns
Type
Description
$this

getDestinationVolume

Output only. Full name of destination volume resource.

Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

Returns
Type
Description
string

setDestinationVolume

Output only. Full name of destination volume resource.

Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getTransferStats

Output only. Replication transfer statistics.

Returns
Type
Description

hasTransferStats

clearTransferStats

setTransferStats

Output only. Replication transfer statistics.

Parameter
Name
Description
Returns
Type
Description
$this

getLabels

Resource labels to represent user provided metadata.

Returns
Type
Description

setLabels

Resource labels to represent user provided metadata.

Parameter
Name
Description
Returns
Type
Description
$this

getDescription

A description about this replication relationship.

Returns
Type
Description
string

hasDescription

clearDescription

setDescription

A description about this replication relationship.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getDestinationVolumeParameters

Required. Input only. Destination volume parameters

Returns
Type
Description

hasDestinationVolumeParameters

clearDestinationVolumeParameters

setDestinationVolumeParameters

Required. Input only. Destination volume parameters

Parameter
Name
Description
Returns
Type
Description
$this

getSourceVolume

Output only. Full name of source volume resource.

Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

Returns
Type
Description
string

setSourceVolume

Output only. Full name of source volume resource.

Example : "projects/{project}/locations/{location}/volumes/{volume_id}"

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getHybridPeeringDetails

Output only. Hybrid peering details.

Returns
Type
Description

hasHybridPeeringDetails

clearHybridPeeringDetails

setHybridPeeringDetails

Output only. Hybrid peering details.

Parameter
Name
Description
Returns
Type
Description
$this

getClusterLocation

Optional. Location of the user cluster.

Returns
Type
Description
string

setClusterLocation

Optional. Location of the user cluster.

Parameter
Name
Description
var
string
Returns
Type
Description
$this

getHybridReplicationType

Output only. Type of the hybrid replication.

Returns
Type
Description
int

setHybridReplicationType

Output only. Type of the hybrid replication.

Parameter
Name
Description
var
int
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: