Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackMessage
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/datalabeling_v1beta1/classes.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb,
lib/google/apis/datalabeling_v1beta1/representations.rb
Overview
A feedback message inside a feedback thread.
Instance Attribute Summary collapse
-
#body ⇒ String
String content of the feedback.
-
#create_time ⇒ String
Create time.
-
#image ⇒ String
The image storing this feedback if the feedback is an image representing operator's comments.
-
#name ⇒ String
Name of the feedback message in a feedback thread.
-
#operator_feedback_metadata ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
Metadata describing the feedback from the operator.
-
#requester_feedback_metadata ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
Metadata describing the feedback from the labeling task requester.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1FeedbackMessage
constructor
A new instance of GoogleCloudDatalabelingV1beta1FeedbackMessage.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1FeedbackMessage
Returns a new instance of GoogleCloudDatalabelingV1beta1FeedbackMessage.
2296 2297 2298 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2296 def initialize(**args) update!(**args) end |
Instance Attribute Details
#body ⇒ String
String content of the feedback. Maximum of 10000 characters.
Corresponds to the JSON property body
2265 2266 2267 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2265 def body @body end |
#create_time ⇒ String
Create time.
Corresponds to the JSON property createTime
2270 2271 2272 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2270 def create_time @create_time end |
#image ⇒ String
The image storing this feedback if the feedback is an image representing
operator's comments.
Corresponds to the JSON property image
NOTE: Values are automatically base64 encoded/decoded in the client library.
2277 2278 2279 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2277 def image @image end |
#name ⇒ String
Name of the feedback message in a feedback thread. Format: 'project/
project_id
/datasets/dataset_id
/annotatedDatasets/annotated_dataset_id
/
feedbackThreads/feedback_thread_id
/feedbackMessage/feedback_message_id
'
Corresponds to the JSON property name
2284 2285 2286 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2284 def name @name end |
#operator_feedback_metadata ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1OperatorFeedbackMetadata
Metadata describing the feedback from the operator.
Corresponds to the JSON property operatorFeedbackMetadata
2289 2290 2291 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2289 def @operator_feedback_metadata end |
#requester_feedback_metadata ⇒ Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1RequesterFeedbackMetadata
Metadata describing the feedback from the labeling task requester.
Corresponds to the JSON property requesterFeedbackMetadata
2294 2295 2296 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2294 def @requester_feedback_metadata end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2301 2302 2303 2304 2305 2306 2307 2308 |
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2301 def update!(**args) @body = args[:body] if args.key?(:body) @create_time = args[:create_time] if args.key?(:create_time) @image = args[:image] if args.key?(:image) @name = args[:name] if args.key?(:name) @operator_feedback_metadata = args[:operator_feedback_metadata] if args.key?(:operator_feedback_metadata) @requester_feedback_metadata = args[:requester_feedback_metadata] if args.key?(:requester_feedback_metadata) end |