@property
    def id_or_name(self):
        return self.id or self.name
Getter. Based on the last element of path.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/datastore/key.py/Key.id_or_name