# Data Object - ObjectSpec(vmodl.query.PropertyCollector.ObjectSpec)

Property of
  PropertyFilterSpec
Extends
  DynamicData
See also
  SelectionSpec
Since
  vmodl.query.version.version1

## Data Object Description

Within a PropertyFilterSpec, the ObjectSpec data object type specifies the managed object at which the filter begins to collect the managed object references and properties specified by the associated PropertySpec set. If the "skip" property is present and set to true, then the filter does not check to see if the starting object's type matches any of the types listed in the associated sets of PropertySpec data objects.

If the selectSet property is present, then this specifies additional objects to filter. These objects are defined by one or more SelectionSpec objects.

Properties

Name | Type | Description
--- | --- | ---
obj P | ManagedObjectReference | Starting object.
selectSet* | SelectionSpec[] | Set of selections to specify additional objects to filter.
skip* | xsd:boolean | Flag to specify whether or not to report this managed object's properties. If the flag is true, the filter will not report this managed object's properties.
Properties inherited from DynamicData
None

*Need not be set P Required privilege: System.View
Show WSDL type definition
<complexType xmlns="http://www.w3.org/2001/XMLSchema" xmlns:vsan="urn:vsan" name="ObjectSpec"> <complexContent> <extension base="vsan:DynamicData"> <sequence> <element name="obj" type="vsan:ManagedObjectReference"/> <element name="skip" type="xsd:boolean" minOccurs="0"/> <element name="selectSet" type="vsan:SelectionSpec" minOccurs="0" maxOccurs="unbounded"/> </sequence> </extension> </complexContent> </complexType>