Skip to content

Commit

Permalink
feat(redis): update the api
Browse files Browse the repository at this point in the history
#### redis:v1

The following keys were added:
- schemas.AOFConfig (Total Keys: 3)
- schemas.Cluster.properties.persistenceConfig.$ref (Total Keys: 1)
- schemas.Cluster.properties.redisConfigs (Total Keys: 2)
- schemas.ClusterPersistenceConfig (Total Keys: 5)
- schemas.RDBConfig (Total Keys: 5)

#### redis:v1beta1

The following keys were added:
- schemas.AOFConfig (Total Keys: 3)
- schemas.Cluster.properties.persistenceConfig.$ref (Total Keys: 1)
- schemas.Cluster.properties.redisConfigs (Total Keys: 2)
- schemas.ClusterPersistenceConfig (Total Keys: 5)
- schemas.RDBConfig (Total Keys: 5)
  • Loading branch information
yoshi-automation committed Mar 26, 2024
1 parent 4dc6bca commit a5798ad
Show file tree
Hide file tree
Showing 4 changed files with 300 additions and 6 deletions.
52 changes: 52 additions & 0 deletions docs/dyn/redis_v1.projects.locations.clusters.html
Expand Up @@ -126,6 +126,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -140,6 +150,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -248,6 +261,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -262,6 +285,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -336,6 +362,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -350,6 +386,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -407,6 +446,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -421,6 +470,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down
52 changes: 52 additions & 0 deletions docs/dyn/redis_v1beta1.projects.locations.clusters.html
Expand Up @@ -126,6 +126,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -140,6 +150,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -248,6 +261,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -262,6 +285,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -336,6 +362,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -350,6 +386,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down Expand Up @@ -407,6 +446,16 @@ <h3>Method Details</h3>
},
],
&quot;name&quot;: &quot;A String&quot;, # Required. Unique name of the resource in this scope including project and location using the form: `projects/{project_id}/locations/{location_id}/clusters/{cluster_id}`
&quot;persistenceConfig&quot;: { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster.
&quot;aofConfig&quot;: { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF.
&quot;appendFsync&quot;: &quot;A String&quot;, # Optional. fsync configuration.
},
&quot;mode&quot;: &quot;A String&quot;, # Optional. The mode of persistence.
&quot;rdbConfig&quot;: { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB.
&quot;rdbSnapshotPeriod&quot;: &quot;A String&quot;, # Optional. Period between RDB snapshots.
&quot;rdbSnapshotStartTime&quot;: &quot;A String&quot;, # Optional. The time that the first snapshot was/will be attempted, and to which future snapshots will be aligned. If not provided, the current time will be used.
},
},
&quot;pscConfigs&quot;: [ # Required. Each PscConfig configures the consumer network where IPs will be designated to the cluster for client access through Private Service Connect Automation. Currently, only one PscConfig is supported.
{
&quot;network&quot;: &quot;A String&quot;, # Required. The network where the IP address of the discovery endpoint will be reserved, in the form of projects/{network_project}/global/networks/{network_id}.
Expand All @@ -421,6 +470,9 @@ <h3>Method Details</h3>
&quot;pscConnectionId&quot;: &quot;A String&quot;, # Output only. The PSC connection id of the forwarding rule connected to the service attachment.
},
],
&quot;redisConfigs&quot;: { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs
&quot;a_key&quot;: &quot;A String&quot;,
},
&quot;replicaCount&quot;: 42, # Optional. The number of replica nodes per shard.
&quot;shardCount&quot;: 42, # Required. Number of shards for the Redis cluster.
&quot;sizeGb&quot;: 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer.
Expand Down

0 comments on commit a5798ad

Please sign in to comment.