Google Cloud Discovery Engine V1 Client - Class TimeRange (1.6.1)
Stay organized with collections
Save and categorize content based on your preferences.
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 \ 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 |
|