code: def createHook(self, *args, **kwargs):
          
  
          return self._makeApiCall(self.funcinfo["createHook"], *args, **kwargs)
docs: Create a hook
  
          This endpoint will create a new hook.
  
          The caller's credentials must include the role that will be used to
          create the task.  That role must satisfy task.scopes as well as the
          necessary scopes to add the task to the queue.
  
          This method takes input: ``v1/create-hook-request.json#``
  
          This method gives output: ``v1/hook-definition.json#``
  
          This method is ``stable``