pub struct GoogleCloudAiplatformV1ImportDataConfig {
pub import_schema_uri: Option<String>,
pub gcs_source: Option<GoogleCloudAiplatformV1GcsSource>,
pub data_item_labels: Option<HashMap<String, String>>,
pub annotation_labels: Option<HashMap<String, String>>,
}Expand description
Describes the location from where we import data into a Dataset, together with the labels that will be applied to the DataItems and the Annotations.
This type is not used in any activity, and only used as part of another schema.
Fields§
§import_schema_uri: Option<String>Required. Points to a YAML file stored on Google Cloud Storage describing the import format. Validation will be done against the schema. The schema is defined as an OpenAPI 3.0.2 Schema Object.
gcs_source: Option<GoogleCloudAiplatformV1GcsSource>The Google Cloud Storage location for the input content.
data_item_labels: Option<HashMap<String, String>>Labels that will be applied to newly imported DataItems. If an identical DataItem as one being imported already exists in the Dataset, then these labels will be appended to these of the already existing one, and if labels with identical key is imported before, the old label value will be overwritten. If two DataItems are identical in the same import data operation, the labels will be combined and if key collision happens in this case, one of the values will be picked randomly. Two DataItems are considered identical if their content bytes are identical (e.g. image bytes or pdf bytes). These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
annotation_labels: Option<HashMap<String, String>>Labels that will be applied to newly imported Annotations. If two Annotations are identical, one of them will be deduped. Two Annotations are considered identical if their payload, payload_schema_uri and all of their labels are the same. These labels will be overridden by Annotation labels specified inside index file referenced by import_schema_uri, e.g. jsonl file.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ImportDataConfig
impl Clone for GoogleCloudAiplatformV1ImportDataConfig
Source§fn clone(&self) -> GoogleCloudAiplatformV1ImportDataConfig
fn clone(&self) -> GoogleCloudAiplatformV1ImportDataConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ImportDataConfig
impl Default for GoogleCloudAiplatformV1ImportDataConfig
Source§fn default() -> GoogleCloudAiplatformV1ImportDataConfig
fn default() -> GoogleCloudAiplatformV1ImportDataConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ImportDataConfig
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ImportDataConfig
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 Part for GoogleCloudAiplatformV1ImportDataConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ImportDataConfig
impl RefUnwindSafe for GoogleCloudAiplatformV1ImportDataConfig
impl Send for GoogleCloudAiplatformV1ImportDataConfig
impl Sync for GoogleCloudAiplatformV1ImportDataConfig
impl Unpin for GoogleCloudAiplatformV1ImportDataConfig
impl UnwindSafe for GoogleCloudAiplatformV1ImportDataConfig
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