Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions aip/general/0134.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,9 @@ message UpdateBookRequest {
- The field **must** be optional, and the service **must** treat an omitted
field mask as an implied field mask equivalent to all fields that are
populated (have a non-empty value).
- Rationale is that omission of `update_mask` is equivalent on it being
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Rather than include this here, I'd suggest adding a rationale section separately.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Indeed, and I'd take a glance at the guidance in AIP-8 for this section:
image

empty. Marking this field as `REQUIRED` provides no benefit to the API
and results in an inconsistent experience across services.
- Update masks **must** support a special value `*`, meaning full replacement
(the equivalent of `PUT`).
- The request message **must not** contain any other required fields, and
Expand Down