# Google API Common Protos Client - Class Link (4.14.0)

4.14.0 (latest) 4.13.0 4.12.5 4.11.0 4.10.0 4.9.0 4.8.3 Reference documentation and code samples for the Google API Common Protos Client class Link.

Describes a URL link.

Generated from protobuf message `google.rpc.Help.Link`

## Namespace

Google \\ Rpc \\ Help

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ description` | `string` Describes what the link offers. |
| `↳ url` | `string` The URL of the link. |

### getDescription

Describes what the link offers.

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

### setDescription

Describes what the link offers.

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

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

### getUrl

The URL of the link.

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

### setUrl

The URL of the link.

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

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