# Google Cloud Chronicle V1 Client - Class InAppLink (0.4.0)

0.4.0 (latest) 0.3.0 0.2.3 0.1.2 Reference documentation and code samples for the Google Cloud Chronicle V1 Client class InAppLink.

In app linking start

Generated from protobuf message `google.cloud.chronicle.v1.InAppLink`

## Namespace

Google \\ Cloud \\ Chronicle \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ url` | `string` URL to redirect to. |
| `↳ label` | `string` Label for the link. |
| `↳ icon_url` | `string` Icon url for the link. |

### getUrl

URL to redirect to.

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

### setUrl

URL to redirect to.

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

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

### getLabel

Label for the link.

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

### setLabel

Label for the link.

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

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

### getIconUrl

Icon url for the link.

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

### setIconUrl

Icon url for the link.

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

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