@Generated(value="by gapic-generator-java") public class BillingAccountName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
BillingAccountName.Builder
Builder for billingAccounts/{billing_account}.
|
static class |
BillingAccountName.OrganizationBillingAccountBuilder
Builder for organizations/{organization}/billingAccounts/{billing_account}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
BillingAccountName()
Deprecated.
|
@Deprecated protected BillingAccountName()
public String getBillingAccount()
public String getOrganization()
public static BillingAccountName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountName.Builder newBillingAccountBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static BillingAccountName.OrganizationBillingAccountBuilder newOrganizationBillingAccountBuilder()
public BillingAccountName.Builder toBuilder()
public static BillingAccountName of(String billingAccount)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static BillingAccountName ofBillingAccountName(String billingAccount)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static BillingAccountName ofOrganizationBillingAccountName(String organization, String billingAccount)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountName(String billingAccount)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationBillingAccountName(String organization, String billingAccount)
public static BillingAccountName parse(String formattedString)
public static List<BillingAccountName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<BillingAccountName> values)
public static boolean isParsableFrom(String formattedString)
public Map<String,String> getFieldValuesMap()
getFieldValuesMap in interface com.google.api.resourcenames.ResourceNamepublic String getFieldValue(String fieldName)
getFieldValue in interface com.google.api.resourcenames.ResourceNameCopyright © 2024 Google LLC. All rights reserved.