# Data Object - TaskFilterSpecByTime(vim.TaskFilterSpec.ByTime)

Property of
  TaskFilterSpec
Extends
  DynamicData
See also
  TaskFilterSpecTimeOption

## Data Object Description

This data object type specifies a time range used to filter task history.

Properties

Name | Type | Description
--- | --- | ---
beginTime* | xsd:dateTime | The beginning of the time range. If this property is not specified, then tasks are collected from the earliest time in the database. When this property is specified, the time type field must also be specified.
endTime* | xsd:dateTime | The end of the time range. If this property is not specified, then tasks are collected up to the latest time in the database. When this property is specified, the time type field must also be specified.
timeType | TaskFilterSpecTimeOption | The time stamp to filter: queued, started, or completed time.
Properties inherited from DynamicData
None

*Need not be set
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="TaskFilterSpecByTime"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="timeType" type="vsan:TaskFilterSpecTimeOption"/> <element name="beginTime" type="xsd:dateTime" minOccurs="0"/> <element name="endTime" type="xsd:dateTime" minOccurs="0"/> </sequence> </extension> </complexContent> </complexType>