Package com.google.cloud.logging
Class Logging.EntryListOption
- java.lang.Object
-
- com.google.cloud.logging.Logging.EntryListOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Logging
public static final class Logging.EntryListOption extends Object
Class for specifying options for listing log entries.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Logging.EntryListOption
billingAccount(String billingAccount)
Returns an option to specify a billingAccount for the log entries to be listed.boolean
equals(Object obj)
static Logging.EntryListOption
filter(String filter)
Returns an option to specify a filter to the log entries to be listed.static Logging.EntryListOption
folder(String folder)
Returns an option to specify a folder for the log entries to be listed.int
hashCode()
static Logging.EntryListOption
organization(String organization)
Returns an option to specify an organization for the log entries to be listed.static Logging.EntryListOption
pageSize(int pageSize)
Returns an option to specify the maximum number of log entries returned per page.static Logging.EntryListOption
pageToken(String pageToken)
Returns an option to specify the page token from which to start listing log entries.static Logging.EntryListOption
sortOrder(Logging.SortingField field, Logging.SortingOrder order)
Returns an option to sort log entries.String
toString()
-
-
-
Method Detail
-
pageSize
public static Logging.EntryListOption pageSize(int pageSize)
Returns an option to specify the maximum number of log entries returned per page.
-
pageToken
public static Logging.EntryListOption pageToken(String pageToken)
Returns an option to specify the page token from which to start listing log entries.
-
sortOrder
public static Logging.EntryListOption sortOrder(Logging.SortingField field, Logging.SortingOrder order)
Returns an option to sort log entries. If not specified, log entries are sorted in ascending (most-recent last) order with respect to theLogEntry.getTimestamp()
value.
-
filter
public static Logging.EntryListOption filter(String filter)
Returns an option to specify a filter to the log entries to be listed.- See Also:
- Advanced Logs Filters
-
organization
public static Logging.EntryListOption organization(String organization)
Returns an option to specify an organization for the log entries to be listed.
-
billingAccount
public static Logging.EntryListOption billingAccount(String billingAccount)
Returns an option to specify a billingAccount for the log entries to be listed.
-
folder
public static Logging.EntryListOption folder(String folder)
Returns an option to specify a folder for the log entries to be listed.
-
-