# Google Cloud Advisory Notifications V1 Client - Class Attachment (1.2.4)

1.2.4 (latest) 1.2.3 1.1.1 1.0.3 0.8.3 0.7.0 0.6.0 0.5.1 0.4.0 0.3.2 0.2.1 0.1.0 Reference documentation and code samples for the Google Cloud Advisory Notifications V1 Client class Attachment.

Attachment with specific information about the issue.

Generated from protobuf message `google.cloud.advisorynotifications.v1.Attachment`

## Namespace

Google \\ Cloud \\ AdvisoryNotifications \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ csv` | `https://docs.cloud.google.com/php/docs/reference/cloud-advisorynotifications/latest/V1.Csv` A CSV file attachment. Max size is 10 MB. |
| `↳ display_name` | `string` The title of the attachment. |

### getCsv

A CSV file attachment. Max size is 10 MB.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-advisorynotifications/latest/V1.Csv|null` |   |

### hasCsv

### setCsv

A CSV file attachment. Max size is 10 MB.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-advisorynotifications/latest/V1.Csv` |

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

### getDisplayName

The title of the attachment.

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

### setDisplayName

The title of the attachment.

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

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

### getData

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