Package com.google.cloud.logging
Class Logging.TailOption
java.lang.Object
com.google.cloud.logging.Logging.TailOption
- All Implemented Interfaces:
Serializable
- Enclosing interface:
- Logging
Class for specifying options for tailing log entries.
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionstatic 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
static Logging.TailOption
Returns an option to specify a filter to the log entries to be tailed.static Logging.TailOption
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
Returns an option to specify a project for the log entries to be tailed.toString()
-
Method Details
-
filter
Returns an option to specify a filter to the log entries to be tailed.- See Also:
-
bufferWindow
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:
-
organization
Returns an option to specify an organization for the log entries to be tailed. -
billingAccount
Returns an option to specify a billingAccount for the log entries to be tailed. -
folder
Returns an option to specify a folder for the log entries to be tailed. -
project
Returns an option to specify a project for the log entries to be tailed. -
equals
-
hashCode
public int hashCode() -
toString
-