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
Output only. 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
Google\Cloud\NetApp\V1\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}"
getName
Output only. The resource name of the Replication.
Format: projects/{project_id}/locations/{location}/volumes/{volume_id}/replications/{replication_id}
.
string
setName
Output only. 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
$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
$this
getReplicationSchedule
Required. Indicates the schedule for replication.
int
setReplicationSchedule
Required. Indicates the schedule for replication.
var
int
$this
getMirrorState
Output only. Indicates the state of mirroring.
int
setMirrorState
Output only. Indicates the state of mirroring.
var
int
$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