# Google Cloud Network Security V1 Client - Class PairingKey (1.4.0)

1.4.0 (latest) 1.3.0 1.2.3 1.1.0 1.0.4 0.6.5 0.5.2 0.4.1 0.3.7 Reference documentation and code samples for the Google Cloud Network Security V1 Client class PairingKey.

Key to be shared with SSE service provider to establish global handshake.

Generated from protobuf message `google.cloud.networksecurity.v1.SACRealm.PairingKey`

## Namespace

Google \\ Cloud \\ NetworkSecurity \\ V1 \\ SACRealm

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ key` | `string` Output only. Key value. |
| `↳ expire_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` Output only. Timestamp in UTC of when this resource is considered expired. It expires 7 days after creation. |

### getKey

Output only. Key value.

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

### setKey

Output only. Key value.

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

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

### getExpireTime

Output only. Timestamp in UTC of when this resource is considered
expired. It expires 7 days after creation.

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

### hasExpireTime

### clearExpireTime

### setExpireTime

Output only. Timestamp in UTC of when this resource is considered
expired. It expires 7 days after creation.

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

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