def build_object_spec(client_factory, root_folder, traversal_specs):
    object_spec = client_factory.create('ns0:ObjectSpec')
    object_spec.obj = root_folder
    object_spec.skip = False
    object_spec.selectSet = traversal_specs
    return object_spec
Builds the object spec.
dataset/ETHPy150Open openstack/oslo.vmware/oslo_vmware/vim_util.py/build_object_spec