Reference documentation and code samples for the Google Cloud Ces V1 Client class Image.
Represents an image input or output in the conversation.
Generated from protobuf message google.cloud.ces.v1.Image
Namespace
Google \ Cloud \ Ces \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ mime_type
string
Required. The IANA standard MIME type of the source data. Supported image types includes: * * image/png * * image/jpeg * * image/webp
↳ data
string
Required. Raw bytes of the image.
getMimeType
Required. The IANA standard MIME type of the source data.
Supported image types includes:
- image/png
- image/jpeg
- image/webp
string
setMimeType
Required. The IANA standard MIME type of the source data.
Supported image types includes:
- image/png
- image/jpeg
- image/webp
var
string
$this
getData
Required. Raw bytes of the image.
string
setData
Required. Raw bytes of the image.
var
string
$this

