Reference documentation and code samples for the Google Cloud Vision Ai V1 Client class TemporalPartition.
Partition of asset in UTC Epoch time. Supported by STREAM_VIDEO corpus type.
Generated from protobuf message google.cloud.visionai.v1.Partition.TemporalPartition
Namespace
Google \ Cloud \ VisionAI \ V1 \ PartitionMethods
__construct
Constructor.
| Parameters | |
|---|---|
| Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ start_time |
Google\Protobuf\Timestamp
Start time of the partition. |
↳ end_time |
Google\Protobuf\Timestamp
End time of the partition. |
getStartTime
Start time of the partition.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasStartTime
clearStartTime
setStartTime
Start time of the partition.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|
getEndTime
End time of the partition.
| Returns | |
|---|---|
| Type | Description |
Google\Protobuf\Timestamp|null |
|
hasEndTime
clearEndTime
setEndTime
End time of the partition.
| Parameter | |
|---|---|
| Name | Description |
var |
Google\Protobuf\Timestamp
|
| Returns | |
|---|---|
| Type | Description |
$this |
|