@Generated(value="by gapic-generator-java") public class QuotaPreferenceName extends Object implements com.google.api.resourcenames.ResourceName
| Modifier and Type | Class and Description |
|---|---|
static class |
QuotaPreferenceName.Builder
Builder for projects/{project}/locations/{location}/quotaPreferences/{quota_preference}.
|
static class |
QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder
Builder for folders/{folder}/locations/{location}/quotaPreferences/{quota_preference}.
|
static class |
QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder
Builder for
organizations/{organization}/locations/{location}/quotaPreferences/{quota_preference}.
|
| Modifier | Constructor and Description |
|---|---|
protected |
QuotaPreferenceName()
Deprecated.
|
@Deprecated protected QuotaPreferenceName()
public String getProject()
public String getLocation()
public String getQuotaPreference()
public String getFolder()
public String getOrganization()
public static QuotaPreferenceName.Builder newBuilder()
public static QuotaPreferenceName.Builder newProjectLocationQuotaPreferenceBuilder()
public static QuotaPreferenceName.FolderLocationQuotaPreferenceBuilder newFolderLocationQuotaPreferenceBuilder()
public static QuotaPreferenceName.OrganizationLocationQuotaPreferenceBuilder newOrganizationLocationQuotaPreferenceBuilder()
public QuotaPreferenceName.Builder toBuilder()
public static QuotaPreferenceName of(String project, String location, String quotaPreference)
public static QuotaPreferenceName ofProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
public static QuotaPreferenceName ofFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
public static QuotaPreferenceName ofOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
public static String formatProjectLocationQuotaPreferenceName(String project, String location, String quotaPreference)
public static String formatFolderLocationQuotaPreferenceName(String folder, String location, String quotaPreference)
public static String formatOrganizationLocationQuotaPreferenceName(String organization, String location, String quotaPreference)
public static QuotaPreferenceName parse(String formattedString)
public static List<QuotaPreferenceName> parseList(List<String> formattedStrings)
public static List<String> toStringList(List<QuotaPreferenceName> 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 © 2025 Google LLC. All rights reserved.