# Google Cloud Net App V1 Client - Class HybridReplicationParameters (1.12.0)

1.12.0 (latest) 1.11.0 1.10.2 1.9.0 1.8.1 1.7.0 1.6.1 1.4.0 1.3.1 1.2.1 1.1.1 1.0.1 0.3.1 0.2.6 0.1.1 Reference documentation and code samples for the Google Cloud Net App V1 Client class HybridReplicationParameters.

The Hybrid Replication parameters for the volume.

Generated from protobuf message `google.cloud.netapp.v1.HybridReplicationParameters`

## Namespace

Google \\ Cloud \\ NetApp \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ replication` | `string` Required. Desired name for the replication of this volume. |
| `↳ peer_volume_name` | `string` Required. Name of the user's local source volume to be peered with the destination volume. |
| `↳ peer_cluster_name` | `string` Required. Name of the user's local source cluster to be peered with the destination cluster. |
| `↳ peer_svm_name` | `string` Required. Name of the user's local source vserver svm to be peered with the destination vserver svm. |
| `↳ peer_ip_addresses` | `string[]` Required. List of node ip addresses to be peered with. |
| `↳ cluster_location` | `string` Optional. Name of source cluster location associated with the Hybrid replication. This is a free-form field for the display purpose only. |
| `↳ description` | `string` Optional. Description of the replication. |
| `↳ labels` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` Optional. Labels to be added to the replication as the key value pairs. |
| `↳ replication_schedule` | `int` Optional. Replication Schedule for the replication created. |
| `↳ hybrid_replication_type` | `int` Optional. Type of the hybrid replication. |
| `↳ large_volume_constituent_count` | `int` Optional. Constituent volume count for large volume. |

### getReplication

Required. Desired name for the replication of this volume.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setReplication

Required. Desired name for the replication of this volume.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPeerVolumeName

Required. Name of the user's local source volume to be peered with the
destination volume.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPeerVolumeName

Required. Name of the user's local source volume to be peered with the
destination volume.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPeerClusterName

Required. Name of the user's local source cluster to be peered with the
destination cluster.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPeerClusterName

Required. Name of the user's local source cluster to be peered with the
destination cluster.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPeerSvmName

Required. Name of the user's local source vserver svm to be peered with the
destination vserver svm.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setPeerSvmName

Required. Name of the user's local source vserver svm to be peered with the
destination vserver svm.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getPeerIpAddresses

Required. List of node ip addresses to be peered with.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setPeerIpAddresses

Required. List of node ip addresses to be peered with.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string[]` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getClusterLocation

Optional. Name of source cluster location associated with the Hybrid
replication. This is a free-form field for the display purpose only.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setClusterLocation

Optional. Name of source cluster location associated with the Hybrid
replication. This is a free-form field for the display purpose only.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getDescription

Optional. Description of the replication.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### setDescription

Optional. Description of the replication.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `string` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLabels

Optional. Labels to be added to the replication as the key value pairs.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |   |

### setLabels

Optional. Labels to be added to the replication as the key value pairs.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `array|https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Internal/MapField` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getReplicationSchedule

Optional. Replication Schedule for the replication created.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [HybridReplicationSchedule](https://docs.cloud.google.com/php/docs/reference/cloud-netapp/latest/V1.HybridReplicationSchedule). |

### setReplicationSchedule

Optional. Replication Schedule for the replication created.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [HybridReplicationSchedule](https://docs.cloud.google.com/php/docs/reference/cloud-netapp/latest/V1.HybridReplicationSchedule). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getHybridReplicationType

Optional. Type of the hybrid replication.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` | Enum of type [VolumeHybridReplicationType](https://docs.cloud.google.com/php/docs/reference/cloud-netapp/latest/V1.HybridReplicationParameters.VolumeHybridReplicationType). |

### setHybridReplicationType

Optional. Type of the hybrid replication.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` Enum of type [VolumeHybridReplicationType](https://docs.cloud.google.com/php/docs/reference/cloud-netapp/latest/V1.HybridReplicationParameters.VolumeHybridReplicationType). |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |

### getLargeVolumeConstituentCount

Optional. Constituent volume count for large volume.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `int` |   |

### setLargeVolumeConstituentCount

Optional. Constituent volume count for large volume.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `int` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `$this` |   |