Skip to content

Commit d3eca5a

Browse files
feat(redis): update the api
#### redis:v1 The following keys were added: - schemas.Cluster.properties.ondemandMaintenance.type (Total Keys: 1) #### redis:v1beta1 The following keys were added: - schemas.Cluster.properties.ondemandMaintenance.type (Total Keys: 1)
1 parent 5c88fe7 commit d3eca5a

File tree

4 files changed

+24
-8
lines changed

4 files changed

+24
-8
lines changed

docs/dyn/redis_v1.projects.locations.clusters.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ <h3>Method Details</h3>
282282
},
283283
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
284284
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
285+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
285286
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
286287
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
287288
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -540,6 +541,7 @@ <h3>Method Details</h3>
540541
},
541542
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
542543
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
544+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
543545
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
544546
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
545547
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -764,6 +766,7 @@ <h3>Method Details</h3>
764766
},
765767
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
766768
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
769+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
767770
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
768771
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
769772
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -971,6 +974,7 @@ <h3>Method Details</h3>
971974
},
972975
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
973976
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
977+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
974978
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
975979
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
976980
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.

docs/dyn/redis_v1beta1.projects.locations.clusters.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -282,6 +282,7 @@ <h3>Method Details</h3>
282282
},
283283
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
284284
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
285+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
285286
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
286287
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
287288
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -540,6 +541,7 @@ <h3>Method Details</h3>
540541
},
541542
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
542543
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
544+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
543545
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
544546
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
545547
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -764,6 +766,7 @@ <h3>Method Details</h3>
764766
},
765767
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
766768
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
769+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
767770
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
768771
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
769772
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
@@ -971,6 +974,7 @@ <h3>Method Details</h3>
971974
},
972975
&quot;name&quot;: &quot;A String&quot;, # Required. Identifier. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
973976
&quot;nodeType&quot;: &quot;A String&quot;, # Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.
977+
&quot;ondemandMaintenance&quot;: True or False, # Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.
974978
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
975979
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
976980
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.

googleapiclient/discovery_cache/documents/redis.v1.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@
10671067
}
10681068
}
10691069
},
1070-
"revision": "20250213",
1070+
"revision": "20250303",
10711071
"rootUrl": "https://redis.googleapis.com/",
10721072
"schemas": {
10731073
"AOFConfig": {
@@ -1555,6 +1555,10 @@
15551555
],
15561556
"type": "string"
15571557
},
1558+
"ondemandMaintenance": {
1559+
"description": "Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.",
1560+
"type": "boolean"
1561+
},
15581562
"persistenceConfig": {
15591563
"$ref": "ClusterPersistenceConfig",
15601564
"description": "Optional. Persistence config (RDB, AOF) for the cluster."
@@ -3690,12 +3694,12 @@ false
36903694
"properties": {
36913695
"cpuCount": {
36923696
"deprecated": true,
3693-
"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3697+
"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.",
36943698
"format": "int32",
36953699
"type": "integer"
36963700
},
36973701
"memorySizeInBytes": {
3698-
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3702+
"description": "Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.",
36993703
"format": "int64",
37003704
"type": "string"
37013705
},
@@ -3705,7 +3709,7 @@ false
37053709
"type": "integer"
37063710
},
37073711
"vcpuCount": {
3708-
"description": "Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3712+
"description": "Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.",
37093713
"format": "double",
37103714
"type": "number"
37113715
}

googleapiclient/discovery_cache/documents/redis.v1beta1.json

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1067,7 +1067,7 @@
10671067
}
10681068
}
10691069
},
1070-
"revision": "20250213",
1070+
"revision": "20250303",
10711071
"rootUrl": "https://redis.googleapis.com/",
10721072
"schemas": {
10731073
"AOFConfig": {
@@ -1555,6 +1555,10 @@
15551555
],
15561556
"type": "string"
15571557
},
1558+
"ondemandMaintenance": {
1559+
"description": "Optional. Input only. Ondemand maintenance for the cluster. This field can be used to trigger ondemand critical update on the cluster.",
1560+
"type": "boolean"
1561+
},
15581562
"persistenceConfig": {
15591563
"$ref": "ClusterPersistenceConfig",
15601564
"description": "Optional. Persistence config (RDB, AOF) for the cluster."
@@ -3697,12 +3701,12 @@ false
36973701
"properties": {
36983702
"cpuCount": {
36993703
"deprecated": true,
3700-
"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3704+
"description": "The number of CPUs. Deprecated. Use vcpu_count instead. TODO(b/342344482) add proto validations again after bug fix.",
37013705
"format": "int32",
37023706
"type": "integer"
37033707
},
37043708
"memorySizeInBytes": {
3705-
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3709+
"description": "Memory size in bytes. TODO(b/342344482) add proto validations again after bug fix.",
37063710
"format": "int64",
37073711
"type": "string"
37083712
},
@@ -3712,7 +3716,7 @@ false
37123716
"type": "integer"
37133717
},
37143718
"vcpuCount": {
3715-
"description": "Optional. The number of vCPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
3719+
"description": "Optional. The number of vCPUs. TODO(b/342344482) add proto validations again after bug fix.",
37163720
"format": "double",
37173721
"type": "number"
37183722
}

0 commit comments

Comments
 (0)