Class: Google::Cloud::Dataplex::V1::Asset::DiscoverySpec
- Inherits:
-
Object
- Object
- Google::Cloud::Dataplex::V1::Asset::DiscoverySpec
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/dataplex/v1/resources.rb
Overview
Settings to manage the metadata discovery and publishing for an asset.
Defined Under Namespace
Classes: CsvOptions, JsonOptions
Instance Attribute Summary collapse
-
#csv_options ⇒ ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec::CsvOptions
Optional.
-
#enabled ⇒ ::Boolean
Optional.
-
#exclude_patterns ⇒ ::Array<::String>
Optional.
-
#include_patterns ⇒ ::Array<::String>
Optional.
-
#json_options ⇒ ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec::JsonOptions
Optional.
-
#schedule ⇒ ::String
Optional.
Instance Attribute Details
#csv_options ⇒ ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec::CsvOptions
Returns Optional. Configuration for CSV data.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#enabled ⇒ ::Boolean
Returns Optional. Whether discovery is enabled.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#exclude_patterns ⇒ ::Array<::String>
Returns Optional. The list of patterns to apply for selecting data to exclude during discovery. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#include_patterns ⇒ ::Array<::String>
Returns Optional. The list of patterns to apply for selecting data to include during discovery if only a subset of the data should considered. For Cloud Storage bucket assets, these are interpreted as glob patterns used to match object names. For BigQuery dataset assets, these are interpreted as patterns to match table names.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#json_options ⇒ ::Google::Cloud::Dataplex::V1::Asset::DiscoverySpec::JsonOptions
Returns Optional. Configuration for Json data.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |
#schedule ⇒ ::String
Returns Optional. Cron schedule (https://en.wikipedia.org/wiki/Cron) for running discovery periodically. Successive discovery runs must be scheduled at least 60 minutes apart. The default value is to run discovery every 60 minutes. To explicitly set a timezone to the cron tab, apply a prefix in the cron tab: "CRON_TZ=${IANA_TIME_ZONE}" or TZ=${IANA_TIME_ZONE}". The ${IANA_TIME_ZONE} may only be a valid string from IANA time zone database. For example, `CRON_TZ=America/New_York 1
- * * *
, or
TZ=America/New_York 1 * * * *`.
633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 |
# File 'proto_docs/google/cloud/dataplex/v1/resources.rb', line 633 class DiscoverySpec include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods # Describe CSV and similar semi-structured data formats. # @!attribute [rw] header_rows # @return [::Integer] # Optional. The number of rows to interpret as header rows that should be # skipped when reading data rows. # @!attribute [rw] delimiter # @return [::String] # Optional. The delimiter being used to separate values. This defaults to # ','. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for CSV data. # If true, all columns will be registered as strings. class CsvOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end # Describe JSON data format. # @!attribute [rw] encoding # @return [::String] # Optional. The character encoding of the data. The default is UTF-8. # @!attribute [rw] disable_type_inference # @return [::Boolean] # Optional. Whether to disable the inference of data type for Json data. # If true, all columns will be registered as their primitive types # (strings, number or boolean). class JsonOptions include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end end |