Google Cloud Datalabeling V1beta1 Client - Class ImagePayload (0.1.14)

Reference documentation and code samples for the Google Cloud Datalabeling V1beta1 Client class ImagePayload.

Container of information about an image.

Generated from protobuf message google.cloud.datalabeling.v1beta1.ImagePayload

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ mime_type string

Image format.

↳ image_thumbnail string

A byte string of a thumbnail image.

↳ image_uri string

Image uri from the user bucket.

↳ signed_uri string

Signed uri of the image file in the service bucket.

getMimeType

Image format.

Returns
TypeDescription
string

setMimeType

Image format.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageThumbnail

A byte string of a thumbnail image.

Returns
TypeDescription
string

setImageThumbnail

A byte string of a thumbnail image.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getImageUri

Image uri from the user bucket.

Returns
TypeDescription
string

setImageUri

Image uri from the user bucket.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getSignedUri

Signed uri of the image file in the service bucket.

Returns
TypeDescription
string

setSignedUri

Signed uri of the image file in the service bucket.

Parameter
NameDescription
var string
Returns
TypeDescription
$this