#[non_exhaustive]pub struct AssessmentTaskDetails {
pub input_path: String,
pub output_dataset: String,
pub querylogs_path: String,
pub data_source: String,
pub feature_handle: Option<AssessmentFeatureHandle>,
/* private fields */
}Expand description
Assessment task config.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.input_path: StringRequired. The Cloud Storage path for assessment input files.
output_dataset: StringRequired. The BigQuery dataset for output.
querylogs_path: StringOptional. An optional Cloud Storage path to write the query logs (which is then used as an input path on the translation task)
data_source: StringRequired. The data source or data warehouse type (eg: TERADATA/REDSHIFT) from which the input data is extracted.
feature_handle: Option<AssessmentFeatureHandle>Optional. A collection of additional feature flags for this assessment.
Implementations§
Source§impl AssessmentTaskDetails
impl AssessmentTaskDetails
Sourcepub fn set_input_path<T: Into<String>>(self, v: T) -> Self
pub fn set_input_path<T: Into<String>>(self, v: T) -> Self
Sets the value of input_path.
§Example
ⓘ
let x = AssessmentTaskDetails::new().set_input_path("example");Sourcepub fn set_output_dataset<T: Into<String>>(self, v: T) -> Self
pub fn set_output_dataset<T: Into<String>>(self, v: T) -> Self
Sets the value of output_dataset.
§Example
ⓘ
let x = AssessmentTaskDetails::new().set_output_dataset("example");Sourcepub fn set_querylogs_path<T: Into<String>>(self, v: T) -> Self
pub fn set_querylogs_path<T: Into<String>>(self, v: T) -> Self
Sets the value of querylogs_path.
§Example
ⓘ
let x = AssessmentTaskDetails::new().set_querylogs_path("example");Sourcepub fn set_data_source<T: Into<String>>(self, v: T) -> Self
pub fn set_data_source<T: Into<String>>(self, v: T) -> Self
Sets the value of data_source.
§Example
ⓘ
let x = AssessmentTaskDetails::new().set_data_source("example");Sourcepub fn set_feature_handle<T>(self, v: T) -> Selfwhere
T: Into<AssessmentFeatureHandle>,
pub fn set_feature_handle<T>(self, v: T) -> Selfwhere
T: Into<AssessmentFeatureHandle>,
Sets the value of feature_handle.
§Example
ⓘ
use google_cloud_bigquery_migration_v2::model::AssessmentFeatureHandle;
let x = AssessmentTaskDetails::new().set_feature_handle(AssessmentFeatureHandle::default()/* use setters */);Sourcepub fn set_or_clear_feature_handle<T>(self, v: Option<T>) -> Selfwhere
T: Into<AssessmentFeatureHandle>,
pub fn set_or_clear_feature_handle<T>(self, v: Option<T>) -> Selfwhere
T: Into<AssessmentFeatureHandle>,
Sets or clears the value of feature_handle.
§Example
ⓘ
use google_cloud_bigquery_migration_v2::model::AssessmentFeatureHandle;
let x = AssessmentTaskDetails::new().set_or_clear_feature_handle(Some(AssessmentFeatureHandle::default()/* use setters */));
let x = AssessmentTaskDetails::new().set_or_clear_feature_handle(None::<AssessmentFeatureHandle>);Trait Implementations§
Source§impl Clone for AssessmentTaskDetails
impl Clone for AssessmentTaskDetails
Source§fn clone(&self) -> AssessmentTaskDetails
fn clone(&self) -> AssessmentTaskDetails
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for AssessmentTaskDetails
impl Debug for AssessmentTaskDetails
Source§impl Default for AssessmentTaskDetails
impl Default for AssessmentTaskDetails
Source§fn default() -> AssessmentTaskDetails
fn default() -> AssessmentTaskDetails
Returns the “default value” for a type. Read more
Source§impl Message for AssessmentTaskDetails
impl Message for AssessmentTaskDetails
Source§impl PartialEq for AssessmentTaskDetails
impl PartialEq for AssessmentTaskDetails
impl StructuralPartialEq for AssessmentTaskDetails
Auto Trait Implementations§
impl Freeze for AssessmentTaskDetails
impl RefUnwindSafe for AssessmentTaskDetails
impl Send for AssessmentTaskDetails
impl Sync for AssessmentTaskDetails
impl Unpin for AssessmentTaskDetails
impl UnsafeUnpin for AssessmentTaskDetails
impl UnwindSafe for AssessmentTaskDetails
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
Mutably borrows from an owned value. Read more