From 9c634bbbbb1514656bfebf628c31f3aad7e030ac Mon Sep 17 00:00:00 2001 From: wenmh-coder Date: Fri, 8 May 2026 13:44:17 -0700 Subject: [PATCH 1/2] Update the doc to reflect that `Expunge` can be called on resources in the `CREATING` state Update the doc to reflect that `Expunge` can be called on resources in the `CREATING` state, in addition to `READY` and `SOFT_DELETED` states. The `Expunge` is a `Delete` mutate with a custom method, the `Delete` operation is support `CREATING` state, so `Expunge` can supports it too. --- aip/general/0164.md | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/aip/general/0164.md b/aip/general/0164.md index 9d4e21a31..0ccf3a6ad 100644 --- a/aip/general/0164.md +++ b/aip/general/0164.md @@ -100,10 +100,9 @@ rpc UndeleteBook(UndeleteBookRequest) returns (google.longrunning.Operation) { ### Expunge -Resources that support soft delete **may** provide an `Expunge` custom method to -allow users to trigger immediate permanent deletion of a ready or soft-deleted -resource. This method can operate on resources that are currently in a ready or -soft-deleted state (e.g., `delete_time` is set). +Resources that support soft delete **may** provide an `Expunge` custom method to +allow users to trigger immediate permanent deletion on resources that are currently +in a `CREATING`, `READY` or `SOFT_DELETED` state (e.g., `delete_time` is set). ```proto // Permanently deletes a soft-deleted Book. From 433f301fcb03ef0a120b76934341cb2e5849f3cb Mon Sep 17 00:00:00 2001 From: wenmh-coder Date: Fri, 8 May 2026 13:55:13 -0700 Subject: [PATCH 2/2] Keep two-sentence structure for Expunge introduction Keep two-sentence structure same as before for Expunge introduction. --- aip/general/0164.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/aip/general/0164.md b/aip/general/0164.md index 0ccf3a6ad..d0f0eed26 100644 --- a/aip/general/0164.md +++ b/aip/general/0164.md @@ -101,8 +101,9 @@ rpc UndeleteBook(UndeleteBookRequest) returns (google.longrunning.Operation) { ### Expunge Resources that support soft delete **may** provide an `Expunge` custom method to -allow users to trigger immediate permanent deletion on resources that are currently -in a `CREATING`, `READY` or `SOFT_DELETED` state (e.g., `delete_time` is set). +allow users to trigger immediate permanent deletion of a resource. This method can +operate on resources that are currently in a `CREATING`, `READY` or `SOFT_DELETED` +state (e.g., `delete_time` is set). ```proto // Permanently deletes a soft-deleted Book.