Google Cloud Vision Ai V1 Client - Class DateTimeRange (0.1.0)

Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class DateTimeRange.

Datetime range type.

Generated from protobuf message google.cloud.visionai.v1.DateTimeRange

Namespace

Google \ Cloud \ VisionAI \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ start Google\Type\DateTime

Start date time.

↳ end Google\Type\DateTime

End data time.

getStart

Start date time.

Returns
Type Description
Google\Type\DateTime|null

hasStart

clearStart

setStart

Start date time.

Parameter
Name Description
var Google\Type\DateTime
Returns
Type Description
$this

getEnd

End data time.

Returns
Type Description
Google\Type\DateTime|null

hasEnd

clearEnd

setEnd

End data time.

Parameter
Name Description
var Google\Type\DateTime
Returns
Type Description
$this