str
Required. The parent resource for Attribute. Format:
projects/{project}/locations/{location}
attribute_id
str
Optional. The ID to use for the attribute, which will become
the final component of the attribute's resource name. This
field is optional.
- If provided, the same will be used. The service will
throw an error if the specified id is already used by
another attribute resource in the API hub.
- If not provided, a system generated id will be used.
This value should be 4-500 characters, and valid characters
are /a-z][A-Z][0-9]-_/.
[[["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-07 UTC."],[],[],null,["# Class CreateAttributeRequest (0.2.6)\n\nVersion latestkeyboard_arrow_down\n\n- [0.2.6 (latest)](/python/docs/reference/google-cloud-apihub/latest/google.cloud.apihub_v1.types.CreateAttributeRequest)\n- [0.2.5](/python/docs/reference/google-cloud-apihub/0.2.5/google.cloud.apihub_v1.types.CreateAttributeRequest) \n\n CreateAttributeRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)\n\nThe CreateAttribute\nmethod's request."]]