@Generated(value="by gapic-generator-java") public class LogName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and 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}.
|
Modifier | Constructor and Description |
---|---|
protected |
LogName()
Deprecated.
|
@Deprecated protected LogName()
public String getProject()
public String getLog()
public String getOrganization()
public String getFolder()
public String getBillingAccount()
public static LogName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.Builder newProjectLogBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.OrganizationLogBuilder newOrganizationLogBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.FolderLogBuilder newFolderLogBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static LogName.BillingAccountLogBuilder newBillingAccountLogBuilder()
public LogName.Builder toBuilder()
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogName ofProjectLogName(String project, String log)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogName ofOrganizationLogName(String organization, String log)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogName ofFolderLogName(String folder, String log)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static LogName ofBillingAccountLogName(String billingAccount, String log)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectLogName(String project, String log)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationLogName(String organization, String log)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderLogName(String folder, String log)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountLogName(String billingAccount, String log)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap
in interface com.google.api.resourcenames.ResourceName
public String getFieldValue(String fieldName)
getFieldValue
in interface com.google.api.resourcenames.ResourceName
Copyright © 2023 Google LLC. All rights reserved.