# Google Cloud Storage Insights V1 Client - Class CSVOptions (1.4.0)

1.4.0 (latest) 1.3.3 1.2.1 1.1.0 1.0.3 0.3.5 0.2.3 0.1.1 Reference documentation and code samples for the Google Cloud Storage Insights V1 Client class CSVOptions.

Options to configure CSV formatted reports.

Generated from protobuf message `google.cloud.storageinsights.v1.CSVOptions`

## Namespace

Google \\ Cloud \\ StorageInsights \\ V1

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ record_separator` | `string` Record separator characters in CSV. |
| `↳ delimiter` | `string` Delimiter characters in CSV. |
| `↳ header_required` | `bool` If set, will include a header row in the CSV report. |

### getRecordSeparator

Record separator characters in CSV.

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

### setRecordSeparator

Record separator characters in CSV.

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

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

### getDelimiter

Delimiter characters in CSV.

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

### setDelimiter

Delimiter characters in CSV.

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

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

### getHeaderRequired

If set, will include a header row in the CSV report.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `bool` |   |

### setHeaderRequired

If set, will include a header row in the CSV report.

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

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