class Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload
Container of information about an image.
Attributes
image_thumbnail[RW]
A byte string of a thumbnail image. Corresponds to the JSON property `imageThumbnail` NOTE: Values are automatically base64 encoded/decoded in the client library. @return [String]
image_uri[RW]
Image uri from the user bucket. Corresponds to the JSON property `imageUri` @return [String]
mime_type[RW]
Image format. Corresponds to the JSON property `mimeType` @return [String]
signed_uri[RW]
Signed uri of the image file in the service bucket. Corresponds to the JSON property `signedUri` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/datalabeling_v1beta1/classes.rb, line 2641 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 2646 def update!(**args) @image_thumbnail = args[:image_thumbnail] if args.key?(:image_thumbnail) @image_uri = args[:image_uri] if args.key?(:image_uri) @mime_type = args[:mime_type] if args.key?(:mime_type) @signed_uri = args[:signed_uri] if args.key?(:signed_uri) end