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.Cluster.properties.nodeType.type (Total Keys: 1)
- schemas.Cluster.properties.preciseSizeGb (Total Keys: 3)

#### redis:v1beta1

The following keys were added:
- schemas.Cluster.properties.nodeType.type (Total Keys: 1)
- schemas.Cluster.properties.preciseSizeGb (Total Keys: 3)
  • Loading branch information
yoshi-automation committed Apr 2, 2024
1 parent 03ae14d commit b1058e8
Show file tree
Hide file tree
Showing 4 changed files with 66 additions and 2 deletions.
8 changes: 8 additions & 0 deletions docs/dyn/redis_v1.projects.locations.clusters.html
Expand Up @@ -126,6 +126,7 @@ <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;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.
&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.
Expand All @@ -136,6 +137,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -261,6 +263,7 @@ <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;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.
&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.
Expand All @@ -271,6 +274,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -362,6 +366,7 @@ <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;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.
&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.
Expand All @@ -372,6 +377,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -446,6 +452,7 @@ <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;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.
&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.
Expand All @@ -456,6 +463,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down
8 changes: 8 additions & 0 deletions docs/dyn/redis_v1beta1.projects.locations.clusters.html
Expand Up @@ -126,6 +126,7 @@ <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;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.
&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.
Expand All @@ -136,6 +137,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -261,6 +263,7 @@ <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;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.
&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.
Expand All @@ -271,6 +274,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -362,6 +366,7 @@ <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;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.
&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.
Expand All @@ -372,6 +377,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down Expand Up @@ -446,6 +452,7 @@ <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;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.
&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.
Expand All @@ -456,6 +463,7 @@ <h3>Method Details</h3>
&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;preciseSizeGb&quot;: 3.14, # Output only. Precise value of redis memory size in GB for the entire cluster.
&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 Down
26 changes: 25 additions & 1 deletion googleapiclient/discovery_cache/documents/redis.v1.json
Expand Up @@ -821,7 +821,7 @@
}
}
},
"revision": "20240319",
"revision": "20240327",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand Down Expand Up @@ -995,10 +995,34 @@
"description": "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}`",
"type": "string"
},
"nodeType": {
"description": "Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.",
"enum": [
"NODE_TYPE_UNSPECIFIED",
"REDIS_SHARED_CORE_NANO",
"REDIS_HIGHMEM_MEDIUM",
"REDIS_HIGHMEM_XLARGE",
"REDIS_STANDARD_SMALL"
],
"enumDescriptions": [
"",
"Redis shared core nano node_type.",
"Redis highmem medium node_type.",
"Redis highmem xlarge node_type.",
"Redis standard small node_type."
],
"type": "string"
},
"persistenceConfig": {
"$ref": "ClusterPersistenceConfig",
"description": "Optional. Persistence config (RDB, AOF) for the cluster."
},
"preciseSizeGb": {
"description": "Output only. Precise value of redis memory size in GB for the entire cluster.",
"format": "double",
"readOnly": true,
"type": "number"
},
"pscConfigs": {
"description": "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.",
"items": {
Expand Down
26 changes: 25 additions & 1 deletion googleapiclient/discovery_cache/documents/redis.v1beta1.json
Expand Up @@ -821,7 +821,7 @@
}
}
},
"revision": "20240319",
"revision": "20240327",
"rootUrl": "https://redis.googleapis.com/",
"schemas": {
"AOFConfig": {
Expand Down Expand Up @@ -995,10 +995,34 @@
"description": "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}`",
"type": "string"
},
"nodeType": {
"description": "Optional. The type of a redis node in the cluster. NodeType determines the underlying machine-type of a redis node.",
"enum": [
"NODE_TYPE_UNSPECIFIED",
"REDIS_SHARED_CORE_NANO",
"REDIS_HIGHMEM_MEDIUM",
"REDIS_HIGHMEM_XLARGE",
"REDIS_STANDARD_SMALL"
],
"enumDescriptions": [
"",
"Redis shared core nano node_type.",
"Redis highmem medium node_type.",
"Redis highmem xlarge node_type.",
"Redis standard small node_type."
],
"type": "string"
},
"persistenceConfig": {
"$ref": "ClusterPersistenceConfig",
"description": "Optional. Persistence config (RDB, AOF) for the cluster."
},
"preciseSizeGb": {
"description": "Output only. Precise value of redis memory size in GB for the entire cluster.",
"format": "double",
"readOnly": true,
"type": "number"
},
"pscConfigs": {
"description": "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.",
"items": {
Expand Down

0 comments on commit b1058e8

Please sign in to comment.