pub struct GoogleCloudDatalabelingV1beta1InputConfig {
pub annotation_type: Option<String>,
pub bigquery_source: Option<GoogleCloudDatalabelingV1beta1BigQuerySource>,
pub classification_metadata: Option<GoogleCloudDatalabelingV1beta1ClassificationMetadata>,
pub data_type: Option<String>,
pub gcs_source: Option<GoogleCloudDatalabelingV1beta1GcsSource>,
pub text_metadata: Option<GoogleCloudDatalabelingV1beta1TextMetadata>,
}
Expand description
The configuration of input data, including data type, location, etc.
This type is not used in any activity, and only used as part of another schema.
Fields§
§annotation_type: Option<String>
Optional. The type of annotation to be performed on this data. You must specify this field if you are using this InputConfig in an EvaluationJob.
bigquery_source: Option<GoogleCloudDatalabelingV1beta1BigQuerySource>
Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
classification_metadata: Option<GoogleCloudDatalabelingV1beta1ClassificationMetadata>
Optional. Metadata about annotations for the input. You must specify this field if you are using this InputConfig in an EvaluationJob for a model version that performs classification.
data_type: Option<String>
Required. Data type must be specifed when user tries to import data.
gcs_source: Option<GoogleCloudDatalabelingV1beta1GcsSource>
Source located in Cloud Storage.
text_metadata: Option<GoogleCloudDatalabelingV1beta1TextMetadata>
Required for text import, as language code must be specified.
Trait Implementations§
source§impl Clone for GoogleCloudDatalabelingV1beta1InputConfig
impl Clone for GoogleCloudDatalabelingV1beta1InputConfig
source§fn clone(&self) -> GoogleCloudDatalabelingV1beta1InputConfig
fn clone(&self) -> GoogleCloudDatalabelingV1beta1InputConfig
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for GoogleCloudDatalabelingV1beta1InputConfig
impl Default for GoogleCloudDatalabelingV1beta1InputConfig
source§fn default() -> GoogleCloudDatalabelingV1beta1InputConfig
fn default() -> GoogleCloudDatalabelingV1beta1InputConfig
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1InputConfig
impl<'de> Deserialize<'de> for GoogleCloudDatalabelingV1beta1InputConfig
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>,
Deserialize this value from the given Serde deserializer. Read more
impl Part for GoogleCloudDatalabelingV1beta1InputConfig
Auto Trait Implementations§
impl RefUnwindSafe for GoogleCloudDatalabelingV1beta1InputConfig
impl Send for GoogleCloudDatalabelingV1beta1InputConfig
impl Sync for GoogleCloudDatalabelingV1beta1InputConfig
impl Unpin for GoogleCloudDatalabelingV1beta1InputConfig
impl UnwindSafe for GoogleCloudDatalabelingV1beta1InputConfig
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