def get_prop_spec(client_factory, spec_type, properties):
    'Builds the Property Spec Object.'
    prop_spec = client_factory.create('ns0:PropertySpec')
    prop_spec.type = spec_type
    prop_spec.pathSet = properties
    return prop_spec
Builds the Property Spec Object.
def get_prop_spec(client_factory, spec_type, properties):
    
    prop_spec = client_factory.create('ns0:PropertySpec')
    prop_spec.type = spec_type
    prop_spec.pathSet = properties
    return prop_spec