Package com.google.cloud.logging
Class Logging.TailOption
- java.lang.Object
-
- com.google.cloud.logging.Logging.TailOption
-
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Logging
public static final class Logging.TailOption extends Object
Class for specifying options for tailing log entries.- See Also:
- Serialized Form
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static Logging.TailOption
billingAccount(String billingAccount)
Returns an option to specify a billingAccount for the log entries to be tailed.static Logging.TailOption
bufferWindow(String duration)
Returns an option to specify the amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries.boolean
equals(Object obj)
static Logging.TailOption
filter(String filter)
Returns an option to specify a filter to the log entries to be tailed.static Logging.TailOption
folder(String folder)
Returns an option to specify a folder for the log entries to be tailed.int
hashCode()
static Logging.TailOption
organization(String organization)
Returns an option to specify an organization for the log entries to be tailed.static Logging.TailOption
project(String project)
Returns an option to specify a project for the log entries to be tailed.String
toString()
-
-
-
Method Detail
-
filter
public static Logging.TailOption filter(String filter)
Returns an option to specify a filter to the log entries to be tailed.- See Also:
- Advanced Logs Filters
-
bufferWindow
public static Logging.TailOption bufferWindow(String duration)
Returns an option to specify the amount of time to buffer log entries at the server before being returned to prevent out of order results due to late arriving log entries. Valid values are between 0-60000 ms. Default is 2000 ms.- See Also:
- Duration format
-
organization
public static Logging.TailOption organization(String organization)
Returns an option to specify an organization for the log entries to be tailed.
-
billingAccount
public static Logging.TailOption billingAccount(String billingAccount)
Returns an option to specify a billingAccount for the log entries to be tailed.
-
folder
public static Logging.TailOption folder(String folder)
Returns an option to specify a folder for the log entries to be tailed.
-
project
public static Logging.TailOption project(String project)
Returns an option to specify a project for the log entries to be tailed.
-
-