Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThread

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/datalabeling_v1beta1/classes.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb,
generated/google/apis/datalabeling_v1beta1/representations.rb

Overview

A feedback thread of a certain labeling task on a certain annotated dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1FeedbackThread

Returns a new instance of GoogleCloudDatalabelingV1beta1FeedbackThread.



2327
2328
2329
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2327

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#feedback_thread_metadataGoogle::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata

Metadata regarding the feedback thread. Corresponds to the JSON property feedbackThreadMetadata



2318
2319
2320
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2318

def 
  @feedback_thread_metadata
end

#nameString

Name of the feedback thread. Format: 'project/project_id/datasets/ dataset_id/annotatedDatasets/annotated_dataset_id/feedbackThreads/ feedback_thread_id' Corresponds to the JSON property name

Returns:

  • (String)


2325
2326
2327
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2325

def name
  @name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2332
2333
2334
2335
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2332

def update!(**args)
  @feedback_thread_metadata = args[:feedback_thread_metadata] if args.key?(:feedback_thread_metadata)
  @name = args[:name] if args.key?(:name)
end