Google Cloud Discovery Engine V1 Client - Class TimeRange (1.7.0)

Reference documentation and code samples for the Google Cloud Discovery Engine V1 Client class TimeRange.

Used for time-dependent conditions.

Generated from protobuf message google.cloud.discoveryengine.v1.Condition.TimeRange

Namespace

Google \ Cloud \ DiscoveryEngine \ V1 \ Condition

Methods

__construct

Constructor.

Parameters
Name
Description
data
array

Optional. Data for populating the Message object.

↳ start_time
Google\Protobuf\Timestamp

Start of time range. Range is inclusive.

↳ end_time
Google\Protobuf\Timestamp

End of time range. Range is inclusive. Must be in the future.

getStartTime

Start of time range.

Range is inclusive.

Returns
Type
Description

hasStartTime

clearStartTime

setStartTime

Start of time range.

Range is inclusive.

Parameter
Name
Description
Returns
Type
Description
$this

getEndTime

End of time range.

Range is inclusive. Must be in the future.

Returns
Type
Description

hasEndTime

clearEndTime

setEndTime

End of time range.

Range is inclusive. Must be in the future.

Parameter
Name
Description
Returns
Type
Description
$this
Design a Mobile Site
View Site in Mobile | Classic
Share by: