class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDataset

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.

Attributes

annotation_source[RW]

Output only. Source of the annotation. Corresponds to the JSON property `annotationSource` @return [String]

annotation_type[RW]

Output only. Type of the annotation. It is specified when starting labeling task. Corresponds to the JSON property `annotationType` @return [String]

blocking_resources[RW]

Output only. The names of any related resources that are blocking changes to the annotated dataset. Corresponds to the JSON property `blockingResources` @return [Array<String>]

completed_example_count[RW]

Output only. Number of examples that have annotation in the annotated dataset. Corresponds to the JSON property `completedExampleCount` @return [Fixnum]

create_time[RW]

Output only. Time the AnnotatedDataset was created. Corresponds to the JSON property `createTime` @return [String]

description[RW]

Output only. The description of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 10000 characters. Corresponds to the JSON property `description` @return [String]

display_name[RW]

Output only. The display name of the AnnotatedDataset. It is specified in HumanAnnotationConfig when user starts a labeling task. Maximum of 64 characters. Corresponds to the JSON property `displayName` @return [String]

example_count[RW]

Output only. Number of examples in the annotated dataset. Corresponds to the JSON property `exampleCount` @return [Fixnum]

label_stats[RW]

Statistics about annotation specs. Corresponds to the JSON property `labelStats` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1LabelStats]

metadata[RW]

Metadata on AnnotatedDataset. Corresponds to the JSON property `metadata` @return [Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1AnnotatedDatasetMetadata]

name[RW]

Output only. AnnotatedDataset resource name in format of: projects/`project_id` /datasets/`dataset_id`/annotatedDatasets/ `annotated_dataset_id` Corresponds to the JSON property `name` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 795
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 800
def update!(**args)
  @annotation_source = args[:annotation_source] if args.key?(:annotation_source)
  @annotation_type = args[:annotation_type] if args.key?(:annotation_type)
  @blocking_resources = args[:blocking_resources] if args.key?(:blocking_resources)
  @completed_example_count = args[:completed_example_count] if args.key?(:completed_example_count)
  @create_time = args[:create_time] if args.key?(:create_time)
  @description = args[:description] if args.key?(:description)
  @display_name = args[:display_name] if args.key?(:display_name)
  @example_count = args[:example_count] if args.key?(:example_count)
  @label_stats = args[:label_stats] if args.key?(:label_stats)
  @metadata = args[:metadata] if args.key?(:metadata)
  @name = args[:name] if args.key?(:name)
end