Class: Google::Cloud::DataLabeling::V1beta1::HumanAnnotationConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb

Overview

Configuration for how human labeling task should be done.

Instance Attribute Summary collapse

Instance Attribute Details

#annotated_dataset_description::String

Returns 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.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#annotated_dataset_display_name::String

Returns 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 .



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#contributor_emails::Array<::String>

Returns 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/



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#instruction::String

Returns Required. Instruction resource name.

Returns:

  • (::String)

    Required. Instruction resource name.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#label_group::String

Returns 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}.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#language_code::String

Returns 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.

Returns:

  • (::String)

    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.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#question_duration::Google::Protobuf::Duration

Returns Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.

Returns:

  • (::Google::Protobuf::Duration)

    Optional. Maximum duration for contributors to answer a question. Maximum is 3600 seconds. Default is 3600 seconds.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#replica_count::Integer

Returns 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.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#user_email_address::String

Returns 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.



69
70
71
72
# File 'proto_docs/google/cloud/datalabeling/v1beta1/human_annotation_config.rb', line 69

class HumanAnnotationConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end