Google Cloud Datalabeling V1beta1 Client - Class ImagePayload (0.5.5)

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

Namespace

Google \ Cloud \ DataLabeling \ V1beta1

Methods

__construct

Constructor.

Parameters
Name Description
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
Type Description
string

setMimeType

Image format.

Parameter
Name Description
var string
Returns
Type Description
$this

getImageThumbnail

A byte string of a thumbnail image.

Returns
Type Description
string

setImageThumbnail

A byte string of a thumbnail image.

Parameter
Name Description
var string
Returns
Type Description
$this

getImageUri

Image uri from the user bucket.

Returns
Type Description
string

setImageUri

Image uri from the user bucket.

Parameter
Name Description
var string
Returns
Type Description
$this

getSignedUri

Signed uri of the image file in the service bucket.

Returns
Type Description
string

setSignedUri

Signed uri of the image file in the service bucket.

Parameter
Name Description
var string
Returns
Type Description
$this