Google_Service_GamesConfiguration_ImageConfigurations_Resource

The "imageConfigurations" collection of methods.

Defined (1)

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

/includes/api-libs/Google/Service/GamesConfiguration.php  
  1. class Google_Service_GamesConfiguration_ImageConfigurations_Resource extends Google_Service_Resource 
  2.  
  3. /** 
  4. * Uploads an image for a resource with the given ID and image type. 
  5. * (imageConfigurations.upload) 
  6. * @param string $resourceId The ID of the resource used by this method. 
  7. * @param string $imageType Selects which image in a resource for this method. 
  8. * @param array $optParams Optional parameters. 
  9. * @return Google_Service_GamesConfiguration_ImageConfiguration 
  10. */ 
  11. public function upload($resourceId, $imageType, $optParams = array()) 
  12. $params = array('resourceId' => $resourceId, 'imageType' => $imageType); 
  13. $params = array_merge($params, $optParams); 
  14. return $this->call('upload', array($params), "Google_Service_GamesConfiguration_ImageConfiguration");