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

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

An AnnotationSpecSet is a collection of label definitions. For example, in image classification tasks, you define a set of possible labels for images as an AnnotationSpecSet. An AnnotationSpecSet is immutable upon creation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotation_specs

def annotation_specs() -> ::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>
Returns

#annotation_specs=

def annotation_specs=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>
Parameter
Returns

#blocking_resources

def blocking_resources() -> ::Array<::String>
Returns
  • (::Array<::String>) — Output only. The names of any related resources that are blocking changes to the annotation spec set.

#blocking_resources=

def blocking_resources=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Output only. The names of any related resources that are blocking changes to the annotation spec set.
Returns
  • (::Array<::String>) — Output only. The names of any related resources that are blocking changes to the annotation spec set.

#description

def description() -> ::String
Returns
  • (::String) — Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.

#description=

def description=(value) -> ::String
Parameter
  • value (::String) — Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
Returns
  • (::String) — Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.

#display_name

def display_name() -> ::String
Returns
  • (::String) — Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

#display_name=

def display_name=(value) -> ::String
Parameter
  • value (::String) — Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
Returns
  • (::String) — Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.

#name

def name() -> ::String
Returns
  • (::String) — Output only. The AnnotationSpecSet resource name in the following format:

    "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Output only. The AnnotationSpecSet resource name in the following format:

    "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"

Returns
  • (::String) — Output only. The AnnotationSpecSet resource name in the following format:

    "projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"