Resource names

Rules for AIP-122, covering resource names.

Rule name Description
camel-case-uris All resource names must use camel case in collection identifiers.
embedded-resource Resource references should not be embedded resources.
name-suffix Fields should not use the suffix `_name`.
no-self-links Resources should not contain self-links.
resource-collection-identifiers Resource patterns must use lowerCamelCase for collection identifiers.
resource-id-output-only Resource ID fields must be classified as `OUTPUT_ONLY`.
resource-reference-type All resource references must be strings.

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