Reference documentation and code samples for the Cloud AutoML V1 Client class Image.
A representation of an image.
Only images up to 30MB in size are supported.
Generated from protobuf message google.cloud.automl.v1.Image
Namespace
Google \ Cloud \ AutoMl \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ image_bytes
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
string
Output only. HTTP URI to the thumbnail image.
getImageBytes
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.
string
hasImageBytes
setImageBytes
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.
var
string
$this
getThumbnailUri
Output only. HTTP URI to the thumbnail image.
string
setThumbnailUri
Output only. HTTP URI to the thumbnail image.
var
string
$this
getData
string