# Google Cloud Dms V1 Client - Class SqlAclEntry (2.1.3)

2.1.3 (latest) 2.1.2 2.0.6 1.5.5 1.4.2 1.3.0 1.2.1 1.1.0 1.0.5 Reference documentation and code samples for the Google Cloud Dms V1 Client class SqlAclEntry.

An entry for an Access Control list.

Generated from protobuf message `google.cloud.clouddms.v1.SqlAclEntry`

## Namespace

Google \\ Cloud \\ CloudDms \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ value` | `string` The allowlisted value for the access control list. |
| `↳ expire_time` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Timestamp` The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example: `2012-11-15T16:19:00.094Z`. |
| `↳ ttl` | `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/Duration` Input only. The time-to-leave of this access control entry. |
| `↳ label` | `string` A label to identify this entry. |

### getValue

The allowlisted value for the access control list.

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

### setValue

The allowlisted value for the access control list.

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

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

### getExpireTime

The time when this access control entry expires in
[RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example:
`2012-11-15T16:19:00.094Z`.

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

### hasExpireTime

### setExpireTime

The time when this access control entry expires in
[RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example:
`2012-11-15T16:19:00.094Z`.

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

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

### getTtl

Input only. The time-to-leave of this access control entry.

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

### hasTtl

### setTtl

Input only. The time-to-leave of this access control entry.

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

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

### getLabel

A label to identify this entry.

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

### setLabel

A label to identify this entry.

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

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

### getExpiration

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