private function applyPartition(\stdClass $obj_request) {
        $obj_request->partitionId = (object)[
            'projectId' => $this->str_dataset_id
        ];
        if(null !== $this->str_namespace) {
            $obj_request->partitionId->namespaceId = $this->str_namespace;
        }
        return $obj_request;
    }
private function applyPartition(\stdClass $obj_request) {
        $obj_request->partitionId = (object)[
            'projectId' => $this->str_dataset_id
        ];
        if(null !== $this->str_namespace) {
            $obj_request->partitionId->namespaceId = $this->str_namespace;
        }
        return $obj_request;
    }
private function applyPartition ( \ stdClass $ obj_request ) { $ obj_request -> partitionId = ( object ) [ 'projectId' => $ this -> str_dataset_id ] ; if ( null !== $ this -> str_namespace ) { $ obj_request -> partitionId -> namespaceId = $ this -> str_namespace ; } return $ obj_request ; }
Apply project and namespace to a query

@param \stdClass $obj_request
@return \stdClass
Apply project and namespace to a query