code: def compute_service_descriptor(price, consume_endpoint, service_endpoint, timeout):
          
          return (ServiceTypes.CLOUD_COMPUTE,
                  {'price': price, 'consumeEndpoint': consume_endpoint,
                   'serviceEndpoint': service_endpoint,
                   'timeout': timeout})
docs: Compute service descriptor.
  
          :param price: Asset price, int
          :param consume_endpoint: url of the service provider, str
          :param service_endpoint: identifier of the service inside the asset DDO, str
          :param timeout: amount of time in seconds before the agreement expires, int
          :return: Service descriptor.