Skip to content

Commit b58cea2

Browse files
yoshi-automationmiguelvelezsa
authored andcommitted
feat(redis)!: update the API
BREAKING CHANGE: This release has breaking changes. #### redis:v1beta1 The following keys were deleted: - 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: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - schemas.ConfigBasedSignalData.properties.signalType.enum - schemas.ConfigBasedSignalData.properties.signalType.enumDescriptions - 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.DatabaseResourceSignalData.properties.signalType.enum - schemas.DatabaseResourceSignalData.properties.signalType.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.description - schemas.ResourceMaintenanceSchedule.properties.phase.enum #### redis:v1 The following keys were deleted: - 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: - resources.projects.resources.locations.methods.list.parameters.extraLocationTypes.description - schemas.ConfigBasedSignalData.properties.signalType.enum - schemas.ConfigBasedSignalData.properties.signalType.enumDescriptions - 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.DatabaseResourceSignalData.properties.signalType.enum - schemas.DatabaseResourceSignalData.properties.signalType.enumDescriptions - schemas.ResourceMaintenanceSchedule.properties.phase.description - schemas.ResourceMaintenanceSchedule.properties.phase.enum
1 parent f2c0b23 commit b58cea2

File tree

4 files changed

+54
-80
lines changed

4 files changed

+54
-80
lines changed

discovery/redis-v1.json

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
147+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -1078,7 +1078,7 @@
10781078
}
10791079
}
10801080
},
1081-
"revision": "20251009",
1081+
"revision": "20251021",
10821082
"rootUrl": "https://redis.googleapis.com/",
10831083
"schemas": {
10841084
"AOFConfig": {
@@ -1950,15 +1950,17 @@
19501950
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
19511951
"SIGNAL_TYPE_NO_ROOT_PASSWORD",
19521952
"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS",
1953-
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"
1953+
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS",
1954+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
19541955
],
19551956
"enumDescriptions": [
19561957
"Unspecified signal type.",
19571958
"Outdated Minor Version",
19581959
"Represents database auditing is disabled.",
19591960
"Represents if a database has a password configured for the root account or not.",
19601961
"Represents if a resource is exposed to public access.",
1961-
"Represents if a resources requires all incoming connections to use SSL or not."
1962+
"Represents if a resources requires all incoming connections to use SSL or not.",
1963+
"Represents if a resource version is in extended support."
19621964
],
19631965
"type": "string"
19641966
}
@@ -2327,7 +2329,8 @@
23272329
"SIGNAL_TYPE_OUTDATED_VERSION",
23282330
"SIGNAL_TYPE_OUTDATED_CLIENT",
23292331
"SIGNAL_TYPE_DATABOOST_DISABLED",
2330-
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
2332+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES",
2333+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
23312334
],
23322335
"enumDeprecated": [
23332336
false,
@@ -2433,6 +2436,7 @@
24332436
false,
24342437
false,
24352438
false,
2439+
false,
24362440
false
24372441
],
24382442
"enumDescriptions": [
@@ -2539,7 +2543,8 @@
25392543
"Outdated version.",
25402544
"Outdated client.",
25412545
"Databoost is disabled.",
2542-
"Recommended maintenance policy."
2546+
"Recommended maintenance policy.",
2547+
"Resource version is in extended support."
25432548
],
25442549
"type": "string"
25452550
},
@@ -2979,7 +2984,8 @@
29792984
"SIGNAL_TYPE_OUTDATED_VERSION",
29802985
"SIGNAL_TYPE_OUTDATED_CLIENT",
29812986
"SIGNAL_TYPE_DATABOOST_DISABLED",
2982-
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
2987+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES",
2988+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
29832989
],
29842990
"enumDeprecated": [
29852991
false,
@@ -3085,6 +3091,7 @@
30853091
false,
30863092
false,
30873093
false,
3094+
false,
30883095
false
30893096
],
30903097
"enumDescriptions": [
@@ -3191,7 +3198,8 @@
31913198
"Outdated version.",
31923199
"Outdated client.",
31933200
"Databoost is disabled.",
3194-
"Recommended maintenance policy."
3201+
"Recommended maintenance policy.",
3202+
"Resource version is in extended support."
31953203
],
31963204
"type": "string"
31973205
}
@@ -3244,15 +3252,17 @@
32443252
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
32453253
"SIGNAL_TYPE_NO_ROOT_PASSWORD",
32463254
"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS",
3247-
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"
3255+
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS",
3256+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
32483257
],
32493258
"enumDescriptions": [
32503259
"Unspecified signal type.",
32513260
"Outdated Minor Version",
32523261
"Represents database auditing is disabled.",
32533262
"Represents if a database has a password configured for the root account or not.",
32543263
"Represents if a resource is exposed to public access.",
3255-
"Represents if a resources requires all incoming connections to use SSL or not."
3264+
"Represents if a resources requires all incoming connections to use SSL or not.",
3265+
"Represents if a resource version is in extended support."
32563266
],
32573267
"type": "string"
32583268
}
@@ -4985,29 +4995,6 @@
49854995
"type": "string"
49864996
},
49874997
"phase": {
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.",
4990-
"enum": [
4991-
"WINDOW_PHASE_UNSPECIFIED",
4992-
"WINDOW_PHASE_ANY",
4993-
"WINDOW_PHASE_WEEK1",
4994-
"WINDOW_PHASE_WEEK2",
4995-
"WINDOW_PHASE_WEEK5"
4996-
],
4997-
"enumDescriptions": [
4998-
"Phase is unspecified.",
4999-
"Any phase.",
5000-
"Week 1.",
5001-
"Week 2.",
5002-
"Week 5."
5003-
],
5004-
"type": "string"
5005-
},
5006-
"time": {
5007-
"$ref": "TimeOfDay",
5008-
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
5009-
},
5010-
"week": {
50114998
"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",
50124999
"enum": [
50135000
"PHASE_UNSPECIFIED",
@@ -5024,6 +5011,10 @@
50245011
"Week 5."
50255012
],
50265013
"type": "string"
5014+
},
5015+
"time": {
5016+
"$ref": "TimeOfDay",
5017+
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
50275018
}
50285019
},
50295020
"type": "object"

discovery/redis-v1beta1.json

Lines changed: 24 additions & 33 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@
144144
],
145145
"parameters": {
146146
"extraLocationTypes": {
147-
"description": "Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.",
147+
"description": "Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.",
148148
"location": "query",
149149
"repeated": true,
150150
"type": "string"
@@ -1078,7 +1078,7 @@
10781078
}
10791079
}
10801080
},
1081-
"revision": "20251009",
1081+
"revision": "20251021",
10821082
"rootUrl": "https://redis.googleapis.com/",
10831083
"schemas": {
10841084
"AOFConfig": {
@@ -1950,15 +1950,17 @@
19501950
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
19511951
"SIGNAL_TYPE_NO_ROOT_PASSWORD",
19521952
"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS",
1953-
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"
1953+
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS",
1954+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
19541955
],
19551956
"enumDescriptions": [
19561957
"Unspecified signal type.",
19571958
"Outdated Minor Version",
19581959
"Represents database auditing is disabled.",
19591960
"Represents if a database has a password configured for the root account or not.",
19601961
"Represents if a resource is exposed to public access.",
1961-
"Represents if a resources requires all incoming connections to use SSL or not."
1962+
"Represents if a resources requires all incoming connections to use SSL or not.",
1963+
"Represents if a resource version is in extended support."
19621964
],
19631965
"type": "string"
19641966
}
@@ -2327,7 +2329,8 @@
23272329
"SIGNAL_TYPE_OUTDATED_VERSION",
23282330
"SIGNAL_TYPE_OUTDATED_CLIENT",
23292331
"SIGNAL_TYPE_DATABOOST_DISABLED",
2330-
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
2332+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES",
2333+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
23312334
],
23322335
"enumDeprecated": [
23332336
false,
@@ -2433,6 +2436,7 @@
24332436
false,
24342437
false,
24352438
false,
2439+
false,
24362440
false
24372441
],
24382442
"enumDescriptions": [
@@ -2539,7 +2543,8 @@
25392543
"Outdated version.",
25402544
"Outdated client.",
25412545
"Databoost is disabled.",
2542-
"Recommended maintenance policy."
2546+
"Recommended maintenance policy.",
2547+
"Resource version is in extended support."
25432548
],
25442549
"type": "string"
25452550
},
@@ -2979,7 +2984,8 @@
29792984
"SIGNAL_TYPE_OUTDATED_VERSION",
29802985
"SIGNAL_TYPE_OUTDATED_CLIENT",
29812986
"SIGNAL_TYPE_DATABOOST_DISABLED",
2982-
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES"
2987+
"SIGNAL_TYPE_RECOMMENDED_MAINTENANCE_POLICIES",
2988+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
29832989
],
29842990
"enumDeprecated": [
29852991
false,
@@ -3085,6 +3091,7 @@
30853091
false,
30863092
false,
30873093
false,
3094+
false,
30883095
false
30893096
],
30903097
"enumDescriptions": [
@@ -3191,7 +3198,8 @@
31913198
"Outdated version.",
31923199
"Outdated client.",
31933200
"Databoost is disabled.",
3194-
"Recommended maintenance policy."
3201+
"Recommended maintenance policy.",
3202+
"Resource version is in extended support."
31953203
],
31963204
"type": "string"
31973205
}
@@ -3244,15 +3252,17 @@
32443252
"SIGNAL_TYPE_DATABASE_AUDITING_DISABLED",
32453253
"SIGNAL_TYPE_NO_ROOT_PASSWORD",
32463254
"SIGNAL_TYPE_EXPOSED_TO_PUBLIC_ACCESS",
3247-
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS"
3255+
"SIGNAL_TYPE_UNENCRYPTED_CONNECTIONS",
3256+
"SIGNAL_TYPE_EXTENDED_SUPPORT"
32483257
],
32493258
"enumDescriptions": [
32503259
"Unspecified signal type.",
32513260
"Outdated Minor Version",
32523261
"Represents database auditing is disabled.",
32533262
"Represents if a database has a password configured for the root account or not.",
32543263
"Represents if a resource is exposed to public access.",
3255-
"Represents if a resources requires all incoming connections to use SSL or not."
3264+
"Represents if a resources requires all incoming connections to use SSL or not.",
3265+
"Represents if a resource version is in extended support."
32563266
],
32573267
"type": "string"
32583268
}
@@ -4992,29 +5002,6 @@
49925002
"type": "string"
49935003
},
49945004
"phase": {
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.",
4997-
"enum": [
4998-
"WINDOW_PHASE_UNSPECIFIED",
4999-
"WINDOW_PHASE_ANY",
5000-
"WINDOW_PHASE_WEEK1",
5001-
"WINDOW_PHASE_WEEK2",
5002-
"WINDOW_PHASE_WEEK5"
5003-
],
5004-
"enumDescriptions": [
5005-
"Phase is unspecified.",
5006-
"Any phase.",
5007-
"Week 1.",
5008-
"Week 2.",
5009-
"Week 5."
5010-
],
5011-
"type": "string"
5012-
},
5013-
"time": {
5014-
"$ref": "TimeOfDay",
5015-
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
5016-
},
5017-
"week": {
50185005
"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",
50195006
"enum": [
50205007
"PHASE_UNSPECIFIED",
@@ -5031,6 +5018,10 @@
50315018
"Week 5."
50325019
],
50335020
"type": "string"
5021+
},
5022+
"time": {
5023+
"$ref": "TimeOfDay",
5024+
"description": "Optional. Preferred time to start the maintenance operation on the specified day."
50345025
}
50355026
},
50365027
"type": "object"

src/apis/redis/v1.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,17 +1987,13 @@ export namespace redis_v1 {
19871987
*/
19881988
day?: string | null;
19891989
/**
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.
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
19911991
*/
19921992
phase?: string | null;
19931993
/**
19941994
* Optional. Preferred time to start the maintenance operation on the specified day.
19951995
*/
19961996
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;
20011997
}
20021998
export interface Schema$RetentionSettings {
20031999
/**
@@ -2375,7 +2371,7 @@ export namespace redis_v1 {
23752371
*
23762372
* // Do the magic
23772373
* const res = await redis.projects.locations.list({
2378-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2374+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
23792375
* extraLocationTypes: 'placeholder-value',
23802376
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
23812377
* filter: 'placeholder-value',
@@ -2503,7 +2499,7 @@ export namespace redis_v1 {
25032499
export interface Params$Resource$Projects$Locations$List
25042500
extends StandardParameters {
25052501
/**
2506-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2502+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
25072503
*/
25082504
extraLocationTypes?: string[];
25092505
/**

src/apis/redis/v1beta1.ts

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1987,17 +1987,13 @@ export namespace redis_v1beta1 {
19871987
*/
19881988
day?: string | null;
19891989
/**
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.
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
19911991
*/
19921992
phase?: string | null;
19931993
/**
19941994
* Optional. Preferred time to start the maintenance operation on the specified day.
19951995
*/
19961996
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;
20011997
}
20021998
export interface Schema$RetentionSettings {
20031999
/**
@@ -2375,7 +2371,7 @@ export namespace redis_v1beta1 {
23752371
*
23762372
* // Do the magic
23772373
* const res = await redis.projects.locations.list({
2378-
* // Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2374+
* // Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
23792375
* extraLocationTypes: 'placeholder-value',
23802376
* // A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).
23812377
* filter: 'placeholder-value',
@@ -2503,7 +2499,7 @@ export namespace redis_v1beta1 {
25032499
export interface Params$Resource$Projects$Locations$List
25042500
extends StandardParameters {
25052501
/**
2506-
* Optional. Unless explicitly documented otherwise, don't use this unsupported field which is primarily intended for internal usage.
2502+
* Optional. Do not use this field. It is unsupported and is ignored unless explicitly documented otherwise. This is primarily for internal usage.
25072503
*/
25082504
extraLocationTypes?: string[];
25092505
/**

0 commit comments

Comments
 (0)