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>
- (::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>) — Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
#annotation_specs=
def annotation_specs=(value) -> ::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>
- value (::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>) — Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
- (::Array<::Google::Cloud::DataLabeling::V1beta1::AnnotationSpec>) — Required. The array of AnnotationSpecs that you define when you create the AnnotationSpecSet. These are the possible labels for the labeling task.
#blocking_resources
def blocking_resources() -> ::Array<::String>
- (::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>
- value (::Array<::String>) — Output only. The names of any related resources that are blocking changes to the annotation spec set.
- (::Array<::String>) — Output only. The names of any related resources that are blocking changes to the annotation spec set.
#description
def description() -> ::String
- (::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
- value (::String) — Optional. User-provided description of the annotation specification set. The description can be up to 10,000 characters long.
- (::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
- (::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
- value (::String) — Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
- (::String) — Required. The display name for AnnotationSpecSet that you define when you create it. Maximum of 64 characters.
#name
def name() -> ::String
-
(::String) — Output only. The AnnotationSpecSet resource name in the following format:
"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
#name=
def name=(value) -> ::String
-
value (::String) — Output only. The AnnotationSpecSet resource name in the following format:
"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"
-
(::String) — Output only. The AnnotationSpecSet resource name in the following format:
"projects/{project_id}/annotationSpecSets/{annotation_spec_set_id}"