Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::InputConfig.
The configuration of input data, including data type, location, etc.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#annotation_type
def annotation_type() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationType) — 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.
#annotation_type=
def annotation_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::AnnotationType) — 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.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::AnnotationType) — 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
def bigquery_source() -> ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource
Returns
- (::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
#bigquery_source=
def bigquery_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BigQuerySource
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.
#classification_metadata
def classification_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata) — 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.
#classification_metadata=
def classification_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata) — 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.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata) — 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
def data_type() -> ::Google::Cloud::DataLabeling::V1beta1::DataType
Returns
- (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
#data_type=
def data_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::DataType
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::DataType) — Required. Data type must be specifed when user tries to import data.
#gcs_source
def gcs_source() -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Returns
- (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
#gcs_source=
def gcs_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.
#text_metadata
def text_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.
#text_metadata=
def text_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Parameter
- value (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.
Returns
- (::Google::Cloud::DataLabeling::V1beta1::TextMetadata) — Required for text import, as language code must be specified.