Standard methods: Update

Rules for AIP-134, covering update methods.

Rule name Description
http-body Update methods must have the HTTP body set to the resource.
http-method Update methods must use the PATCH HTTP verb.
http-uri-name Update methods must map the resource's name field to the URI.
method-signature Update RPCs should annotate an appropriate method signature.
request-mask-field Update RPCs must have a field mask in the request.
request-mask-required Update RPCs must have a field mask in the request.
request-message-name Update methods must have standardized request message names.
request-resource-field Update RPCs must have a field for the resource in the request.
request-resource-required Update RPCs must have a field for the resource in the request.
request-unknown-fields Update RPCs should not have unexpected fields in the request.
response-message-name Update methods must return the resource.
synonyms Update methods must be named starting with "Update".

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