Reference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::Image.
A representation of an image.
Only images up to 30MB in size are supported.
Inherits
Object
Extended By
Google::Protobuf::MessageExts::ClassMethods
Includes
Google::Protobuf::MessageExts
Methods
#image_bytes
defimage_bytes()->::String
Returns
(::String) — Image content represented as a stream of bytes.
Note: As with all bytes fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
#image_bytes=
defimage_bytes=(value)->::String
Parameter
value (::String) — Image content represented as a stream of bytes.
Note: As with all bytes fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
Returns
(::String) — Image content represented as a stream of bytes.
Note: As with all bytes fields, protobuffers use a pure binary
representation, whereas JSON representations use base64.
#thumbnail_uri
defthumbnail_uri()->::String
Returns
(::String) — Output only. HTTP URI to the thumbnail image.
#thumbnail_uri=
defthumbnail_uri=(value)->::String
Parameter
value (::String) — Output only. HTTP URI to the thumbnail image.
Returns
(::String) — Output only. HTTP URI to the thumbnail image.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[],[],null,["# Cloud AutoML V1 API - Class Google::Cloud::AutoML::V1::Image (v1.3.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.1 (latest)](/ruby/docs/reference/google-cloud-automl-v1/latest/Google-Cloud-AutoML-V1-Image)\n- [1.3.0](/ruby/docs/reference/google-cloud-automl-v1/1.3.0/Google-Cloud-AutoML-V1-Image)\n- [1.2.1](/ruby/docs/reference/google-cloud-automl-v1/1.2.1/Google-Cloud-AutoML-V1-Image)\n- [1.1.0](/ruby/docs/reference/google-cloud-automl-v1/1.1.0/Google-Cloud-AutoML-V1-Image)\n- [1.0.1](/ruby/docs/reference/google-cloud-automl-v1/1.0.1/Google-Cloud-AutoML-V1-Image)\n- [0.10.0](/ruby/docs/reference/google-cloud-automl-v1/0.10.0/Google-Cloud-AutoML-V1-Image)\n- [0.9.2](/ruby/docs/reference/google-cloud-automl-v1/0.9.2/Google-Cloud-AutoML-V1-Image)\n- [0.8.0](/ruby/docs/reference/google-cloud-automl-v1/0.8.0/Google-Cloud-AutoML-V1-Image)\n- [0.7.0](/ruby/docs/reference/google-cloud-automl-v1/0.7.0/Google-Cloud-AutoML-V1-Image)\n- [0.6.0](/ruby/docs/reference/google-cloud-automl-v1/0.6.0/Google-Cloud-AutoML-V1-Image)\n- [0.5.1](/ruby/docs/reference/google-cloud-automl-v1/0.5.1/Google-Cloud-AutoML-V1-Image)\n- [0.4.8](/ruby/docs/reference/google-cloud-automl-v1/0.4.8/Google-Cloud-AutoML-V1-Image) \nReference documentation and code samples for the Cloud AutoML V1 API class Google::Cloud::AutoML::V1::Image.\n\nA representation of an image.\nOnly images up to 30MB in size are supported. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #image_bytes\n\n def image_bytes() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Image content represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.\n\n### #image_bytes=\n\n def image_bytes=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Image content represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64. \n**Returns**\n\n- (::String) --- Image content represented as a stream of bytes. Note: As with all `bytes` fields, protobuffers use a pure binary representation, whereas JSON representations use base64.\n\n### #thumbnail_uri\n\n def thumbnail_uri() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Output only. HTTP URI to the thumbnail image.\n\n### #thumbnail_uri=\n\n def thumbnail_uri=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Output only. HTTP URI to the thumbnail image. \n**Returns**\n\n- (::String) --- Output only. HTTP URI to the thumbnail image."]]