Cloud Dataplex v1 API - Class Zone.Types.DiscoverySpec (2.8.0)

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

Reference documentation and code samples for the Cloud Dataplex v1 API class Zone.Types.DiscoverySpec.

Settings to manage the metadata discovery and publishing in a zone.

Inheritance

object > Zone.Types.DiscoverySpec

Namespace

Google.Cloud.Dataplex.V1

Assembly

Google.Cloud.Dataplex.V1.dll

Constructors

DiscoverySpec()

public DiscoverySpec()

DiscoverySpec(DiscoverySpec)

public DiscoverySpec(Zone.Types.DiscoverySpec other)
Parameter
NameDescription
otherZoneTypesDiscoverySpec

Properties

CsvOptions

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

Optional. Configuration for CSV data.

Property Value
TypeDescription
ZoneTypesDiscoverySpecTypesCsvOptions

Enabled

public bool Enabled { get; set; }

Required. Whether discovery is enabled.

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

HasSchedule

public bool HasSchedule { get; }

Gets whether the "schedule" field is set

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

JsonOptions

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

Optional. Configuration for Json data.

Property Value
TypeDescription
ZoneTypesDiscoverySpecTypesJsonOptions

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
TypeDescription
string

TriggerCase

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