Struct google_api_proto::google::cloud::dataplex::v1::DataScanEvent
source · pub struct DataScanEvent {Show 14 fields
pub data_source: String,
pub job_id: String,
pub create_time: Option<Timestamp>,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub type: i32,
pub state: i32,
pub message: String,
pub spec_version: String,
pub trigger: i32,
pub scope: i32,
pub post_scan_actions_result: Option<PostScanActionsResult>,
pub result: Option<Result>,
pub applied_configs: Option<AppliedConfigs>,
}
Expand description
These messages contain information about the execution of a datascan. The monitored resource is ‘DataScan’ Next ID: 13
Fields§
§data_source: String
The data source of the data scan
job_id: String
The identifier of the specific data scan job this log entry is for.
create_time: Option<Timestamp>
The time when the data scan job was created.
start_time: Option<Timestamp>
The time when the data scan job started to run.
end_time: Option<Timestamp>
The time when the data scan job finished.
type: i32
The type of the data scan.
state: i32
The status of the data scan job.
message: String
The message describing the data scan job event.
spec_version: String
A version identifier of the spec which was used to execute this job.
trigger: i32
The trigger type of the data scan job.
scope: i32
The scope of the data scan (e.g. full, incremental).
post_scan_actions_result: Option<PostScanActionsResult>
The result of post scan actions.
result: Option<Result>
The result of the data scan job.
applied_configs: Option<AppliedConfigs>
The applied configs in the data scan job.
Implementations§
source§impl DataScanEvent
impl DataScanEvent
sourcepub fn type(&self) -> ScanType
pub fn type(&self) -> ScanType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn state(&self) -> State
pub fn state(&self) -> State
Returns the enum value of state
, or the default if the field is set to an invalid enum value.
sourcepub fn trigger(&self) -> Trigger
pub fn trigger(&self) -> Trigger
Returns the enum value of trigger
, or the default if the field is set to an invalid enum value.
sourcepub fn set_trigger(&mut self, value: Trigger)
pub fn set_trigger(&mut self, value: Trigger)
Sets trigger
to the provided enum value.
Trait Implementations§
source§impl Clone for DataScanEvent
impl Clone for DataScanEvent
source§fn clone(&self) -> DataScanEvent
fn clone(&self) -> DataScanEvent
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataScanEvent
impl Debug for DataScanEvent
source§impl Default for DataScanEvent
impl Default for DataScanEvent
source§impl Message for DataScanEvent
impl Message for DataScanEvent
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 DataScanEvent
impl PartialEq for DataScanEvent
source§fn eq(&self, other: &DataScanEvent) -> bool
fn eq(&self, other: &DataScanEvent) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataScanEvent
Auto Trait Implementations§
impl Freeze for DataScanEvent
impl RefUnwindSafe for DataScanEvent
impl Send for DataScanEvent
impl Sync for DataScanEvent
impl Unpin for DataScanEvent
impl UnwindSafe for DataScanEvent
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