Reference documentation and code samples for the Google Cloud Discovery Engine V1beta Client class TimeRange.
Used for time-dependent conditions.
Generated from protobuf message google.cloud.discoveryengine.v1beta.Condition.TimeRange
Namespace
Google \ Cloud \ DiscoveryEngine \ V1beta \ ConditionMethods
__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 |
Google\Protobuf\Timestamp|null |
hasStartTime
clearStartTime
setStartTime
Start of time range.
Range is inclusive.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getEndTime
End of time range.
Range is inclusive. Must be in the future.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEndTime
clearEndTime
setEndTime
End of time range.
Range is inclusive. Must be in the future.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |