AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::InputConfig (v0.10.0)

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

#annotation_type=

def annotation_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType
Parameter
Returns

#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.

    Note: The following fields are mutually exclusive: bigquery_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#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.

    Note: The following fields are mutually exclusive: bigquery_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::BigQuerySource) — Source located in BigQuery. You must specify this field if you are using this InputConfig in an EvaluationJob.

    Note: The following fields are mutually exclusive: bigquery_source, gcs_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#classification_metadata

def classification_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Returns

#classification_metadata=

def classification_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ClassificationMetadata
Parameter
Returns

#data_type

def data_type() -> ::Google::Cloud::DataLabeling::V1beta1::DataType
Returns

#data_type=

def data_type=(value) -> ::Google::Cloud::DataLabeling::V1beta1::DataType
Parameter
Returns

#gcs_source

def gcs_source() -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Returns
  • (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#gcs_source=

def gcs_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::GcsSource
Parameter
  • value (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::GcsSource) — Source located in Cloud Storage.

    Note: The following fields are mutually exclusive: gcs_source, bigquery_source. If a field in that set is populated, all other fields in the set will automatically be cleared.

#text_metadata

def text_metadata() -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Returns

#text_metadata=

def text_metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::TextMetadata
Parameter
Returns