Skip to content

Commit 98092c4

Browse files
feat(redis): update the API
#### redis:v1beta1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.ResourceMaintenanceSchedule.properties.phase.deprecated - schemas.ResourceMaintenanceSchedule.properties.week.description - schemas.ResourceMaintenanceSchedule.properties.week.enum - schemas.ResourceMaintenanceSchedule.properties.week.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.week.type The following keys were changed: - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.description #### redis:v1 The following keys were added: - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.description - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.location - resources.projects.resources.locations.resources.operations.methods.list.parameters.returnPartialSuccess.type - schemas.ListOperationsResponse.properties.unreachable.description - schemas.ListOperationsResponse.properties.unreachable.items.type - schemas.ListOperationsResponse.properties.unreachable.type - schemas.ResourceMaintenanceSchedule.properties.phase.deprecated - schemas.ResourceMaintenanceSchedule.properties.week.description - schemas.ResourceMaintenanceSchedule.properties.week.enum - schemas.ResourceMaintenanceSchedule.properties.week.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.week.type The following keys were changed: - schemas.DatabaseResourceHealthSignalData.properties.signalType.enum - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceHealthSignalData.properties.signalType.enumDescriptions - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enum - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDeprecated - schemas.DatabaseResourceRecommendationSignalData.properties.signalType.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.description
1 parent 3e70ebf commit 98092c4

File tree

4 files changed

+120
-16
lines changed

4 files changed

+120
-16
lines changed

discovery/redis-v1.json

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,11 @@
10561056
"description": "The standard list page token.",
10571057
"location": "query",
10581058
"type": "string"
1059+
},
1060+
"returnPartialSuccess": {
1061+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
1062+
"location": "query",
1063+
"type": "boolean"
10591064
}
10601065
},
10611066
"path": "v1/{+name}/operations",
@@ -1073,7 +1078,7 @@
10731078
}
10741079
}
10751080
},
1076-
"revision": "20251007",
1081+
"revision": "20251009",
10771082
"rootUrl": "https://redis.googleapis.com/",
10781083
"schemas": {
10791084
"AOFConfig": {
@@ -2321,7 +2326,8 @@
23212326
"SIGNAL_TYPE_REPLICATION_LAG",
23222327
"SIGNAL_TYPE_OUTDATED_VERSION",
23232328
"SIGNAL_TYPE_OUTDATED_CLIENT",
2324-
"SIGNAL_TYPE_DATABOOST_DISABLED"
2329+
"SIGNAL_TYPE_DATABOOST_DISABLED",
2330+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
23252331
],
23262332
"enumDeprecated": [
23272333
false,
@@ -2426,6 +2432,7 @@
24262432
false,
24272433
false,
24282434
false,
2435+
false,
24292436
false
24302437
],
24312438
"enumDescriptions": [
@@ -2531,7 +2538,8 @@
25312538
"Replication delay.",
25322539
"Outdated version.",
25332540
"Outdated client.",
2534-
"Databoost is disabled."
2541+
"Databoost is disabled.",
2542+
"Recommended maintenance policy."
25352543
],
25362544
"type": "string"
25372545
},
@@ -2970,7 +2978,8 @@
29702978
"SIGNAL_TYPE_REPLICATION_LAG",
29712979
"SIGNAL_TYPE_OUTDATED_VERSION",
29722980
"SIGNAL_TYPE_OUTDATED_CLIENT",
2973-
"SIGNAL_TYPE_DATABOOST_DISABLED"
2981+
"SIGNAL_TYPE_DATABOOST_DISABLED",
2982+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
29742983
],
29752984
"enumDeprecated": [
29762985
false,
@@ -3075,6 +3084,7 @@
30753084
false,
30763085
false,
30773086
false,
3087+
false,
30783088
false
30793089
],
30803090
"enumDescriptions": [
@@ -3180,7 +3190,8 @@
31803190
"Replication delay.",
31813191
"Outdated version.",
31823192
"Outdated client.",
3183-
"Databoost is disabled."
3193+
"Databoost is disabled.",
3194+
"Recommended maintenance policy."
31843195
],
31853196
"type": "string"
31863197
}
@@ -4027,6 +4038,13 @@
40274038
"$ref": "Operation"
40284039
},
40294040
"type": "array"
4041+
},
4042+
"unreachable": {
4043+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
4044+
"items": {
4045+
"type": "string"
4046+
},
4047+
"type": "array"
40304048
}
40314049
},
40324050
"type": "object"
@@ -4967,7 +4985,8 @@
49674985
"type": "string"
49684986
},
49694987
"phase": {
4970-
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance",
4988+
"deprecated": true,
4989+
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.",
49714990
"enum": [
49724991
"WINDOW_PHASE_UNSPECIFIED",
49734992
"WINDOW_PHASE_ANY",
@@ -4987,6 +5006,24 @@
49875006
"time": {
49885007
"$ref": "TimeOfDay",
49895008
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
5009+
},
5010+
"week": {
5011+
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance",
5012+
"enum": [
5013+
"PHASE_UNSPECIFIED",
5014+
"ANY",
5015+
"WEEK1",
5016+
"WEEK2",
5017+
"WEEK5"
5018+
],
5019+
"enumDescriptions": [
5020+
"Phase is unspecified.",
5021+
"Any phase.",
5022+
"Week 1.",
5023+
"Week 2.",
5024+
"Week 5."
5025+
],
5026+
"type": "string"
49905027
}
49915028
},
49925029
"type": "object"

discovery/redis-v1beta1.json

Lines changed: 43 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1056,6 +1056,11 @@
10561056
"description": "The standard list page token.",
10571057
"location": "query",
10581058
"type": "string"
1059+
},
1060+
"returnPartialSuccess": {
1061+
"description": "When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `\"projects/example/locations/-\"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.",
1062+
"location": "query",
1063+
"type": "boolean"
10591064
}
10601065
},
10611066
"path": "v1beta1/{+name}/operations",
@@ -1073,7 +1078,7 @@
10731078
}
10741079
}
10751080
},
1076-
"revision": "20251007",
1081+
"revision": "20251009",
10771082
"rootUrl": "https://redis.googleapis.com/",
10781083
"schemas": {
10791084
"AOFConfig": {
@@ -2321,7 +2326,8 @@
23212326
"SIGNAL_TYPE_REPLICATION_LAG",
23222327
"SIGNAL_TYPE_OUTDATED_VERSION",
23232328
"SIGNAL_TYPE_OUTDATED_CLIENT",
2324-
"SIGNAL_TYPE_DATABOOST_DISABLED"
2329+
"SIGNAL_TYPE_DATABOOST_DISABLED",
2330+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
23252331
],
23262332
"enumDeprecated": [
23272333
false,
@@ -2426,6 +2432,7 @@
24262432
false,
24272433
false,
24282434
false,
2435+
false,
24292436
false
24302437
],
24312438
"enumDescriptions": [
@@ -2531,7 +2538,8 @@
25312538
"Replication delay.",
25322539
"Outdated version.",
25332540
"Outdated client.",
2534-
"Databoost is disabled."
2541+
"Databoost is disabled.",
2542+
"Recommended maintenance policy."
25352543
],
25362544
"type": "string"
25372545
},
@@ -2970,7 +2978,8 @@
29702978
"SIGNAL_TYPE_REPLICATION_LAG",
29712979
"SIGNAL_TYPE_OUTDATED_VERSION",
29722980
"SIGNAL_TYPE_OUTDATED_CLIENT",
2973-
"SIGNAL_TYPE_DATABOOST_DISABLED"
2981+
"SIGNAL_TYPE_DATABOOST_DISABLED",
2982+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
29742983
],
29752984
"enumDeprecated": [
29762985
false,
@@ -3075,6 +3084,7 @@
30753084
false,
30763085
false,
30773086
false,
3087+
false,
30783088
false
30793089
],
30803090
"enumDescriptions": [
@@ -3180,7 +3190,8 @@
31803190
"Replication delay.",
31813191
"Outdated version.",
31823192
"Outdated client.",
3183-
"Databoost is disabled."
3193+
"Databoost is disabled.",
3194+
"Recommended maintenance policy."
31843195
],
31853196
"type": "string"
31863197
}
@@ -4034,6 +4045,13 @@
40344045
"$ref": "Operation"
40354046
},
40364047
"type": "array"
4048+
},
4049+
"unreachable": {
4050+
"description": "Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.",
4051+
"items": {
4052+
"type": "string"
4053+
},
4054+
"type": "array"
40374055
}
40384056
},
40394057
"type": "object"
@@ -4974,7 +4992,8 @@
49744992
"type": "string"
49754993
},
49764994
"phase": {
4977-
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance",
4995+
"deprecated": true,
4996+
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.",
49784997
"enum": [
49794998
"WINDOW_PHASE_UNSPECIFIED",
49804999
"WINDOW_PHASE_ANY",
@@ -4994,6 +5013,24 @@
49945013
"time": {
49955014
"$ref": "TimeOfDay",
49965015
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
5016+
},
5017+
"week": {
5018+
"description": "Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance",
5019+
"enum": [
5020+
"PHASE_UNSPECIFIED",
5021+
"ANY",
5022+
"WEEK1",
5023+
"WEEK2",
5024+
"WEEK5"
5025+
],
5026+
"enumDescriptions": [
5027+
"Phase is unspecified.",
5028+
"Any phase.",
5029+
"Week 1.",
5030+
"Week 2.",
5031+
"Week 5."
5032+
],
5033+
"type": "string"
49975034
}
49985035
},
49995036
"type": "object"

src/apis/redis/v1.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,10 @@ export namespace redis_v1 {
15031503
* A list of operations that matches the specified filter in the request.
15041504
*/
15051505
operations?: Schema$Operation[];
1506+
/**
1507+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1508+
*/
1509+
unreachable?: string[] | null;
15061510
}
15071511
/**
15081512
* A resource that represents a Google Cloud location.
@@ -1983,13 +1987,17 @@ export namespace redis_v1 {
19831987
*/
19841988
day?: string | null;
19851989
/**
1986-
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
1990+
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.
19871991
*/
19881992
phase?: string | null;
19891993
/**
19901994
* Optional. Preferred time to start the maintenance operation on the specified day.
19911995
*/
19921996
time?: Schema$TimeOfDay;
1997+
/**
1998+
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
1999+
*/
2000+
week?: string | null;
19932001
}
19942002
export interface Schema$RetentionSettings {
19952003
/**
@@ -7162,13 +7170,16 @@ export namespace redis_v1 {
71627170
* pageSize: 'placeholder-value',
71637171
* // The standard list page token.
71647172
* pageToken: 'placeholder-value',
7173+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7174+
* returnPartialSuccess: 'placeholder-value',
71657175
* });
71667176
* console.log(res.data);
71677177
*
71687178
* // Example response
71697179
* // {
71707180
* // "nextPageToken": "my_nextPageToken",
7171-
* // "operations": []
7181+
* // "operations": [],
7182+
* // "unreachable": []
71727183
* // }
71737184
* }
71747185
*
@@ -7309,5 +7320,9 @@ export namespace redis_v1 {
73097320
* The standard list page token.
73107321
*/
73117322
pageToken?: string;
7323+
/**
7324+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7325+
*/
7326+
returnPartialSuccess?: boolean;
73127327
}
73137328
}

src/apis/redis/v1beta1.ts

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1503,6 +1503,10 @@ export namespace redis_v1beta1 {
15031503
* A list of operations that matches the specified filter in the request.
15041504
*/
15051505
operations?: Schema$Operation[];
1506+
/**
1507+
* Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
1508+
*/
1509+
unreachable?: string[] | null;
15061510
}
15071511
/**
15081512
* A resource that represents a Google Cloud location.
@@ -1983,13 +1987,17 @@ export namespace redis_v1beta1 {
19831987
*/
19841988
day?: string | null;
19851989
/**
1986-
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
1990+
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance Deprecated. Use phase instead.
19871991
*/
19881992
phase?: string | null;
19891993
/**
19901994
* Optional. Preferred time to start the maintenance operation on the specified day.
19911995
*/
19921996
time?: Schema$TimeOfDay;
1997+
/**
1998+
* Optional. Phase of the maintenance window. This is to capture order of maintenance. For example, for Cloud SQL resources, this can be used to capture if the maintenance window is in Week1, Week2, Week5, etc. Non production resources are usually part of early phase. For more details, refer to Cloud SQL resources - https://cloud.google.com/sql/docs/mysql/maintenance
1999+
*/
2000+
week?: string | null;
19932001
}
19942002
export interface Schema$RetentionSettings {
19952003
/**
@@ -7176,13 +7184,16 @@ export namespace redis_v1beta1 {
71767184
* pageSize: 'placeholder-value',
71777185
* // The standard list page token.
71787186
* pageToken: 'placeholder-value',
7187+
* // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7188+
* returnPartialSuccess: 'placeholder-value',
71797189
* });
71807190
* console.log(res.data);
71817191
*
71827192
* // Example response
71837193
* // {
71847194
* // "nextPageToken": "my_nextPageToken",
7185-
* // "operations": []
7195+
* // "operations": [],
7196+
* // "unreachable": []
71867197
* // }
71877198
* }
71887199
*
@@ -7323,5 +7334,9 @@ export namespace redis_v1beta1 {
73237334
* The standard list page token.
73247335
*/
73257336
pageToken?: string;
7337+
/**
7338+
* When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
7339+
*/
7340+
returnPartialSuccess?: boolean;
73267341
}
73277342
}

0 commit comments

Comments
 (0)