Skip to content

Commit f7b6349

Browse files
feat(redis): update the api
#### redis:v1 The following keys were added: - schemas.DatabaseResourceMetadata.properties.suspensionReason.type (Total Keys: 1) - schemas.InternalResourceMetadata.properties.isDeletionProtectionEnabled.type (Total Keys: 1) - schemas.UpdateInfo.properties.targetNodeType.type (Total Keys: 1) #### redis:v1beta1 The following keys were added: - schemas.DatabaseResourceMetadata.properties.suspensionReason.type (Total Keys: 1) - schemas.InternalResourceMetadata.properties.isDeletionProtectionEnabled.type (Total Keys: 1) - schemas.UpdateInfo.properties.targetNodeType.type (Total Keys: 1)
1 parent 7a93f8a commit f7b6349

File tree

5 files changed

+219
-25
lines changed

5 files changed

+219
-25
lines changed

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ <h3>Method Details</h3>
324324
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
325325
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
326326
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
327+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
327328
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
328329
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
329330
},
@@ -579,6 +580,7 @@ <h3>Method Details</h3>
579580
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
580581
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
581582
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
583+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
582584
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
583585
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
584586
},
@@ -800,6 +802,7 @@ <h3>Method Details</h3>
800802
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
801803
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
802804
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
805+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
803806
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
804807
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
805808
},
@@ -1004,6 +1007,7 @@ <h3>Method Details</h3>
10041007
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
10051008
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
10061009
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
1010+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
10071011
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
10081012
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
10091013
},

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -191,7 +191,7 @@ <h3>Method Details</h3>
191191
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
192192
&quot;a_key&quot;: &quot;A String&quot;,
193193
},
194-
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
194+
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility
195195
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
196196
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
197197
&quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
@@ -445,7 +445,7 @@ <h3>Method Details</h3>
445445
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
446446
&quot;a_key&quot;: &quot;A String&quot;,
447447
},
448-
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
448+
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility
449449
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
450450
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
451451
&quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
@@ -616,7 +616,7 @@ <h3>Method Details</h3>
616616
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
617617
&quot;a_key&quot;: &quot;A String&quot;,
618618
},
619-
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
619+
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility
620620
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
621621
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
622622
&quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.
@@ -733,7 +733,7 @@ <h3>Method Details</h3>
733733
&quot;redisConfigs&quot;: { # Optional. Redis configuration parameters, according to http://redis.io/topics/config. Currently, the only supported parameters are: Redis version 3.2 and newer: * maxmemory-policy * notify-keyspace-events Redis version 4.0 and newer: * activedefrag * lfu-decay-time * lfu-log-factor * maxmemory-gb Redis version 5.0 and newer: * stream-node-max-bytes * stream-node-max-entries
734734
&quot;a_key&quot;: &quot;A String&quot;,
735735
},
736-
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, latest supported version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility (default) * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility
736+
&quot;redisVersion&quot;: &quot;A String&quot;, # Optional. The version of Redis software. If not provided, the default version will be used. Currently, the supported values are: * `REDIS_3_2` for Redis 3.2 compatibility * `REDIS_4_0` for Redis 4.0 compatibility * `REDIS_5_0` for Redis 5.0 compatibility * `REDIS_6_X` for Redis 6.x compatibility * `REDIS_7_0` for Redis 7.0 compatibility (default) * `REDIS_7_2` for Redis 7.2 compatibility
737737
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes. The valid range for the Standard Tier with read replicas enabled is [1-5] and defaults to 2. If read replicas are not enabled for a Standard Tier instance, the only valid value is 1 and the default is 1. The valid value for basic tier is 0 and the default is also 0.
738738
&quot;reservedIpRange&quot;: &quot;A String&quot;, # Optional. For DIRECT_PEERING mode, the CIDR range of internal addresses that are reserved for this instance. Range must be unique and non-overlapping with existing subnets in an authorized network. For PRIVATE_SERVICE_ACCESS mode, the name of one allocated IP address ranges associated with this private service access connection. If not provided, the service will choose an unused /29 block, for example, 10.0.0.0/29 or 192.168.0.0/29. For READ_REPLICAS_ENABLED the default block size is /28.
739739
&quot;satisfiesPzi&quot;: True or False, # Optional. Output only. Reserved for future use.

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

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -324,6 +324,7 @@ <h3>Method Details</h3>
324324
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
325325
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
326326
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
327+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
327328
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
328329
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
329330
},
@@ -579,6 +580,7 @@ <h3>Method Details</h3>
579580
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
580581
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
581582
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
583+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
582584
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
583585
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
584586
},
@@ -800,6 +802,7 @@ <h3>Method Details</h3>
800802
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
801803
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
802804
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
805+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
803806
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
804807
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
805808
},
@@ -1004,6 +1007,7 @@ <h3>Method Details</h3>
10041007
&quot;state&quot;: &quot;A String&quot;, # Output only. The current state of this cluster. Can be CREATING, READY, UPDATING, DELETING and SUSPENDED
10051008
&quot;stateInfo&quot;: { # Represents additional information about the state of the cluster. # Output only. Additional information about the current state of the cluster.
10061009
&quot;updateInfo&quot;: { # Represents information about an updating cluster. # Describes ongoing update on the cluster when cluster state is UPDATING.
1010+
&quot;targetNodeType&quot;: &quot;A String&quot;, # Target node type for redis cluster.
10071011
&quot;targetReplicaCount&quot;: 42, # Target number of replica nodes per shard.
10081012
&quot;targetShardCount&quot;: 42, # Target number of shards for redis cluster
10091013
},

0 commit comments

Comments
 (0)