Class Asset.Types.DiscoverySpec (2.1.0)

public sealed class DiscoverySpec : IMessage<Asset.Types.DiscoverySpec>, IEquatable<Asset.Types.DiscoverySpec>, IDeepCloneable<Asset.Types.DiscoverySpec>, IBufferMessage, IMessage

Settings to manage the metadata discovery and publishing for an asset.

Inheritance

Object > Asset.Types.DiscoverySpec

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DiscoverySpec()

public DiscoverySpec()

DiscoverySpec(Asset.Types.DiscoverySpec)

public DiscoverySpec(Asset.Types.DiscoverySpec other)
Parameter
NameDescription
otherAsset.Types.DiscoverySpec

Properties

CsvOptions

public Asset.Types.DiscoverySpec.Types.CsvOptions CsvOptions { get; set; }

Optional. Configuration for CSV data.

Property Value
TypeDescription
Asset.Types.DiscoverySpec.Types.CsvOptions

Enabled

public bool Enabled { get; set; }

Optional. Whether discovery is enabled.

Property Value
TypeDescription
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.

Property Value
TypeDescription
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.

Property Value
TypeDescription
RepeatedField<String>

JsonOptions

public Asset.Types.DiscoverySpec.Types.JsonOptions JsonOptions { get; set; }

Optional. Configuration for Json data.

Property Value
TypeDescription
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 * * * *".

Property Value
TypeDescription
String

TriggerCase

public Asset.Types.DiscoverySpec.TriggerOneofCase TriggerCase { get; }
Property Value
TypeDescription
Asset.Types.DiscoverySpec.TriggerOneofCase