Send feedback
Class LogDestinationName (3.13.7)
Stay organized with collections
Save and categorize content based on your preferences.
Version 3.13.7 keyboard_arrow_down
public final class LogDestinationName extends Option
Inheritance
Object >
com.google.cloud.logging.Option >
LogDestinationName
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 id)
public static LogDestinationName billingAccount ( String id )
Returns an option which sets and validates project ID resource name for log entries.
Parameter
Returns
folder(String id)
public static LogDestinationName folder ( String id )
Returns an option which sets and validates project ID resource name for log entries.
Parameter
Returns
fromLogName(LogName logName)
public static @Nullable LogDestinationName fromLogName ( LogName logName )
Creates a LogDestinationName
object from given LogName
.
Parameter
Returns
Type
Description
@org.jspecify.nullness.Nullable com.google.cloud.logging.LogDestinationName
organization(String id)
public static LogDestinationName organization ( String id )
Returns an option which sets and validates project ID resource name for log entries.
Parameter
Returns
project(String id)
public static LogDestinationName project ( String id )
Returns an option which sets and validates project ID resource name for log entries.
Parameter
Returns
Methods
getDestinationId()
public String getDestinationId ()
Returns ID value associated with LogDestinationName
object
Returns
getDestinationType()
public LogDestinationName . DestinationType getDestinationType ()
Returns destination type option value associated with LogDestinationName
object
Returns
toLogName(String logId)
public @Nullable LogName toLogName ( String logId )
Creates a LogEntry
object for given log ID.
Parameter
Returns
Type
Description
@org.jspecify.nullness.Nullable com.google.logging.v2.LogName
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-02 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-02 UTC."],[],[]]