pub struct GoogleCloudDataplexV1Task {Show 13 fields
pub create_time: Option<DateTime<Utc>>,
pub description: Option<String>,
pub display_name: Option<String>,
pub execution_spec: Option<GoogleCloudDataplexV1TaskExecutionSpec>,
pub execution_status: Option<GoogleCloudDataplexV1TaskExecutionStatus>,
pub labels: Option<HashMap<String, String>>,
pub name: Option<String>,
pub notebook: Option<GoogleCloudDataplexV1TaskNotebookTaskConfig>,
pub spark: Option<GoogleCloudDataplexV1TaskSparkTaskConfig>,
pub state: Option<String>,
pub trigger_spec: Option<GoogleCloudDataplexV1TaskTriggerSpec>,
pub uid: Option<String>,
pub update_time: Option<DateTime<Utc>>,
}
Expand description
A task represents a user-visible job.
§Activities
This type is used in activities, which are methods you may call on this type or where this type is involved in. The list links the activity name, along with information about where it is used (one of request and response).
- locations lakes tasks create projects (request)
- locations lakes tasks get projects (response)
- locations lakes tasks patch projects (request)
Fields§
§create_time: Option<DateTime<Utc>>
Output only. The time when the task was created.
description: Option<String>
Optional. Description of the task.
display_name: Option<String>
Optional. User friendly display name.
execution_spec: Option<GoogleCloudDataplexV1TaskExecutionSpec>
Required. Spec related to how a task is executed.
execution_status: Option<GoogleCloudDataplexV1TaskExecutionStatus>
Output only. Status of the latest task executions.
labels: Option<HashMap<String, String>>
Optional. User-defined labels for the task.
name: Option<String>
Output only. The relative resource name of the task, of the form: projects/{project_number}/locations/{location_id}/lakes/{lake_id}/ tasks/{task_id}.
notebook: Option<GoogleCloudDataplexV1TaskNotebookTaskConfig>
Config related to running scheduled Notebooks.
spark: Option<GoogleCloudDataplexV1TaskSparkTaskConfig>
Config related to running custom Spark tasks.
state: Option<String>
Output only. Current state of the task.
trigger_spec: Option<GoogleCloudDataplexV1TaskTriggerSpec>
Required. Spec related to how often and when a task should be triggered.
uid: Option<String>
Output only. System generated globally unique ID for the task. This ID will be different if the task is deleted and re-created with the same name.
update_time: Option<DateTime<Utc>>
Output only. The time when the task was last updated.
Trait Implementations§
Source§impl Clone for GoogleCloudDataplexV1Task
impl Clone for GoogleCloudDataplexV1Task
Source§fn clone(&self) -> GoogleCloudDataplexV1Task
fn clone(&self) -> GoogleCloudDataplexV1Task
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moreSource§impl Debug for GoogleCloudDataplexV1Task
impl Debug for GoogleCloudDataplexV1Task
Source§impl Default for GoogleCloudDataplexV1Task
impl Default for GoogleCloudDataplexV1Task
Source§fn default() -> GoogleCloudDataplexV1Task
fn default() -> GoogleCloudDataplexV1Task
Source§impl<'de> Deserialize<'de> for GoogleCloudDataplexV1Task
impl<'de> Deserialize<'de> for GoogleCloudDataplexV1Task
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
impl RequestValue for GoogleCloudDataplexV1Task
impl ResponseResult for GoogleCloudDataplexV1Task
Auto Trait Implementations§
impl Freeze for GoogleCloudDataplexV1Task
impl RefUnwindSafe for GoogleCloudDataplexV1Task
impl Send for GoogleCloudDataplexV1Task
impl Sync for GoogleCloudDataplexV1Task
impl Unpin for GoogleCloudDataplexV1Task
impl UnwindSafe for GoogleCloudDataplexV1Task
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more