# Google Cloud Net App V1 Client - Class EstablishVolumePeeringRequest (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 EstablishVolumePeeringRequest.

EstablishVolumePeeringRequest establishes cluster and svm peerings between
the source and destination clusters.

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

## Namespace

Google \\ Cloud \\ NetApp \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ name` | `string` Required. The volume resource name, in the format `projects/{project_id}/locations/{location}/volumes/{volume_id}` |
| `↳ 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[]` Optional. List of IPv4 ip addresses to be used for peering. |
| `↳ peer_volume_name` | `string` Required. Name of the user's local source volume to be peered with the destination volume. |

### getName

Required. The volume resource name, in the format
`projects/{project_id}/locations/{location}/volumes/{volume_id}`

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

### setName

Required. The volume resource name, in the format
`projects/{project_id}/locations/{location}/volumes/{volume_id}`

| **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

Optional. List of IPv4 ip addresses to be used for peering.

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

### setPeerIpAddresses

Optional. List of IPv4 ip addresses to be used for peering.

| **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` |   |