Class: Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
- Inherits:
-
Object
- Object
- Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dataplex_v1/classes.rb,
lib/google/apis/dataplex_v1/representations.rb,
lib/google/apis/dataplex_v1/representations.rb
Overview
Configurations related to Cloud Storage as the data source.
Instance Attribute Summary collapse
-
#csv_options ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions
Describes CSV and similar semi-structured data formats.
-
#exclude_patterns ⇒ Array<String>
Optional.
-
#include_patterns ⇒ Array<String>
Optional.
-
#json_options ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
Describes JSON data format.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
constructor
A new instance of GoogleCloudDataplexV1DataDiscoverySpecStorageConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDataplexV1DataDiscoverySpecStorageConfig
Returns a new instance of GoogleCloudDataplexV1DataDiscoverySpecStorageConfig.
1689 1690 1691 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1689 def initialize(**args) update!(**args) end |
Instance Attribute Details
#csv_options ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigCsvOptions
Describes CSV and similar semi-structured data formats.
Corresponds to the JSON property csvOptions
1664 1665 1666 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1664 def @csv_options end |
#exclude_patterns ⇒ Array<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.
Corresponds to the JSON property excludePatterns
1673 1674 1675 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1673 def exclude_patterns @exclude_patterns end |
#include_patterns ⇒ Array<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.
Corresponds to the JSON property includePatterns
1682 1683 1684 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1682 def include_patterns @include_patterns end |
#json_options ⇒ Google::Apis::DataplexV1::GoogleCloudDataplexV1DataDiscoverySpecStorageConfigJsonOptions
Describes JSON data format.
Corresponds to the JSON property jsonOptions
1687 1688 1689 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1687 def @json_options end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1694 1695 1696 1697 1698 1699 |
# File 'lib/google/apis/dataplex_v1/classes.rb', line 1694 def update!(**args) @csv_options = args[:csv_options] if args.key?(:csv_options) @exclude_patterns = args[:exclude_patterns] if args.key?(:exclude_patterns) @include_patterns = args[:include_patterns] if args.key?(:include_patterns) @json_options = args[:json_options] if args.key?(:json_options) end |