public function listProjectsHistories($projectId, $optParams = array())
  {
    $params = array('projectId' => $projectId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_ToolResults_ListHistoriesResponse");
  }
public function listProjectsHistories($projectId, $optParams = array())
  {
    $params = array('projectId' => $projectId);
    $params = array_merge($params, $optParams);
    return $this->call('list', array($params), "Google_Service_ToolResults_ListHistoriesResponse");
  }
public function listProjectsHistories ( $ projectId , $ optParams = array ( ) ) { $ params = array ( 'projectId' => $ projectId ) ; $ params = array_merge ( $ params , $ optParams ) ; return $ this -> call ( 'list' , array ( $ params ) , "Google_Service_ToolResults_ListHistoriesResponse" ) ; }
Lists Histories for a given Project.

The histories are sorted by modification time in descending order. The
history_id key will be used to order the history with the same modification
time.

May return any of the following canonical error codes:

- PERMISSION_DENIED - if the user is not authorized to read project -
INVALID_ARGUMENT - if the request is malformed - NOT_FOUND - if the History
does not exist (histories.listProjectsHistories)

@param string $projectId A Project id.

Required.
@param array $optParams Optional parameters.

@opt_param string filterByName If set, only return histories with the given
name.

Optional.
@opt_param int pageSize The maximum number of Histories to fetch.

Default value: 20. The server will use this default if the field is not set
or has a value of 0. Any value greater than 100 will be treated as 100.

Optional.
@opt_param string pageToken A continuation token to resume the query at the
next item.

Optional.
@return Google_Service_ToolResults_ListHistoriesResponse
Lists Histories for a given Project .