# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::AnnotatedDataset (v0.15.0)

0.15.0 (latest) 0.14.0 0.13.1 0.12.0 0.11.1 0.10.1 0.9.0 0.8.1 0.7.2 0.6.0 0.5.0 0.4.0 0.3.5 Reference documentation and code samples for the AI Platform Data Labeling Service V1beta1 API class Google::Cloud::DataLabeling::V1beta1::AnnotatedDataset.

AnnotatedDataset is a set holding annotations for data in a Dataset. Each
labeling task will generate an AnnotatedDataset under the Dataset that the
task is requested for.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotation_source

    def annotation_source() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSource)) --- Output only. Source of the annotation.

### #annotation_source=

    def annotation_source=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationSource

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSource)) --- Output only. Source of the annotation.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationSource](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationSource)) --- Output only. Source of the annotation.

### #annotation_type

    def annotation_type() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotationType

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationType)) --- Output only. Type of the annotation. It is specified when starting labeling task.

### #annotation_type=

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

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::AnnotationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationType)) --- Output only. Type of the annotation. It is specified when starting labeling task.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotationType](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotationType)) --- Output only. Type of the annotation. It is specified when starting labeling task.

### #blocking_resources

    def blocking_resources() -> ::Array<::String>

**Returns**

- (::Array\<::String\>) --- Output only. The names of any related resources that are blocking changes to the annotated dataset.

### #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 annotated dataset.
**Returns**

- (::Array\<::String\>) --- Output only. The names of any related resources that are blocking changes to the annotated dataset.

### #completed_example_count

    def completed_example_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. Number of examples that have annotation in the annotated dataset.

### #completed_example_count=

    def completed_example_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Output only. Number of examples that have annotation in the annotated dataset.
**Returns**

- (::Integer) --- Output only. Number of examples that have annotation in the annotated dataset.

### #create_time

    def create_time() -> ::Google::Protobuf::Timestamp

**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the AnnotatedDataset was created.

### #create_time=

    def create_time=(value) -> ::Google::Protobuf::Timestamp

**Parameter**

- **value** ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the AnnotatedDataset was created.
**Returns**

- ([::Google::Protobuf::Timestamp](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Timestamp)) --- Output only. Time the AnnotatedDataset was created.

### #description

    def description() -> ::String

**Returns**

- (::String) --- Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.

### #description=

    def description=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.
**Returns**

- (::String) --- Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters.

### #display_name

    def display_name() -> ::String

**Returns**

- (::String) --- Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.

### #display_name=

    def display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.
**Returns**

- (::String) --- Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters.

### #example_count

    def example_count() -> ::Integer

**Returns**

- (::Integer) --- Output only. Number of examples in the annotated dataset.

### #example_count=

    def example_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Output only. Number of examples in the annotated dataset.
**Returns**

- (::Integer) --- Output only. Number of examples in the annotated dataset.

### #label_stats

    def label_stats() -> ::Google::Cloud::DataLabeling::V1beta1::LabelStats

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::LabelStats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelStats)) --- Output only. Per label statistics.

### #label_stats=

    def label_stats=(value) -> ::Google::Cloud::DataLabeling::V1beta1::LabelStats

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::LabelStats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelStats)) --- Output only. Per label statistics.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::LabelStats](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-LabelStats)) --- Output only. Per label statistics.

### #metadata

    def metadata() -> ::Google::Cloud::DataLabeling::V1beta1::AnnotatedDatasetMetadata

**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotatedDatasetMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotatedDatasetMetadata)) --- Output only. Additional information about AnnotatedDataset.

### #metadata=

    def metadata=(value) -> ::Google::Cloud::DataLabeling::V1beta1::AnnotatedDatasetMetadata

**Parameter**

- **value** ([::Google::Cloud::DataLabeling::V1beta1::AnnotatedDatasetMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotatedDatasetMetadata)) --- Output only. Additional information about AnnotatedDataset.
**Returns**

- ([::Google::Cloud::DataLabeling::V1beta1::AnnotatedDatasetMetadata](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Cloud-DataLabeling-V1beta1-AnnotatedDatasetMetadata)) --- Output only. Additional information about AnnotatedDataset.

### #name

    def name() -> ::String

**Returns**

- (::String) --- Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}

### #name=

    def name=(value) -> ::String

**Parameter**

- **value** (::String) --- Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}
**Returns**

- (::String) --- Output only. AnnotatedDataset resource name in format of: projects/{project_id}/datasets/{dataset_id}/annotatedDatasets/ {annotated_dataset_id}