Send feedback
Class Logging.EntryListOption (3.20.6)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public static final class Logging . EntryListOption extends Option
Class for specifying options for listing log entries.
Inheritance
Object >
com.google.cloud.logging.Option >
Logging.EntryListOption
Inherited Members
com.google.cloud.logging.Option.equals(java.lang.Object)
com.google.cloud.logging.Option.hashCode()
com.google.cloud.logging.Option.toString()
Static Methods
billingAccount(String billingAccount)
public static Logging . EntryListOption billingAccount ( String billingAccount )
Returns an option to specify a billingAccount for the log entries to be listed.
Parameter
Name
Description
billingAccount
String
filter(String filter)
public static Logging . EntryListOption filter ( String filter )
Parameter
Name
Description
filter
String
folder(String folder)
public static Logging . EntryListOption folder ( String folder )
Returns an option to specify a folder for the log entries to be listed.
Parameter
Name
Description
folder
String
organization(String organization)
public static Logging . EntryListOption organization ( String organization )
Returns an option to specify an organization for the log entries to be listed.
Parameter
Name
Description
organization
String
pageSize(int pageSize)
public static Logging . EntryListOption pageSize ( int pageSize )
Returns an option to specify the maximum number of log entries returned per page.
Parameter
Name
Description
pageSize
int
pageToken(String pageToken)
public static Logging . EntryListOption pageToken ( String pageToken )
Returns an option to specify the page token from which to start listing log entries.
Parameter
Name
Description
pageToken
String
sortOrder(Logging.SortingField field, Logging.SortingOrder order)
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 the LogEntry#getTimestamp() value.
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2024-11-19 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-11-19 UTC."],[],[]]