Struct google_api_proto::google::cloud::dataplex::v1::DataScanJob
source · pub struct DataScanJob {
pub name: String,
pub uid: String,
pub start_time: Option<Timestamp>,
pub end_time: Option<Timestamp>,
pub state: i32,
pub message: String,
pub type: i32,
pub spec: Option<Spec>,
pub result: Option<Result>,
}
Expand description
A DataScanJob represents an instance of DataScan execution.
Fields§
§name: String
Output only. The relative resource name of the DataScanJob, of the form:
projects/{project}/locations/{location_id}/dataScans/{datascan_id}/jobs/{job_id}
,
where project
refers to a project_id or project_number and
location_id
refers to a GCP region.
uid: String
Output only. System generated globally unique ID for the DataScanJob.
start_time: Option<Timestamp>
Output only. The time when the DataScanJob was started.
end_time: Option<Timestamp>
Output only. The time when the DataScanJob ended.
state: i32
Output only. Execution state for the DataScanJob.
message: String
Output only. Additional information about the current state.
type: i32
Output only. The type of the parent DataScan.
spec: Option<Spec>
Data Scan related setting.
result: Option<Result>
The result of the data scan.
Implementations§
source§impl DataScanJob
impl DataScanJob
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 type(&self) -> DataScanType
pub fn type(&self) -> DataScanType
Returns the enum value of type
, or the default if the field is set to an invalid enum value.
sourcepub fn set_type(&mut self, value: DataScanType)
pub fn set_type(&mut self, value: DataScanType)
Sets type
to the provided enum value.
Trait Implementations§
source§impl Clone for DataScanJob
impl Clone for DataScanJob
source§fn clone(&self) -> DataScanJob
fn clone(&self) -> DataScanJob
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for DataScanJob
impl Debug for DataScanJob
source§impl Default for DataScanJob
impl Default for DataScanJob
source§impl Message for DataScanJob
impl Message for DataScanJob
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 DataScanJob
impl PartialEq for DataScanJob
source§fn eq(&self, other: &DataScanJob) -> bool
fn eq(&self, other: &DataScanJob) -> bool
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for DataScanJob
Auto Trait Implementations§
impl Freeze for DataScanJob
impl RefUnwindSafe for DataScanJob
impl Send for DataScanJob
impl Sync for DataScanJob
impl Unpin for DataScanJob
impl UnwindSafe for DataScanJob
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