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

Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::LabelImageRequest.

Request message for starting an image labeling task.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#basic_config

def basic_config() -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Returns

#basic_config=

def basic_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig
Parameter
Returns

#bounding_poly_config

def bounding_poly_config() -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig
Returns
  • (::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig) — Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#bounding_poly_config=

def bounding_poly_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig
Parameter
  • value (::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig) — Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::BoundingPolyConfig) — Configuration for bounding box and bounding poly task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#feature

def feature() -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature
Returns

#feature=

def feature=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelImageRequest::Feature
Parameter
Returns

#image_classification_config

def image_classification_config() -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig
Returns
  • (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig) — Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#image_classification_config=

def image_classification_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig
Parameter
  • value (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig) — Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::ImageClassificationConfig) — Configuration for image classification task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#parent

def parent() -> ::String
Returns
  • (::String) — Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

#parent=

def parent=(value) -> ::String
Parameter
  • value (::String) — Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}
Returns
  • (::String) — Required. Name of the dataset to request labeling task, format: projects/{project_id}/datasets/{dataset_id}

#polyline_config

def polyline_config() -> ::Google::Cloud::DataLabeling::V1beta1::PolylineConfig
Returns
  • (::Google::Cloud::DataLabeling::V1beta1::PolylineConfig) — Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#polyline_config=

def polyline_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::PolylineConfig
Parameter
  • value (::Google::Cloud::DataLabeling::V1beta1::PolylineConfig) — Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::PolylineConfig) — Configuration for polyline task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#segmentation_config

def segmentation_config() -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig
Returns
  • (::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig) — Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

#segmentation_config=

def segmentation_config=(value) -> ::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig
Parameter
  • value (::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig) — Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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

Returns
  • (::Google::Cloud::DataLabeling::V1beta1::SegmentationConfig) — Configuration for segmentation task. One of image_classification_config, bounding_poly_config, polyline_config and segmentation_config are required.

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