class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1p1alpha1HumanAnnotationConfig
Configuration for how human labeling task should be done.
Attributes
Optional. A human-readable description for AnnotatedDataset. The description can be up to 10000 characters long. Corresponds to the JSON property `annotatedDatasetDescription` @return [String]
Required. A human-readable name for AnnotatedDataset defined by users. Maximum of 64 characters . Corresponds to the JSON property `annotatedDatasetDisplayName` @return [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: crowd-compute.appspot.com/ Corresponds to the JSON property `contributorEmails` @return [Array<String>]
Required. Instruction resource name. Corresponds to the JSON property `instruction` @return [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“. Corresponds to the JSON property `labelGroup` @return [String]
Optional. The Language of this question, as a [BCP-47](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. Corresponds to the JSON property `languageCode` @return [String]
Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds. Corresponds to the JSON property `questionDuration` @return [String]
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. Corresponds to the JSON property `replicaCount` @return [Fixnum]
Email of the user who started the labeling task and should be notified by email. If empty no notification will be sent. Corresponds to the JSON property `userEmailAddress` @return [String]
Public Class Methods
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4887 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 4892 def update!(**args) @annotated_dataset_description = args[:annotated_dataset_description] if args.key?(:annotated_dataset_description) @annotated_dataset_display_name = args[:annotated_dataset_display_name] if args.key?(:annotated_dataset_display_name) @contributor_emails = args[:contributor_emails] if args.key?(:contributor_emails) @instruction = args[:instruction] if args.key?(:instruction) @label_group = args[:label_group] if args.key?(:label_group) @language_code = args[:language_code] if args.key?(:language_code) @question_duration = args[:question_duration] if args.key?(:question_duration) @replica_count = args[:replica_count] if args.key?(:replica_count) @user_email_address = args[:user_email_address] if args.key?(:user_email_address) end