|
17 | 17 | package com.google.api.services.redis.v1beta1.model; |
18 | 18 |
|
19 | 19 | /** |
20 | | - * Common model for database resource instance metadata. Next ID: 29 |
| 20 | + * Common model for database resource instance metadata. Next ID: 30 |
21 | 21 | * |
22 | 22 | * <p> This is the Java data model class that specifies how to parse/serialize into the JSON that is |
23 | 23 | * transmitted over HTTP when working with the Google Cloud Memorystore for Redis API. For a |
@@ -124,6 +124,13 @@ public final class DatabaseResourceMetadata extends com.google.api.client.json.G |
124 | 124 | @com.google.api.client.util.Key |
125 | 125 | private java.lang.String instanceType; |
126 | 126 |
|
| 127 | + /** |
| 128 | + * Optional. Whether deletion protection is enabled for this resource. |
| 129 | + * The value may be {@code null}. |
| 130 | + */ |
| 131 | + @com.google.api.client.util.Key |
| 132 | + private java.lang.Boolean isDeletionProtectionEnabled; |
| 133 | + |
127 | 134 | /** |
128 | 135 | * The resource location. REQUIRED |
129 | 136 | * The value may be {@code null}. |
@@ -451,6 +458,23 @@ public DatabaseResourceMetadata setInstanceType(java.lang.String instanceType) { |
451 | 458 | return this; |
452 | 459 | } |
453 | 460 |
|
| 461 | + /** |
| 462 | + * Optional. Whether deletion protection is enabled for this resource. |
| 463 | + * @return value or {@code null} for none |
| 464 | + */ |
| 465 | + public java.lang.Boolean getIsDeletionProtectionEnabled() { |
| 466 | + return isDeletionProtectionEnabled; |
| 467 | + } |
| 468 | + |
| 469 | + /** |
| 470 | + * Optional. Whether deletion protection is enabled for this resource. |
| 471 | + * @param isDeletionProtectionEnabled isDeletionProtectionEnabled or {@code null} for none |
| 472 | + */ |
| 473 | + public DatabaseResourceMetadata setIsDeletionProtectionEnabled(java.lang.Boolean isDeletionProtectionEnabled) { |
| 474 | + this.isDeletionProtectionEnabled = isDeletionProtectionEnabled; |
| 475 | + return this; |
| 476 | + } |
| 477 | + |
454 | 478 | /** |
455 | 479 | * The resource location. REQUIRED |
456 | 480 | * @return value or {@code null} for none |
|
0 commit comments