Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata

Inherits:
Object
  • Object
show all
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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata

Returns a new instance of GoogleCloudDatalabelingV1beta1FeedbackThreadMetadata.



2363
2364
2365
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2363

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

Instance Attribute Details

#create_timeString

When the thread is created Corresponds to the JSON property createTime

Returns:

  • (String)


2345
2346
2347
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2345

def create_time
  @create_time
end

#last_update_timeString

When the thread is last updated. Corresponds to the JSON property lastUpdateTime

Returns:

  • (String)


2350
2351
2352
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2350

def last_update_time
  @last_update_time
end

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


2355
2356
2357
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2355

def status
  @status
end

#thumbnailString

An image thumbnail of this thread. Corresponds to the JSON property thumbnail NOTE: Values are automatically base64 encoded/decoded in the client library.

Returns:

  • (String)


2361
2362
2363
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2361

def thumbnail
  @thumbnail
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2368
2369
2370
2371
2372
2373
# File 'lib/google/apis/datalabeling_v1beta1/classes.rb', line 2368

def update!(**args)
  @create_time = args[:create_time] if args.key?(:create_time)
  @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
  @status = args[:status] if args.key?(:status)
  @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
end