Configuration for how human labeling task should be done.
Attributes
Name
Description
instruction
str
Required. Instruction resource name.
annotated_dataset_display_name
str
Required. A human-readable name for
AnnotatedDataset defined by users. Maximum of 64
characters .
annotated_dataset_description
str
Optional. A human-readable description for
AnnotatedDataset. The description can be up to
10000 characters long.
label_group
str
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
str
Optional. The Language of this question, as a
BCP-47 __.
Default value is en-US. Only need to set this when task is
language related. For example, French text classification.
replica_count
int
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.
question_duration
google.protobuf.duration_pb2.Duration
Optional. Maximum duration for contributors
to answer a question. Maximum is 3600 seconds.
Default is 3600 seconds.
contributor_emails
MutableSequence[str]
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/
user_email_address
str
Email of the user who started the labeling
task and should be notified by email. If empty
no notification will be sent.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Class HumanAnnotationConfig (1.13.2)\n\nVersion latestkeyboard_arrow_down\n\n- [1.13.2 (latest)](/python/docs/reference/datalabeling/latest/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.13.1](/python/docs/reference/datalabeling/1.13.1/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.12.0](/python/docs/reference/datalabeling/1.12.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.11.1](/python/docs/reference/datalabeling/1.11.1/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.10.5](/python/docs/reference/datalabeling/1.10.5/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.9.0](/python/docs/reference/datalabeling/1.9.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.8.3](/python/docs/reference/datalabeling/1.8.3/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.7.0](/python/docs/reference/datalabeling/1.7.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.6.3](/python/docs/reference/datalabeling/1.6.3/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.5.2](/python/docs/reference/datalabeling/1.5.2/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.4.0](/python/docs/reference/datalabeling/1.4.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.3.0](/python/docs/reference/datalabeling/1.3.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.2.4](/python/docs/reference/datalabeling/1.2.4/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.1.0](/python/docs/reference/datalabeling/1.1.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [1.0.0](/python/docs/reference/datalabeling/1.0.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [0.4.2](/python/docs/reference/datalabeling/0.4.2/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [0.3.0](/python/docs/reference/datalabeling/0.3.0/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig)\n- [0.2.1](/python/docs/reference/datalabeling/0.2.1/google.cloud.datalabeling_v1beta1.types.HumanAnnotationConfig) \n\n HumanAnnotationConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nConfiguration for how human labeling task should be done."]]