Google_Service_ShoppingContent_Datafeedstatuses_Resource

The "datafeedstatuses" collection of methods.

Defined (1)

The class is defined in the following location(s).

/includes/api-libs/Google/Service/ShoppingContent.php  
  1. class Google_Service_ShoppingContent_Datafeedstatuses_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * (datafeedstatuses.custombatch) 
  5. * @param Google_DatafeedstatusesCustomBatchRequest $postBody 
  6. * @param array $optParams Optional parameters. 
  7. * @return Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse 
  8. */ 
  9. public function custombatch(Google_Service_ShoppingContent_DatafeedstatusesCustomBatchRequest $postBody, $optParams = array()) 
  10. $params = array('postBody' => $postBody); 
  11. $params = array_merge($params, $optParams); 
  12. return $this->call('custombatch', array($params), "Google_Service_ShoppingContent_DatafeedstatusesCustomBatchResponse"); 
  13.  
  14. /** 
  15. * Retrieves the status of a datafeed from your Merchant Center account. 
  16. * (datafeedstatuses.get) 
  17. * @param string $merchantId 
  18. * @param string $datafeedId 
  19. * @param array $optParams Optional parameters. 
  20. * @return Google_Service_ShoppingContent_DatafeedStatus 
  21. */ 
  22. public function get($merchantId, $datafeedId, $optParams = array()) 
  23. $params = array('merchantId' => $merchantId, 'datafeedId' => $datafeedId); 
  24. $params = array_merge($params, $optParams); 
  25. return $this->call('get', array($params), "Google_Service_ShoppingContent_DatafeedStatus"); 
  26.  
  27. /** 
  28. * Lists the statuses of the datafeeds in your Merchant Center account. 
  29. * (datafeedstatuses.listDatafeedstatuses) 
  30. * @param string $merchantId The ID of the managing account. 
  31. * @param array $optParams Optional parameters. 
  32. * @opt_param string pageToken The token returned by the previous request. 
  33. * @opt_param string maxResults The maximum number of products to return in the 
  34. * response, used for paging. 
  35. * @return Google_Service_ShoppingContent_DatafeedstatusesListResponse 
  36. */ 
  37. public function listDatafeedstatuses($merchantId, $optParams = array()) 
  38. $params = array('merchantId' => $merchantId); 
  39. $params = array_merge($params, $optParams); 
  40. return $this->call('list', array($params), "Google_Service_ShoppingContent_DatafeedstatusesListResponse");