[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-28 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003eResourceName\u003c/code\u003e API is 2.46.1, with previous versions ranging from 2.45.0 down to 2.1.2.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eResourceName\u003c/code\u003e is an interface that resource name types are required to implement.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetFieldValue(String fieldName)\u003c/code\u003e method returns the string value of a specified field name or null if the field is not found.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetFieldValuesMap()\u003c/code\u003e method provides a map of field names paired with their respective string values.\u003c/p\u003e\n"]]],[],null,["# Interface ResourceName (2.52.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.52.0 (latest)](/java/docs/reference/api-common/latest/com.google.api.resourcenames.ResourceName)\n- [2.51.2](/java/docs/reference/api-common/2.51.2/com.google.api.resourcenames.ResourceName)\n- [2.50.0](/java/docs/reference/api-common/2.50.0/com.google.api.resourcenames.ResourceName)\n- [2.49.0](/java/docs/reference/api-common/2.49.0/com.google.api.resourcenames.ResourceName)\n- [2.48.0](/java/docs/reference/api-common/2.48.0/com.google.api.resourcenames.ResourceName)\n- [2.46.1](/java/docs/reference/api-common/2.46.1/com.google.api.resourcenames.ResourceName)\n- [2.45.0](/java/docs/reference/api-common/2.45.0/com.google.api.resourcenames.ResourceName)\n- [2.44.0](/java/docs/reference/api-common/2.44.0/com.google.api.resourcenames.ResourceName)\n- [2.43.0](/java/docs/reference/api-common/2.43.0/com.google.api.resourcenames.ResourceName)\n- [2.42.1](/java/docs/reference/api-common/2.42.1/com.google.api.resourcenames.ResourceName)\n- [2.41.0](/java/docs/reference/api-common/2.41.0/com.google.api.resourcenames.ResourceName)\n- [2.40.0](/java/docs/reference/api-common/2.40.0/com.google.api.resourcenames.ResourceName)\n- [2.38.0](/java/docs/reference/api-common/2.38.0/com.google.api.resourcenames.ResourceName)\n- [2.37.1](/java/docs/reference/api-common/2.37.1/com.google.api.resourcenames.ResourceName)\n- [2.36.0](/java/docs/reference/api-common/2.36.0/com.google.api.resourcenames.ResourceName)\n- [2.35.0](/java/docs/reference/api-common/2.35.0/com.google.api.resourcenames.ResourceName)\n- [2.34.0](/java/docs/reference/api-common/2.34.0/com.google.api.resourcenames.ResourceName)\n- [2.33.0](/java/docs/reference/api-common/2.33.0/com.google.api.resourcenames.ResourceName)\n- [2.32.0](/java/docs/reference/api-common/2.32.0/com.google.api.resourcenames.ResourceName)\n- [2.31.1](/java/docs/reference/api-common/2.31.1/com.google.api.resourcenames.ResourceName)\n- [2.30.0](/java/docs/reference/api-common/2.30.0/com.google.api.resourcenames.ResourceName)\n- [2.29.1](/java/docs/reference/api-common/2.29.1/com.google.api.resourcenames.ResourceName)\n- [2.28.0](/java/docs/reference/api-common/2.28.0/com.google.api.resourcenames.ResourceName)\n- [2.26.0](/java/docs/reference/api-common/2.26.0/com.google.api.resourcenames.ResourceName)\n- [2.25.0](/java/docs/reference/api-common/2.25.0/com.google.api.resourcenames.ResourceName)\n- [2.24.0](/java/docs/reference/api-common/2.24.0/com.google.api.resourcenames.ResourceName)\n- [2.22.0](/java/docs/reference/api-common/2.22.0/com.google.api.resourcenames.ResourceName)\n- [2.21.0](/java/docs/reference/api-common/2.21.0/com.google.api.resourcenames.ResourceName)\n- [2.20.0](/java/docs/reference/api-common/2.20.0/com.google.api.resourcenames.ResourceName)\n- [2.19.0](/java/docs/reference/api-common/2.19.0/com.google.api.resourcenames.ResourceName)\n- [2.18.0](/java/docs/reference/api-common/2.18.0/com.google.api.resourcenames.ResourceName)\n- [2.17.1](/java/docs/reference/api-common/2.17.1/com.google.api.resourcenames.ResourceName)\n- [2.16.0](/java/docs/reference/api-common/2.16.0/com.google.api.resourcenames.ResourceName)\n- [2.15.1](/java/docs/reference/api-common/2.15.1/com.google.api.resourcenames.ResourceName)\n- [2.14.1](/java/docs/reference/api-common/2.14.1/com.google.api.resourcenames.ResourceName)\n- [2.13.1](/java/docs/reference/api-common/2.13.1/com.google.api.resourcenames.ResourceName)\n- [2.7.0](/java/docs/reference/api-common/2.7.0/com.google.api.resourcenames.ResourceName)\n- [2.6.3](/java/docs/reference/api-common/2.6.3/com.google.api.resourcenames.ResourceName)\n- [2.5.0](/java/docs/reference/api-common/2.5.0/com.google.api.resourcenames.ResourceName)\n- [2.4.0](/java/docs/reference/api-common/2.4.0/com.google.api.resourcenames.ResourceName)\n- [2.3.1](/java/docs/reference/api-common/2.3.1/com.google.api.resourcenames.ResourceName)\n- [2.1.2](/java/docs/reference/api-common/2.1.2/com.google.api.resourcenames.ResourceName) \n\n public interface ResourceName\n\nAn interface that generated resource name types must implement.\n\nMethods\n-------\n\n### getFieldValue(String fieldName)\n\n public abstract String getFieldValue(String fieldName)\n\nReturn the String value of the field with name fieldName. Returns null if the fieldName was not\nfound.\n\n### getFieldValuesMap()\n\n public abstract Map\u003cString,String\u003e getFieldValuesMap()\n\nReturn the map of each field name to its value."]]