.query class.An S4 class to represent a generalised reporting API query.
viewIdThe view ID of the query, as a viewId object
metricsThe metrics to query, an object belonging to the .metrics superclass.
dimensionsThe dimensions of the query, an object belonging to the .dimensions superclass.
sortByThe order and direction of metrics/dimensions to sort by, an object belonging to the .sortBy superclass.
filtersDimension or metrics conditions to filter the rows by, an object belonging to the .tableFilter superclass.
maxResultsAn interger giving the maximum number of rows to return.
credsThe API credentials to use for the query.