public function listLogStores(ListLogStoresRequest $request)
    {
        $headers  = array();
        $params   = array();
        $resource = '/logstores';
        $project  = $request->getProject() !== null ? $request->getProject() : '';
        list ( $resp, $header ) = $this->send("GET", $project, null, $resource, $params, $headers);
        $requestId = isset ( $header ['x-log-requestid'] ) ? $header ['x-log-requestid'] : '';
        $resp      = $this->parseToJson($resp, $requestId);

        return new ListLogStoresResponse ($resp, $header);
    }
public function listLogStores(ListLogStoresRequest $request)
    {
        $headers  = array();
        $params   = array();
        $resource = '/logstores';
        $project  = $request->getProject() !== null ? $request->getProject() : '';
        list ( $resp, $header ) = $this->send("GET", $project, null, $resource, $params, $headers);
        $requestId = isset ( $header ['x-log-requestid'] ) ? $header ['x-log-requestid'] : '';
        $resp      = $this->parseToJson($resp, $requestId);

        return new ListLogStoresResponse ($resp, $header);
    }
public function listLogStores ( ListLogStoresRequest $ request ) { $ headers = array ( ) ; $ params = array ( ) ; $ resource = '/logstores' ; $ project = $ request -> getProject ( ) !== null ? $ request -> getProject ( ) : '' ; list ( $ resp , $ header ) = $ this -> send ( "GET" , $ project , null , $ resource , $ params , $ headers ) ; $ requestId = isset ( $ header [ 'x-log-requestid' ] ) ? $ header [ 'x-log-requestid' ] : '' ; $ resp = $ this -> parseToJson ( $ resp , $ requestId ) ; return new ListLogStoresResponse ( $ resp , $ header ) ; }
List all logStores of requested project.
Unsuccessful operation will cause an Exception.

@param ListLogStoresRequest $request the ListLogStores request parameters class.

@throws Exception
@return ListLogStoresResponse
List all logStores of requested project . Unsuccessful operation will cause an Exception .