Skip to content

Commit fcb674e

Browse files
committed
firestore_database: Deprecate deletion_policy
1 parent 5e64d8d commit fcb674e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

mmv1/products/firestore/Database.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# Copyright 2024 Google Inc.
1+
Copyright 2024 Google Inc.
22
# Licensed under the Apache License, Version 2.0 (the "License");
33
# you may not use this file except in compliance with the License.
44
# You may obtain a copy of the License at
@@ -145,6 +145,7 @@ virtual_fields:
145145
See also `delete_protection`.
146146
type: String
147147
default_value: "ABANDON"
148+
deprecation_message: '`deletion_policy` is deprecated and will be removed in a future major release. Use `delete_protection_state` instead.'
148149
parameters:
149150
properties:
150151
- name: 'name'

0 commit comments

Comments
 (0)