# AI Platform Data Labeling Service V1beta1 API - Class Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig (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::HumanAnnotationConfig.

Configuration for how human labeling task should be done.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #annotated_dataset_description

    def annotated_dataset_description() -> ::String

**Returns**

- (::String) --- Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.

### #annotated_dataset_description=

    def annotated_dataset_description=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.
**Returns**

- (::String) --- Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long.

### #annotated_dataset_display_name

    def annotated_dataset_display_name() -> ::String

**Returns**

- (::String) --- Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .

### #annotated_dataset_display_name=

    def annotated_dataset_display_name=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .
**Returns**

- (::String) --- Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters .

### #contributor_emails

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

**Returns**

- (::Array\<::String\>) --- Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/

### #contributor_emails=

    def contributor_emails=(value) -> ::Array<::String>

**Parameter**

- **value** (::Array\<::String\>) --- Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/
**Returns**

- (::Array\<::String\>) --- Optional. If you want your own labeling contributors to manage and work on this labeling request, you can set these contributors here. We will give them access to the question types in crowdcompute. Note that these emails must be registered in crowdcompute worker UI: https://crowd-compute.appspot.com/

### #instruction

    def instruction() -> ::String

**Returns**

- (::String) --- Required. Instruction resource name.

### #instruction=

    def instruction=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. Instruction resource name.
**Returns**

- (::String) --- Required. Instruction resource name.

### #label_group

    def label_group() -> ::String

**Returns**

- (::String) --- Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.

### #label_group=

    def label_group=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.
**Returns**

- (::String) --- Optional. A human-readable label used to logically group labeling tasks. This string must match the regular expression `[a-zA-Z\\d_-]{0,128}`.

### #language_code

    def language_code() -> ::String

**Returns**

- (::String) --- Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.

### #language_code=

    def language_code=(value) -> ::String

**Parameter**

- **value** (::String) --- Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.
**Returns**

- (::String) --- Optional. The Language of this question, as a [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt). Default value is en-US. Only need to set this when task is language related. For example, French text classification.

### #question_duration

    def question_duration() -> ::Google::Protobuf::Duration

**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.

### #question_duration=

    def question_duration=(value) -> ::Google::Protobuf::Duration

**Parameter**

- **value** ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.
**Returns**

- ([::Google::Protobuf::Duration](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-data_labeling-v1beta1/latest/Google-Protobuf-Duration)) --- Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.

### #replica_count

    def replica_count() -> ::Integer

**Returns**

- (::Integer) --- Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.

### #replica_count=

    def replica_count=(value) -> ::Integer

**Parameter**

- **value** (::Integer) --- Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.
**Returns**

- (::Integer) --- Optional. Replication of questions. Each question will be sent to up to this number of contributors to label. Aggregated answers will be returned. Default is set to 1. For image related labeling, valid values are 1, 3, 5.

### #user_email_address

    def user_email_address() -> ::String

**Returns**

- (::String) --- Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.

### #user_email_address=

    def user_email_address=(value) -> ::String

**Parameter**

- **value** (::String) --- Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.
**Returns**

- (::String) --- Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent.