docs: def get_resource(self):
          """Get the :py:class:`Resource` of the resource allocation.
  
          Returns:
              Resource: Resource for this allocation.
  
          .. versionadded:: 1.9
          """
          return Resource(self.rest_client.make_request(self.resource), self.rest_client)