# Attachment

- [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#SCHEMA_REPRESENTATION)
- [Csv](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv)
  - [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv.SCHEMA_REPRESENTATION)
- [CsvRow](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow)
  - [JSON representation](https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow.SCHEMA_REPRESENTATION)

Attachment with application-specific information about an alert.

| JSON representation |
|---|
| ``` { "csv": { object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv`) } } ``` |

| Fields ||
|---|---|
| Union field `data`. Data type of the attachment. `data` can be only one of the following: ||
| `csv` | ``object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#Csv`)`` A CSV file attachment. |

## Csv

A representation of a CSV file attachment, as a list of column headers and a list of data rows.

| JSON representation |
|---|
| ``` { "headers": [ string ], "dataRows": [ { object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow`) } ] } ``` |

| Fields ||
|---|---|
| `headers[]` | `string` The list of headers for data columns in a CSV file. |
| `dataRows[]` | ``object (`https://developers.google.com/workspace/admin/alertcenter/reference/rest/v1beta1/Attachment#CsvRow`)`` The list of data rows in a CSV file, as string arrays rather than as a single comma-separated string. |

## CsvRow

A representation of a single data row in a CSV file.

| JSON representation |
|---|
| ``` { "entries": [ string ] } ``` |

| Fields ||
|---|---|
| `entries[]` | `string` The data entries in a CSV file row, as a string array rather than a single comma-separated string. |