Field behavior

Rules for AIP-203, covering field behavior.

Rule name Description
field-behavior-required Field behavior is required, and must have one of OUTPUT_ONLY, REQUIRED, or OPTIONAL.
resource-identifier-only Only the resource's name field can have field behavior IDENTIFIER.
resource-name-identifier Resource name field must have field behavior IDENTIFIER.
unordered-list-repeated Only repeated fields may be annotated with `UNORDERED_LIST`.

Note: Because AIPs sometimes cover topics that have some overlap, some rules related to field behavior may be included in the rules for other AIPs.