Skip to content

Commit 786fdb1

Browse files
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - schemas.DatabaseResourceMetadata.properties.isDeletionProtectionEnabled.description - schemas.DatabaseResourceMetadata.properties.isDeletionProtectionEnabled.type The following keys were changed: - schemas.DatabaseResourceMetadata.description #### redis:v1 The following keys were added: - schemas.DatabaseResourceMetadata.properties.isDeletionProtectionEnabled.description - schemas.DatabaseResourceMetadata.properties.isDeletionProtectionEnabled.type The following keys were changed: - schemas.DatabaseResourceMetadata.description
1 parent 046bf82 commit 786fdb1

File tree

4 files changed

+22
-6
lines changed

4 files changed

+22
-6
lines changed

discovery/redis-v1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@
10781078
}
10791079
}
10801080
},
1081-
"revision": "20251021",
1081+
"revision": "20251104",
10821082
"rootUrl": "https://redis.googleapis.com/",
10831083
"schemas": {
10841084
"AOFConfig": {
@@ -2608,7 +2608,7 @@
26082608
"type": "object"
26092609
},
26102610
"DatabaseResourceMetadata": {
2611-
"description": "Common model for database resource instance metadata. Next ID: 29",
2611+
"description": "Common model for database resource instance metadata. Next ID: 30",
26122612
"id": "DatabaseResourceMetadata",
26132613
"properties": {
26142614
"availabilityConfiguration": {
@@ -2751,6 +2751,10 @@
27512751
],
27522752
"type": "string"
27532753
},
2754+
"isDeletionProtectionEnabled": {
2755+
"description": "Optional. Whether deletion protection is enabled for this resource.",
2756+
"type": "boolean"
2757+
},
27542758
"location": {
27552759
"description": "The resource location. REQUIRED",
27562760
"type": "string"

discovery/redis-v1beta1.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1078,7 +1078,7 @@
10781078
}
10791079
}
10801080
},
1081-
"revision": "20251021",
1081+
"revision": "20251104",
10821082
"rootUrl": "https://redis.googleapis.com/",
10831083
"schemas": {
10841084
"AOFConfig": {
@@ -2608,7 +2608,7 @@
26082608
"type": "object"
26092609
},
26102610
"DatabaseResourceMetadata": {
2611-
"description": "Common model for database resource instance metadata. Next ID: 29",
2611+
"description": "Common model for database resource instance metadata. Next ID: 30",
26122612
"id": "DatabaseResourceMetadata",
26132613
"properties": {
26142614
"availabilityConfiguration": {
@@ -2751,6 +2751,10 @@
27512751
],
27522752
"type": "string"
27532753
},
2754+
"isDeletionProtectionEnabled": {
2755+
"description": "Optional. Whether deletion protection is enabled for this resource.",
2756+
"type": "boolean"
2757+
},
27542758
"location": {
27552759
"description": "The resource location. REQUIRED",
27562760
"type": "string"

src/apis/redis/v1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ export namespace redis_v1 {
837837
uniqueId?: string | null;
838838
}
839839
/**
840-
* Common model for database resource instance metadata. Next ID: 29
840+
* Common model for database resource instance metadata. Next ID: 30
841841
*/
842842
export interface Schema$DatabaseResourceMetadata {
843843
/**
@@ -892,6 +892,10 @@ export namespace redis_v1 {
892892
* The type of the instance. Specified at creation time.
893893
*/
894894
instanceType?: string | null;
895+
/**
896+
* Optional. Whether deletion protection is enabled for this resource.
897+
*/
898+
isDeletionProtectionEnabled?: boolean | null;
895899
/**
896900
* The resource location. REQUIRED
897901
*/

src/apis/redis/v1beta1.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -837,7 +837,7 @@ export namespace redis_v1beta1 {
837837
uniqueId?: string | null;
838838
}
839839
/**
840-
* Common model for database resource instance metadata. Next ID: 29
840+
* Common model for database resource instance metadata. Next ID: 30
841841
*/
842842
export interface Schema$DatabaseResourceMetadata {
843843
/**
@@ -892,6 +892,10 @@ export namespace redis_v1beta1 {
892892
* The type of the instance. Specified at creation time.
893893
*/
894894
instanceType?: string | null;
895+
/**
896+
* Optional. Whether deletion protection is enabled for this resource.
897+
*/
898+
isDeletionProtectionEnabled?: boolean | null;
895899
/**
896900
* The resource location. REQUIRED
897901
*/

0 commit comments

Comments
 (0)