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 \ V1Methods
__construct
Constructor.
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
↳ destination_volume
string
Output only. Full name of destination volume resource. Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
↳ transfer_stats
↳ labels
↳ description
string
A description about this replication relationship.
↳ 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
↳ cluster_location
string
Optional. Location of the user cluster.
↳ hybrid_replication_type
int
Output only. Type of the hybrid replication.
↳ hybrid_replication_user_commands
UserCommands
Output only. Copy pastable snapmirror commands to be executed on onprem cluster by the customer.
getName
Identifier. The resource name of the Replication.
Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}
.
string
setName
Identifier. The resource name of the Replication.
Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}
.
var
string
$this
getState
Output only. State of the replication.
int
setState
Output only. State of the replication.
var
int
Enum of type State .
$this
getStateDetails
Output only. State details of the replication.
string
setStateDetails
Output only. State details of the replication.
var
string
$this
getRole
Output only. Indicates whether this points to source or destination.
int
setRole
Output only. Indicates whether this points to source or destination.
var
int
Enum of type ReplicationRole .
$this
getReplicationSchedule
Required. Indicates the schedule for replication.
int
setReplicationSchedule
Required. Indicates the schedule for replication.
var
int
Enum of type ReplicationSchedule .
$this
getMirrorState
Output only. Indicates the state of mirroring.
int
setMirrorState
Output only. Indicates the state of mirroring.
var
int
Enum of type MirrorState .
$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.
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.
var
bool
$this
getCreateTime
Output only. Replication create time.
hasCreateTime
clearCreateTime
setCreateTime
Output only. Replication create time.
$this
getDestinationVolume
Output only. Full name of destination volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string
setDestinationVolume
Output only. Full name of destination volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
var
string
$this
getTransferStats
Output only. Replication transfer statistics.
hasTransferStats
clearTransferStats
setTransferStats
Output only. Replication transfer statistics.
$this
getLabels
Resource labels to represent user provided metadata.
setLabels
Resource labels to represent user provided metadata.
$this
getDescription
A description about this replication relationship.
string
hasDescription
clearDescription
setDescription
A description about this replication relationship.
var
string
$this
getDestinationVolumeParameters
Required. Input only. Destination volume parameters
hasDestinationVolumeParameters
clearDestinationVolumeParameters
setDestinationVolumeParameters
Required. Input only. Destination volume parameters
$this
getSourceVolume
Output only. Full name of source volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
string
setSourceVolume
Output only. Full name of source volume resource.
Example : "projects/{project}/locations/{location}/volumes/{volume_id}"
var
string
$this
getHybridPeeringDetails
Output only. Hybrid peering details.
hasHybridPeeringDetails
clearHybridPeeringDetails
setHybridPeeringDetails
Output only. Hybrid peering details.
$this
getClusterLocation
Optional. Location of the user cluster.
string
setClusterLocation
Optional. Location of the user cluster.
var
string
$this
getHybridReplicationType
Output only. Type of the hybrid replication.
int
setHybridReplicationType
Output only. Type of the hybrid replication.
var
int
Enum of type HybridReplicationType .
$this
getHybridReplicationUserCommands
Output only. Copy pastable snapmirror commands to be executed on onprem cluster by the customer.
hasHybridReplicationUserCommands
clearHybridReplicationUserCommands
setHybridReplicationUserCommands
Output only. Copy pastable snapmirror commands to be executed on onprem cluster by the customer.
$this