# Google Cloud Dataplex V1 Client - Class StorageConfig (1.14.0)

1.14.0 (latest) 1.13.0 1.12.0 1.11.0 1.10.0 1.9.1 1.8.0 1.7.1 1.6.1 1.4.0 1.3.0 1.2.1 1.1.1 1.0.1 0.16.1 0.15.1 0.14.0 0.13.0 0.12.0 0.11.1 0.10.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.1 0.4.0 0.3.0 0.2.3 0.1.6 Reference documentation and code samples for the Google Cloud Dataplex V1 Client class StorageConfig.

Configurations related to Cloud Storage as the data source.

Generated from protobuf message `google.cloud.dataplex.v1.DataDiscoverySpec.StorageConfig`

## Namespace

Google \\ Cloud \\ Dataplex \\ V1 \\ DataDiscoverySpec

## Methods

### __construct

Constructor.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `data` | `array` Optional. Data for populating the Message object. |
| `↳ include_patterns` | `string[]` Optional. Defines the data to include during discovery when only a subset of the data should be considered. Provide a list of patterns that identify the data to include. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names. |
| `↳ exclude_patterns` | `string[]` Optional. Defines the data to exclude during discovery. Provide a list of patterns that identify the data to exclude. For Cloud Storage bucket assets, these patterns are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these patterns are interpreted as patterns to match table names. |
| `↳ csv_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.CsvOptions` Optional. Configuration for CSV data. |
| `↳ json_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.JsonOptions` Optional. Configuration for JSON data. |
| `↳ unstructured_data_options` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.UnstructuredDataOptions` Optional. Specifies configuration for unstructured data discovery. |

### getIncludePatterns

Optional. Defines the data to include during discovery when only a subset
of the data should be considered. Provide a list of patterns that
identify the data to include. For Cloud Storage bucket assets, these
patterns are interpreted as glob patterns used to match object names. For
BigQuery dataset assets, these patterns are interpreted as patterns to
match table names.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setIncludePatterns

Optional. Defines the data to include during discovery when only a subset
of the data should be considered. Provide a list of patterns that
identify the data to include. For Cloud Storage bucket assets, these
patterns are interpreted as glob patterns used to match object names. For
BigQuery dataset assets, these patterns are interpreted as patterns to
match table names.

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

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

### getExcludePatterns

Optional. Defines the data to exclude during discovery. Provide a list of
patterns that identify the data to exclude. For Cloud Storage bucket
assets, these patterns are interpreted as glob patterns used to match
object names. For BigQuery dataset assets, these patterns are interpreted
as patterns to match table names.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://protobuf.dev/reference/php/api-docs/Google/Protobuf/RepeatedField<string>` |   |

### setExcludePatterns

Optional. Defines the data to exclude during discovery. Provide a list of
patterns that identify the data to exclude. For Cloud Storage bucket
assets, these patterns are interpreted as glob patterns used to match
object names. For BigQuery dataset assets, these patterns are interpreted
as patterns to match table names.

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

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

### getCsvOptions

Optional. Configuration for CSV data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.CsvOptions|null` |   |

### hasCsvOptions

### clearCsvOptions

### setCsvOptions

Optional. Configuration for CSV data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.CsvOptions` |

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

### getJsonOptions

Optional. Configuration for JSON data.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.JsonOptions|null` |   |

### hasJsonOptions

### clearJsonOptions

### setJsonOptions

Optional. Configuration for JSON data.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.JsonOptions` |

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

### getUnstructuredDataOptions

Optional. Specifies configuration for unstructured data discovery.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.UnstructuredDataOptions|null` |   |

### hasUnstructuredDataOptions

### clearUnstructuredDataOptions

### setUnstructuredDataOptions

Optional. Specifies configuration for unstructured data discovery.

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `var` | `https://docs.cloud.google.com/php/docs/reference/cloud-dataplex/latest/V1.DataDiscoverySpec.StorageConfig.UnstructuredDataOptions` |

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