pub struct GoogleCloudAiplatformV1ExportDataConfig {
pub filter_split: Option<GoogleCloudAiplatformV1ExportFilterSplit>,
pub export_use: Option<String>,
pub annotations_filter: Option<String>,
pub fraction_split: Option<GoogleCloudAiplatformV1ExportFractionSplit>,
pub gcs_destination: Option<GoogleCloudAiplatformV1GcsDestination>,
pub saved_query_id: Option<String>,
pub annotation_schema_uri: Option<String>,
}Expand description
Describes what part of the Dataset is to be exported, the destination of the export and how to export.
This type is not used in any activity, and only used as part of another schema.
Fields§
§filter_split: Option<GoogleCloudAiplatformV1ExportFilterSplit>Split based on the provided filters for each set.
export_use: Option<String>Indicates the usage of the exported files.
annotations_filter: Option<String>An expression for filtering what part of the Dataset is to be exported. Only Annotations that match this filter will be exported. The filter syntax is the same as in ListAnnotations.
fraction_split: Option<GoogleCloudAiplatformV1ExportFractionSplit>Split based on fractions defining the size of each set.
gcs_destination: Option<GoogleCloudAiplatformV1GcsDestination>The Google Cloud Storage location where the output is to be written to. In the given directory a new directory will be created with name: export-data-- where timestamp is in YYYY-MM-DDThh:mm:ss.sssZ ISO-8601 format. All export output will be written into that directory. Inside that directory, annotations with the same schema will be grouped into sub directories which are named with the corresponding annotations’ schema title. Inside these sub directories, a schema.yaml will be created to describe the output format.
saved_query_id: Option<String>The ID of a SavedQuery (annotation set) under the Dataset specified by dataset_id used for filtering Annotations for training. Only used for custom training data export use cases. Only applicable to Datasets that have SavedQueries. Only Annotations that are associated with this SavedQuery are used in respectively training. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both saved_query_id and annotations_filter. Only one of saved_query_id and annotation_schema_uri should be specified as both of them represent the same thing: problem type.
annotation_schema_uri: Option<String>The Cloud Storage URI that points to a YAML file describing the annotation schema. The schema is defined as an OpenAPI 3.0.2 Schema Object. The schema files that can be used here are found in gs://google-cloud-aiplatform/schema/dataset/annotation/, note that the chosen schema must be consistent with metadata of the Dataset specified by dataset_id. Only used for custom training data export use cases. Only applicable to Datasets that have DataItems and Annotations. Only Annotations that both match this schema and belong to DataItems not ignored by the split method are used in respectively training, validation or test role, depending on the role of the DataItem they are on. When used in conjunction with annotations_filter, the Annotations used for training are filtered by both annotations_filter and annotation_schema_uri.
Trait Implementations§
Source§impl Clone for GoogleCloudAiplatformV1ExportDataConfig
impl Clone for GoogleCloudAiplatformV1ExportDataConfig
Source§fn clone(&self) -> GoogleCloudAiplatformV1ExportDataConfig
fn clone(&self) -> GoogleCloudAiplatformV1ExportDataConfig
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Default for GoogleCloudAiplatformV1ExportDataConfig
impl Default for GoogleCloudAiplatformV1ExportDataConfig
Source§fn default() -> GoogleCloudAiplatformV1ExportDataConfig
fn default() -> GoogleCloudAiplatformV1ExportDataConfig
Source§impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExportDataConfig
impl<'de> Deserialize<'de> for GoogleCloudAiplatformV1ExportDataConfig
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 GoogleCloudAiplatformV1ExportDataConfig
Auto Trait Implementations§
impl Freeze for GoogleCloudAiplatformV1ExportDataConfig
impl RefUnwindSafe for GoogleCloudAiplatformV1ExportDataConfig
impl Send for GoogleCloudAiplatformV1ExportDataConfig
impl Sync for GoogleCloudAiplatformV1ExportDataConfig
impl Unpin for GoogleCloudAiplatformV1ExportDataConfig
impl UnwindSafe for GoogleCloudAiplatformV1ExportDataConfig
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