Batch methods: Update
Rules for AIP-234, covering batch update methods.
Rule name | Description |
---|---|
http-body | Batch Update methods should use `*` as the HTTP body. |
http-method | Batch Update methods must use the POST HTTP verb. |
http-uri-suffix | Batch Update methods must have the correct URI suffix |
plural-method-name | Batch Update methods must have plural names. |
request-message-name | Batch Update methods must have standardized request message names. |
request-parent-field | Batch Update RPCs must have a `parent` field in the request. |
request-parent-reference | Batch Update requests should annotate the `parent` field with `google.api.resource_reference`. |
request-requests-behavior | Batch Update requests should annotate the `requests` field with `google.api.field_behavior`. |
request-requests-field | Batch Update RPCs should have a `requests` field in the request. |
request-unknown-fields | Batch Update RPCs should not have unexpected fields in the request. |
response-message-name | Batch Update methods must have standardized response message names. |
response-resource-field | Batch Update RPCs must have a repeated field for the resource in the response. |
Note: Because AIPs sometimes cover topics that have some overlap, some rules related to batch update methods may be included in the rules for other AIPs.