Struct google_api_proto::google::cloud::dataplex::v1::asset::DiscoverySpec
source · pub struct DiscoverySpec {
pub enabled: bool,
pub include_patterns: Vec<String>,
pub exclude_patterns: Vec<String>,
pub csv_options: Option<CsvOptions>,
pub json_options: Option<JsonOptions>,
pub trigger: Option<Trigger>,
}
Expand description
Settings to manage the metadata discovery and publishing for an asset.
Fields§
§enabled: bool
Optional. Whether discovery is enabled.
include_patterns: Vec<String>
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: Vec<String>
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: Option<CsvOptions>
Optional. Configuration for CSV data.
json_options: Option<JsonOptions>
Optional. Configuration for Json data.
trigger: Option<Trigger>
Determines when discovery is triggered.
Trait Implementations§
source§impl Clone for DiscoverySpec
impl Clone for DiscoverySpec
source§fn clone(&self) -> DiscoverySpec
fn clone(&self) -> DiscoverySpec
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DiscoverySpec
impl Debug for DiscoverySpec
source§impl Default for DiscoverySpec
impl Default for DiscoverySpec
source§impl Message for DiscoverySpec
impl Message for DiscoverySpec
source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
source§fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8>where
Self: Sized,
source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
. Read moresource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self
.source§impl PartialEq for DiscoverySpec
impl PartialEq for DiscoverySpec
source§fn eq(&self, other: &DiscoverySpec) -> bool
fn eq(&self, other: &DiscoverySpec) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DiscoverySpec
Auto Trait Implementations§
impl Freeze for DiscoverySpec
impl RefUnwindSafe for DiscoverySpec
impl Send for DiscoverySpec
impl Sync for DiscoverySpec
impl Unpin for DiscoverySpec
impl UnwindSafe for DiscoverySpec
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T
in a tonic::Request