Package com.google.logging.v2
Class LogName
- java.lang.Object
-
- com.google.logging.v2.LogName
-
- All Implemented Interfaces:
com.google.api.resourcenames.ResourceName
@Generated("by gapic-generator-java") public class LogName extends Object implements com.google.api.resourcenames.ResourceName
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
LogName.BillingAccountLogBuilder
Builder for billingAccounts/{billing_account}/logs/{log}.static class
LogName.Builder
Builder for projects/{project}/logs/{log}.static class
LogName.FolderLogBuilder
Builder for folders/{folder}/logs/{log}.static class
LogName.OrganizationLogBuilder
Builder for organizations/{organization}/logs/{log}.
-
Constructor Summary
Constructors Modifier Constructor Description protected
LogName()
Deprecated.
-
Method Summary
-
-
-
Constructor Detail
-
LogName
@Deprecated protected LogName()
Deprecated.
-
-
Method Detail
-
getProject
public String getProject()
-
getLog
public String getLog()
-
getOrganization
public String getOrganization()
-
getFolder
public String getFolder()
-
getBillingAccount
public String getBillingAccount()
-
newBuilder
public static LogName.Builder newBuilder()
-
newProjectLogBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.Builder newProjectLogBuilder()
-
newOrganizationLogBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.OrganizationLogBuilder newOrganizationLogBuilder()
-
newFolderLogBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.FolderLogBuilder newFolderLogBuilder()
-
newBillingAccountLogBuilder
@BetaApi("The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.BillingAccountLogBuilder newBillingAccountLogBuilder()
-
toBuilder
public LogName.Builder toBuilder()
-
ofProjectLogName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofProjectLogName(String project, String log)
-
ofOrganizationLogName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofOrganizationLogName(String organization, String log)
-
ofFolderLogName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofFolderLogName(String folder, String log)
-
ofBillingAccountLogName
@BetaApi("The static create methods are not stable yet and may be changed in the future.") public static LogName ofBillingAccountLogName(String billingAccount, String log)
-
formatProjectLogName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLogName(String project, String log)
-
formatOrganizationLogName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLogName(String organization, String log)
-
formatFolderLogName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLogName(String folder, String log)
-
formatBillingAccountLogName
@BetaApi("The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLogName(String billingAccount, String log)
-
isParsableFrom
public static boolean isParsableFrom(String formattedString)
-
getFieldValuesMap
public Map<String,String> getFieldValuesMap()
- Specified by:
getFieldValuesMap
in interfacecom.google.api.resourcenames.ResourceName
-
getFieldValue
public String getFieldValue(String fieldName)
- Specified by:
getFieldValue
in interfacecom.google.api.resourcenames.ResourceName
-
-