code: def resource_url(self, entity_id, name, revision):
          '''
          Return the resource url for a given resource on an entity.
  
          @param entity_id The id of the entity to get resource for.
          @param name The name of the resource.
          @param revision The revision of the resource.
          '''
          return '{}/{}/resource/{}/{}'.format(self.url,
                                               _get_path(entity_id),
                                               name,
                                               revisionf resource_url(self, entity_id, name, revision):
          '''
          Return the resource url for a given resource on an entity.
  
          @param entity_id The id of the entity to get resource for.
          @param name The name of the resource.
          @param revision The revision of the resource.
          '''
          return '{}/{}/resource/{}/{}'.format(self.url,
                                               _get_path(entity_id),
                                               name,
                                               revision)
docs: Return the resource url for a given resource on an entity.
  
          @param entity_id The id of the entity to get resource for.
          @param name The name of the resource.
          @param revision The revision of the resource.