From a5798ad4d066b5606c1b47e78a8a8d5d99b223a9 Mon Sep 17 00:00:00 2001 From: Yoshi Automation Date: Tue, 26 Mar 2024 07:08:35 +0000 Subject: [PATCH] feat(redis): update the api #### 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) --- .../redis_v1.projects.locations.clusters.html | 52 +++++++++ ...s_v1beta1.projects.locations.clusters.html | 52 +++++++++ .../discovery_cache/documents/redis.v1.json | 101 +++++++++++++++++- .../documents/redis.v1beta1.json | 101 +++++++++++++++++- 4 files changed, 300 insertions(+), 6 deletions(-) diff --git a/docs/dyn/redis_v1.projects.locations.clusters.html b/docs/dyn/redis_v1.projects.locations.clusters.html index ca8ea00fb0a..ced59c01bcc 100644 --- a/docs/dyn/redis_v1.projects.locations.clusters.html +++ b/docs/dyn/redis_v1.projects.locations.clusters.html @@ -126,6 +126,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -140,6 +150,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -248,6 +261,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -262,6 +285,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -336,6 +362,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -350,6 +386,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -407,6 +446,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -421,6 +470,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. diff --git a/docs/dyn/redis_v1beta1.projects.locations.clusters.html b/docs/dyn/redis_v1beta1.projects.locations.clusters.html index c7076992eb7..aefe48b1bcd 100644 --- a/docs/dyn/redis_v1beta1.projects.locations.clusters.html +++ b/docs/dyn/redis_v1beta1.projects.locations.clusters.html @@ -126,6 +126,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -140,6 +150,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -248,6 +261,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -262,6 +285,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -336,6 +362,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -350,6 +386,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. @@ -407,6 +446,16 @@

Method Details

}, ], "name": "A String", # 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}` + "persistenceConfig": { # Configuration of the persistence functionality. # Optional. Persistence config (RDB, AOF) for the cluster. + "aofConfig": { # Configuration of the AOF based persistence. # Optional. AOF configuration. This field will be ignored if mode is not AOF. + "appendFsync": "A String", # Optional. fsync configuration. + }, + "mode": "A String", # Optional. The mode of persistence. + "rdbConfig": { # Configuration of the RDB based persistence. # Optional. RDB configuration. This field will be ignored if mode is not RDB. + "rdbSnapshotPeriod": "A String", # Optional. Period between RDB snapshots. + "rdbSnapshotStartTime": "A String", # 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. + }, + }, "pscConfigs": [ # 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. { "network": "A String", # 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}. @@ -421,6 +470,9 @@

Method Details

"pscConnectionId": "A String", # Output only. The PSC connection id of the forwarding rule connected to the service attachment. }, ], + "redisConfigs": { # Optional. Key/Value pairs of customer overrides for mutable Redis Configs + "a_key": "A String", + }, "replicaCount": 42, # Optional. The number of replica nodes per shard. "shardCount": 42, # Required. Number of shards for the Redis cluster. "sizeGb": 42, # Output only. Redis memory size in GB for the entire cluster rounded up to the next integer. diff --git a/googleapiclient/discovery_cache/documents/redis.v1.json b/googleapiclient/discovery_cache/documents/redis.v1.json index 7d3ee29e035..5ee5a8a292b 100644 --- a/googleapiclient/discovery_cache/documents/redis.v1.json +++ b/googleapiclient/discovery_cache/documents/redis.v1.json @@ -821,9 +821,32 @@ } } }, -"revision": "20240307", +"revision": "20240319", "rootUrl": "https://redis.googleapis.com/", "schemas": { +"AOFConfig": { +"description": "Configuration of the AOF based persistence.", +"id": "AOFConfig", +"properties": { +"appendFsync": { +"description": "Optional. fsync configuration.", +"enum": [ +"APPEND_FSYNC_UNSPECIFIED", +"NO", +"EVERYSEC", +"ALWAYS" +], +"enumDescriptions": [ +"Not set. Default: EVERYSEC", +"Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.", +"fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster", +"fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance" +], +"type": "string" +} +}, +"type": "object" +}, "AvailabilityConfiguration": { "description": "Configuration for availability of database instance", "id": "AvailabilityConfiguration", @@ -972,6 +995,10 @@ "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" }, +"persistenceConfig": { +"$ref": "ClusterPersistenceConfig", +"description": "Optional. Persistence config (RDB, AOF) for the cluster." +}, "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": { @@ -987,6 +1014,13 @@ "readOnly": true, "type": "array" }, +"redisConfigs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Key/Value pairs of customer overrides for mutable Redis Configs", +"type": "object" +}, "replicaCount": { "description": "Optional. The number of replica nodes per shard.", "format": "int32", @@ -1049,6 +1083,37 @@ }, "type": "object" }, +"ClusterPersistenceConfig": { +"description": "Configuration of the persistence functionality.", +"id": "ClusterPersistenceConfig", +"properties": { +"aofConfig": { +"$ref": "AOFConfig", +"description": "Optional. AOF configuration. This field will be ignored if mode is not AOF." +}, +"mode": { +"description": "Optional. The mode of persistence.", +"enum": [ +"PERSISTENCE_MODE_UNSPECIFIED", +"DISABLED", +"RDB", +"AOF" +], +"enumDescriptions": [ +"Not set.", +"Persistence is disabled, and any snapshot data is deleted.", +"RDB based persistence is enabled.", +"AOF based persistence is enabled." +], +"type": "string" +}, +"rdbConfig": { +"$ref": "RDBConfig", +"description": "Optional. RDB configuration. This field will be ignored if mode is not RDB." +} +}, +"type": "object" +}, "Compliance": { "description": "Contains compliance information about a security standard indicating unmet recommendations.", "id": "Compliance", @@ -1301,7 +1366,7 @@ "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", -"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", +"SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -1780,7 +1845,7 @@ false "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", -"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", +"SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -2936,6 +3001,36 @@ false }, "type": "object" }, +"RDBConfig": { +"description": "Configuration of the RDB based persistence.", +"id": "RDBConfig", +"properties": { +"rdbSnapshotPeriod": { +"description": "Optional. Period between RDB snapshots.", +"enum": [ +"SNAPSHOT_PERIOD_UNSPECIFIED", +"ONE_HOUR", +"SIX_HOURS", +"TWELVE_HOURS", +"TWENTY_FOUR_HOURS" +], +"enumDescriptions": [ +"Not set.", +"One hour.", +"Six hours.", +"Twelve hours.", +"Twenty four hours." +], +"type": "string" +}, +"rdbSnapshotStartTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, "ReconciliationOperationMetadata": { "description": "Operation metadata returned by the CLH during resource state reconciliation.", "id": "ReconciliationOperationMetadata", diff --git a/googleapiclient/discovery_cache/documents/redis.v1beta1.json b/googleapiclient/discovery_cache/documents/redis.v1beta1.json index 1173f6e8f20..ea925e33de1 100644 --- a/googleapiclient/discovery_cache/documents/redis.v1beta1.json +++ b/googleapiclient/discovery_cache/documents/redis.v1beta1.json @@ -821,9 +821,32 @@ } } }, -"revision": "20240307", +"revision": "20240319", "rootUrl": "https://redis.googleapis.com/", "schemas": { +"AOFConfig": { +"description": "Configuration of the AOF based persistence.", +"id": "AOFConfig", +"properties": { +"appendFsync": { +"description": "Optional. fsync configuration.", +"enum": [ +"APPEND_FSYNC_UNSPECIFIED", +"NO", +"EVERYSEC", +"ALWAYS" +], +"enumDescriptions": [ +"Not set. Default: EVERYSEC", +"Never fsync. Normally Linux will flush data every 30 seconds with this configuration, but it's up to the kernel's exact tuning.", +"fsync every second. Fast enough, and you may lose 1 second of data if there is a disaster", +"fsync every time new commands are appended to the AOF. It has the best data loss protection at the cost of performance" +], +"type": "string" +} +}, +"type": "object" +}, "AvailabilityConfiguration": { "description": "Configuration for availability of database instance", "id": "AvailabilityConfiguration", @@ -972,6 +995,10 @@ "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" }, +"persistenceConfig": { +"$ref": "ClusterPersistenceConfig", +"description": "Optional. Persistence config (RDB, AOF) for the cluster." +}, "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": { @@ -987,6 +1014,13 @@ "readOnly": true, "type": "array" }, +"redisConfigs": { +"additionalProperties": { +"type": "string" +}, +"description": "Optional. Key/Value pairs of customer overrides for mutable Redis Configs", +"type": "object" +}, "replicaCount": { "description": "Optional. The number of replica nodes per shard.", "format": "int32", @@ -1049,6 +1083,37 @@ }, "type": "object" }, +"ClusterPersistenceConfig": { +"description": "Configuration of the persistence functionality.", +"id": "ClusterPersistenceConfig", +"properties": { +"aofConfig": { +"$ref": "AOFConfig", +"description": "Optional. AOF configuration. This field will be ignored if mode is not AOF." +}, +"mode": { +"description": "Optional. The mode of persistence.", +"enum": [ +"PERSISTENCE_MODE_UNSPECIFIED", +"DISABLED", +"RDB", +"AOF" +], +"enumDescriptions": [ +"Not set.", +"Persistence is disabled, and any snapshot data is deleted.", +"RDB based persistence is enabled.", +"AOF based persistence is enabled." +], +"type": "string" +}, +"rdbConfig": { +"$ref": "RDBConfig", +"description": "Optional. RDB configuration. This field will be ignored if mode is not RDB." +} +}, +"type": "object" +}, "Compliance": { "description": "Contains compliance information about a security standard indicating unmet recommendations.", "id": "Compliance", @@ -1301,7 +1366,7 @@ "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", -"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", +"SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -1780,7 +1845,7 @@ false "SIGNAL_TYPE_DATABASE_AUDITING_DISABLED", "SIGNAL_TYPE_RESTRICT_AUTHORIZED_NETWORKS", "SIGNAL_TYPE_VIOLATE_POLICY_RESTRICT_PUBLIC_IP", -"SIGNAL_TYPE_CLUSTER_QUOTA_LIMIT", +"SIGNAL_TYPE_QUOTA_LIMIT", "SIGNAL_TYPE_NO_PASSWORD_POLICY", "SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT", "SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT", @@ -2943,6 +3008,36 @@ false }, "type": "object" }, +"RDBConfig": { +"description": "Configuration of the RDB based persistence.", +"id": "RDBConfig", +"properties": { +"rdbSnapshotPeriod": { +"description": "Optional. Period between RDB snapshots.", +"enum": [ +"SNAPSHOT_PERIOD_UNSPECIFIED", +"ONE_HOUR", +"SIX_HOURS", +"TWELVE_HOURS", +"TWENTY_FOUR_HOURS" +], +"enumDescriptions": [ +"Not set.", +"One hour.", +"Six hours.", +"Twelve hours.", +"Twenty four hours." +], +"type": "string" +}, +"rdbSnapshotStartTime": { +"description": "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.", +"format": "google-datetime", +"type": "string" +} +}, +"type": "object" +}, "ReconciliationOperationMetadata": { "description": "Operation metadata returned by the CLH during resource state reconciliation.", "id": "ReconciliationOperationMetadata",