Skip to content

Commit

Permalink
fix(docs): orderby samples and documentation (#713)
Browse files Browse the repository at this point in the history
Co-authored-by: Stephen <stephenplusplus@users.noreply.github.com>
  • Loading branch information
laljikanjareeya and stephenplusplus committed Feb 19, 2020
1 parent 56a8ed8 commit e703c23
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion samples/logs.js
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ async function listLogEntriesAdvanced(filter, pageSize, orderBy) {
*/
// const filter = 'severity=ERROR';
// const pageSize = 5;
// const orderBy = 'timestamp';
// const orderBy = 'timestamp desc';

const options = {
filter: filter,
Expand Down
2 changes: 1 addition & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -491,7 +491,7 @@ class Logging {
* @property {number} [maxResults] Maximum number of items plus prefixes to
* return.
* @property {string} [orderBy] How the results should be sorted,
* `timestamp` (oldest first) and `timestamp desc` (newest first,
* `timestamp asc` (oldest first) and `timestamp desc` (newest first,
* **default**).
* @property {number} [pageSize] Maximum number of logs to return.
* @property {string} [pageToken] A previously-returned page token
Expand Down

0 comments on commit e703c23

Please sign in to comment.