'Populates a single-integer-valued v1 Property.
Args:
entity: the entity to populate
name: the name of the property to populate
value: the integer value of the property
indexed: whether the value should be indexed'

def __v1_integer_property(self, entity, name, value, indexed):

    v1_value = entity.properties[name]
    v1_value.exclude_from_indexes = (not indexed)
    v1_value.integer_value = value
