public sealed class DiscoverySpec : IMessage<Asset.Types.DiscoverySpec>, IEquatable<Asset.Types.DiscoverySpec>, IDeepCloneable<Asset.Types.DiscoverySpec>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Dataplex v1 API class Asset.Types.DiscoverySpec.
Settings to manage the metadata discovery and publishing for an asset.
Implements
IMessage<Asset.Types.DiscoverySpec>, IEquatable<Asset.Types.DiscoverySpec>, IDeepCloneable<Asset.Types.DiscoverySpec>, IBufferMessage, IMessageNamespace
Google.Cloud.Dataplex.V1Assembly
Google.Cloud.Dataplex.V1.dll
Constructors
DiscoverySpec()
public DiscoverySpec()
DiscoverySpec(Asset.Types.DiscoverySpec)
public DiscoverySpec(Asset.Types.DiscoverySpec other)
Name | Description |
other | Asset.Types.DiscoverySpec |
Properties
CsvOptions
public Asset.Types.DiscoverySpec.Types.CsvOptions CsvOptions { get; set; }
Optional. Configuration for CSV data.
Type | Description |
Asset.Types.DiscoverySpec.Types.CsvOptions |
Enabled
public bool Enabled { get; set; }
Optional. Whether discovery is enabled.
Type | Description |
Boolean |
ExcludePatterns
public RepeatedField<string> ExcludePatterns { get; }
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.
Type | Description |
RepeatedField<String> |
IncludePatterns
public RepeatedField<string> IncludePatterns { get; }
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.
Type | Description |
RepeatedField<String> |
JsonOptions
public Asset.Types.DiscoverySpec.Types.JsonOptions JsonOptions { get; set; }
Optional. Configuration for Json data.
Type | Description |
Asset.Types.DiscoverySpec.Types.JsonOptions |
Schedule
public string Schedule { get; set; }
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 * * * *".
Type | Description |
String |
TriggerCase
public Asset.Types.DiscoverySpec.TriggerOneofCase TriggerCase { get; }
Type | Description |
Asset.Types.DiscoverySpec.TriggerOneofCase |