You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[strong consistency][]: the completion of a delete operation **must** mean
58
58
that the existence of the resource has reached a steady-state and reading
59
59
resource state returns a consistent response.
60
-
60
+
- The API **must** fail with a `FAILED_PRECONDITION` error if child resources
61
+
are present. See guidance on [Cascading Delete](#cascading-delete) if forcing
62
+
deletion of parent and child resources is necessary.
63
+
- If the only child resource type is a [Singleton][aip-156], deletion **must**
64
+
be allowed, because the lifecycle of a Singleton is tied to that of its
65
+
parent resource. This applies even if there are multiple different Singleton
66
+
resource types for the same parent resource.
61
67
62
68
63
69
The Delete method **should** succeed if and only if a resource was present and
@@ -225,6 +231,7 @@ exist, the service **must** error with `NOT_FOUND` (HTTP 404) unless
225
231
[aip-132]: ./0132.md
226
232
[aip-136]: ./0136.md
227
233
[aip-154]: ./0154.md
234
+
[aip-156]: ./0156.md
228
235
[aip-203]: ./0203.md
229
236
[aip-214]: ./0214.md
230
237
[aip-216]: ./0216.md
@@ -239,6 +246,7 @@ exist, the service **must** error with `NOT_FOUND` (HTTP 404) unless
239
246
240
247
## Changelog
241
248
249
+
-**2024-06-11**: Add deletion behavior for parent resource deletion requests without a `force` field.
242
250
-**2023-08-24**: Adding consistency requirement.
243
251
-**2022-06-02:** Changed suffix descriptions to eliminate superfluous "-".
244
252
-**2022-02-02**: Changed eTag error from `FAILED_PRECONDITION` to `ABORTED` making it consistent with change to [AIP-154][] & [AIP-134][etag] on 2021-03-05.
0 commit comments