@Generated(value="by gapic-generator-java") public class SettingsName extends Object implements com.google.api.resourcenames.ResourceName
Modifier and Type | Class and Description |
---|---|
static class |
SettingsName.BillingAccountBuilder
Builder for billingAccounts/{billing_account}/settings.
|
static class |
SettingsName.Builder
Builder for projects/{project}/settings.
|
static class |
SettingsName.FolderBuilder
Builder for folders/{folder}/settings.
|
static class |
SettingsName.OrganizationBuilder
Builder for organizations/{organization}/settings.
|
Modifier | Constructor and Description |
---|---|
protected |
SettingsName()
Deprecated.
|
@Deprecated protected SettingsName()
public String getProject()
public String getOrganization()
public String getFolder()
public String getBillingAccount()
public static SettingsName.Builder newBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.Builder newProjectBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.OrganizationBuilder newOrganizationBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.FolderBuilder newFolderBuilder()
@BetaApi(value="The per-pattern Builders are not stable yet and may be changed in the future.") public static SettingsName.BillingAccountBuilder newBillingAccountBuilder()
public SettingsName.Builder toBuilder()
public static SettingsName of(String project)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofProjectName(String project)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofOrganizationName(String organization)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofFolderName(String folder)
@BetaApi(value="The static create methods are not stable yet and may be changed in the future.") public static SettingsName ofBillingAccountName(String billingAccount)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatProjectName(String project)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatOrganizationName(String organization)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatFolderName(String folder)
@BetaApi(value="The static format methods are not stable yet and may be changed in the future.") public static String formatBillingAccountName(String billingAccount)
public static SettingsName parse(String formattedString)
public static List<SettingsName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<SettingsName> values)
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.