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:
  • Method Details

    • filter

      public static Logging.TailOption filter(String filter)
      Returns an option to specify a filter to the log entries to be tailed.
      See Also:
    • 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:
    • 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.
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object