Google Cloud Dataplex V1 Client - Class StorageConfig (1.1.0)

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 array

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 array

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 StorageConfig\CsvOptions

Optional. Configuration for CSV data.

↳ json_options StorageConfig\JsonOptions

Optional. Configuration for JSON data.

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
Google\Protobuf\Internal\RepeatedField

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
Google\Protobuf\Internal\RepeatedField

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
StorageConfig\CsvOptions|null

hasCsvOptions

clearCsvOptions

setCsvOptions

Optional. Configuration for CSV data.

Parameter
Name Description
var StorageConfig\CsvOptions
Returns
Type Description
$this

getJsonOptions

Optional. Configuration for JSON data.

Returns
Type Description
StorageConfig\JsonOptions|null

hasJsonOptions

clearJsonOptions

setJsonOptions

Optional. Configuration for JSON data.

Parameter
Name Description
var StorageConfig\JsonOptions
Returns
Type Description
$this