Cloud Dataplex v1 API - Class Asset.Types.DiscoverySpec (3.2.0)

public sealed class Asset.Types.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.

Inheritance

object > Asset.Types.DiscoverySpec

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DiscoverySpec()

public DiscoverySpec()

DiscoverySpec(DiscoverySpec)

public DiscoverySpec(Asset.Types.DiscoverySpec other)
Parameter
Name Description
other AssetTypesDiscoverySpec

Properties

CsvOptions

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

Optional. Configuration for CSV data.

Property Value
Type Description
AssetTypesDiscoverySpecTypesCsvOptions

Enabled

public bool Enabled { get; set; }

Optional. Whether discovery is enabled.

Property Value
Type Description
bool

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
Type Description
RepeatedFieldstring

HasSchedule

public bool HasSchedule { get; }

Gets whether the "schedule" field is set

Property Value
Type Description
bool

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
Type Description
RepeatedFieldstring

JsonOptions

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

Optional. Configuration for Json data.

Property Value
Type Description
AssetTypesDiscoverySpecTypesJsonOptions

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

      • *, orTZ=America/New_York 1 * * * *`.
Property Value
Type Description
string

TriggerCase

public Asset.Types.DiscoverySpec.TriggerOneofCase TriggerCase { get; }
Property Value
Type Description
AssetTypesDiscoverySpecTriggerOneofCase