Skip to content

Commit 6d6eac9

Browse files
authored
fix(AIP-122): extra ID fields output_only (#1040)
1 parent bd6c4b4 commit 6d6eac9

1 file changed

Lines changed: 5 additions & 2 deletions

File tree

aip/general/0122.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,9 +45,11 @@ the leading slash:
4545
in Normalization Form C (see [AIP-210][]).
4646
- Resources **must** expose a `name` field that contains its resource name.
4747
- Resources **may** provide the resource ID as a separate field (e.g.
48-
`book_id`).
48+
`book_id`). This field **must** apply the
49+
[`OUTPUT_ONLY`](./0203.md#output-only) field behavior classification.
4950
- Resources **may** expose a separate, system-generated unique ID field
50-
(`uid`).
51+
(`uid`). This field **must** apply the
52+
[`OUTPUT_ONLY`](./0203.md#output-only) field behavior classification.
5153
- Resources **must not** expose tuples, self-links, or other forms of
5254
resource identification.
5355
- All ID fields **should** be strings.
@@ -327,6 +329,7 @@ message Book {
327329

328330
## Changelog
329331

332+
- **2023-03-17**: Add `OUTPUT_ONLY` guidance for resource ID fields.
330333
- **2020-10-06**: Added declarative-friendly guidance, and tightened character
331334
set restrictions.
332335
- **2020-10-05**: Clarified when full resource names are used.

0 commit comments

Comments
 (0)