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

HybridPeeringDetails contains details about the hybrid peering.

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

## Namespace

Google \\ Cloud \\ NetApp \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ subnet_ip` | `string` Output only. IP address of the subnet. |
| `↳ command` | `string` Output only. Copy-paste-able commands to be used on user's ONTAP to accept peering requests. |
| `↳ command_expiry_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Expiration time for the peering command to be executed on user's ONTAP. |
| `↳ passphrase` | `string` Output only. Temporary passphrase generated to accept cluster peering command. |
| `↳ peer_volume_name` | `string` Output only. Name of the user's local source volume to be peered with the destination volume. |
| `↳ peer_cluster_name` | `string` Output only. Name of the user's local source cluster to be peered with the destination cluster. |
| `↳ peer_svm_name` | `string` Output only. Name of the user's local source vserver svm to be peered with the destination vserver svm. |

### getSubnetIp

Output only. IP address of the subnet.

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

### setSubnetIp

Output only. IP address of the subnet.

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

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

### getCommand

Output only. Copy-paste-able commands to be used on user's ONTAP to accept
peering requests.

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

### setCommand

Output only. Copy-paste-able commands to be used on user's ONTAP to accept
peering requests.

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

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

### getCommandExpiryTime

Output only. Expiration time for the peering command to be executed on
user's ONTAP.

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

### hasCommandExpiryTime

### clearCommandExpiryTime

### setCommandExpiryTime

Output only. Expiration time for the peering command to be executed on
user's ONTAP.

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

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

### getPassphrase

Output only. Temporary passphrase generated to accept cluster peering
command.

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

### setPassphrase

Output only. Temporary passphrase generated to accept cluster peering
command.

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

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

### getPeerVolumeName

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

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

### setPeerVolumeName

Output only. 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

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

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

### setPeerClusterName

Output only. 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

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

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

### setPeerSvmName

Output only. 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` |   |