Class: Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload
- Inherits:
-
Object
- Object
- Google::Apis::DatalabelingV1beta1::GoogleCloudDatalabelingV1beta1ImagePayload
- 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
Container of information about an image.
Instance Attribute Summary collapse
-
#image_thumbnail ⇒ String
A byte string of a thumbnail image.
-
#image_uri ⇒ String
Image uri from the user bucket.
-
#mime_type ⇒ String
Image format.
-
#signed_uri ⇒ String
Signed uri of the image file in the service bucket.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ImagePayload
constructor
A new instance of GoogleCloudDatalabelingV1beta1ImagePayload.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDatalabelingV1beta1ImagePayload
Returns a new instance of GoogleCloudDatalabelingV1beta1ImagePayload.
2641 2642 2643 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2641 def initialize(**args) update!(**args) end |
Instance Attribute Details
#image_thumbnail ⇒ String
A byte string of a thumbnail image.
Corresponds to the JSON property imageThumbnail
NOTE: Values are automatically base64 encoded/decoded in the client library.
2624 2625 2626 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2624 def image_thumbnail @image_thumbnail end |
#image_uri ⇒ String
Image uri from the user bucket.
Corresponds to the JSON property imageUri
2629 2630 2631 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2629 def image_uri @image_uri end |
#mime_type ⇒ String
Image format.
Corresponds to the JSON property mimeType
2634 2635 2636 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2634 def mime_type @mime_type end |
#signed_uri ⇒ String
Signed uri of the image file in the service bucket.
Corresponds to the JSON property signedUri
2639 2640 2641 |
# File 'generated/google/apis/datalabeling_v1beta1/classes.rb', line 2639 def signed_uri @signed_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2646 2647 2648 2649 2650 2651 |
# File 'generated/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 |