Class DiscoverySpec (2.11.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
DiscoverySpec ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Attributes
Name
Description
enabled
bool
Optional. Whether discovery is enabled.
include_patterns
MutableSequence[str]
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.
exclude_patterns
MutableSequence[str]
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.
csv_options
google.cloud.dataplex_v1.types.Asset.DiscoverySpec.CsvOptions
Optional. Configuration for CSV data.
json_options
google.cloud.dataplex_v1.types.Asset.DiscoverySpec.JsonOptions
Optional. Configuration for Json data.
schedule
str
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 * * * *
.
This field is a member of oneof
_ trigger
.
Classes
CsvOptions
CsvOptions ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Describe CSV and similar semi-structured data formats.
JsonOptions
JsonOptions ( mapping = None , * , ignore_unknown_fields = False , ** kwargs )
Describe JSON data format.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-28 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class DiscoverySpec (2.11.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.11.0 (latest)](/python/docs/reference/dataplex/latest/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.10.2](/python/docs/reference/dataplex/2.10.2/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.9.0](/python/docs/reference/dataplex/2.9.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.8.0](/python/docs/reference/dataplex/2.8.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.7.1](/python/docs/reference/dataplex/2.7.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.6.0](/python/docs/reference/dataplex/2.6.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.5.0](/python/docs/reference/dataplex/2.5.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.4.0](/python/docs/reference/dataplex/2.4.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.3.1](/python/docs/reference/dataplex/2.3.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.2.2](/python/docs/reference/dataplex/2.2.2/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.1.0](/python/docs/reference/dataplex/2.1.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [2.0.1](/python/docs/reference/dataplex/2.0.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.13.0](/python/docs/reference/dataplex/1.13.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.12.3](/python/docs/reference/dataplex/1.12.3/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.11.0](/python/docs/reference/dataplex/1.11.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.10.0](/python/docs/reference/dataplex/1.10.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.9.0](/python/docs/reference/dataplex/1.9.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.8.1](/python/docs/reference/dataplex/1.8.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.7.0](/python/docs/reference/dataplex/1.7.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.6.2](/python/docs/reference/dataplex/1.6.2/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.5.1](/python/docs/reference/dataplex/1.5.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.4.3](/python/docs/reference/dataplex/1.4.3/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.3.0](/python/docs/reference/dataplex/1.3.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.2.0](/python/docs/reference/dataplex/1.2.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.1.3](/python/docs/reference/dataplex/1.1.3/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [1.0.1](/python/docs/reference/dataplex/1.0.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [0.2.1](/python/docs/reference/dataplex/0.2.1/google.cloud.dataplex_v1.types.Asset.DiscoverySpec)\n- [0.1.0](/python/docs/reference/dataplex/0.1.0/google.cloud.dataplex_v1.types.Asset.DiscoverySpec) \n\n DiscoverySpec(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nSettings to manage the metadata discovery and publishing for\nan asset.\n\n.. _oneof: \u003chttps://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields\u003e\n\nClasses\n-------\n\n### CsvOptions\n\n CsvOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDescribe CSV and similar semi-structured data formats.\n\n### JsonOptions\n\n JsonOptions(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nDescribe JSON data format."]]