Send feedback
Class Logging.TailOption (3.12.1)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.12.1 keyboard_arrow_down
public static final class Logging . TailOption extends Option
Class for specifying options for tailing log entries.
Inheritance
Object >
com.google.cloud.logging.Option >
Logging.TailOption
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 . TailOption billingAccount ( String billingAccount )
Returns an option to specify a billingAccount for the log entries to be tailed.
Parameter
Name
Description
billingAccount
String
Returns
bufferWindow(String duration)
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
Parameter
Name
Description
duration
String
Returns
filter(String filter)
public static Logging . TailOption filter ( String filter )
Parameter
Name
Description
filter
String
Returns
folder(String folder)
public static Logging . TailOption folder ( String folder )
Returns an option to specify a folder for the log entries to be tailed.
Parameter
Name
Description
folder
String
Returns
organization(String organization)
public static Logging . TailOption organization ( String organization )
Returns an option to specify an organization for the log entries to be tailed.
Parameter
Name
Description
organization
String
Returns
project(String project)
public static Logging . TailOption project ( String project )
Returns an option to specify a project for the log entries to be tailed.
Parameter
Name
Description
project
String
Returns
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-09-24 UTC.
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?
{"lastModified": "Last updated 2024-09-24 UTC."}
[[["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-09-24 UTC."]]