Skip to content

Commit eae37c1

Browse files
feat(redis): update the api
#### redis:v1 The following keys were deleted: - schemas.DatabaseResourceMetadata.properties.userLabels (Total Keys: 3) The following keys were added: - schemas.DatabaseResourceFeed.properties.observabilityMetricData.$ref (Total Keys: 1) - schemas.DatabaseResourceMetadata.properties.machineConfiguration.$ref (Total Keys: 1) - schemas.MachineConfiguration (Total Keys: 6) - schemas.ObservabilityMetricData (Total Keys: 8) - schemas.TypedValue (Total Keys: 8) #### redis:v1beta1 The following keys were deleted: - schemas.DatabaseResourceMetadata.properties.userLabels (Total Keys: 3) The following keys were added: - schemas.DatabaseResourceFeed.properties.observabilityMetricData.$ref (Total Keys: 1) - schemas.DatabaseResourceMetadata.properties.machineConfiguration.$ref (Total Keys: 1) - schemas.MachineConfiguration (Total Keys: 6) - schemas.ObservabilityMetricData (Total Keys: 8) - schemas.TypedValue (Total Keys: 8)
1 parent 1f3de83 commit eae37c1

File tree

2 files changed

+342
-30
lines changed

2 files changed

+342
-30
lines changed

googleapiclient/discovery_cache/documents/redis.v1.json

Lines changed: 171 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -821,7 +821,7 @@
821821
}
822822
}
823823
},
824-
"revision": "20240502",
824+
"revision": "20240524",
825825
"rootUrl": "https://redis.googleapis.com/",
826826
"schemas": {
827827
"AOFConfig": {
@@ -1226,10 +1226,13 @@
12261226
],
12271227
"type": "string"
12281228
},
1229-
"recommendationSignalData": {
1230-
"$ref": "DatabaseResourceRecommendationSignalData",
1229+
"observabilityMetricData": {
1230+
"$ref": "ObservabilityMetricData",
12311231
"description": "More feed data would be added in subsequent CLs"
12321232
},
1233+
"recommendationSignalData": {
1234+
"$ref": "DatabaseResourceRecommendationSignalData"
1235+
},
12331236
"resourceHealthSignalData": {
12341237
"$ref": "DatabaseResourceHealthSignalData"
12351238
},
@@ -1352,9 +1355,17 @@
13521355
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2",
13531356
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1",
13541357
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0",
1358+
"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0",
13551359
"SIGNAL_TYPE_VIOLATES_NIST_800_53",
1360+
"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5",
1361+
"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0",
13561362
"SIGNAL_TYPE_VIOLATES_ISO_27001",
1363+
"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022",
13571364
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1",
1365+
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0",
1366+
"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4",
1367+
"SIGNAL_TYPE_VIOLATES_HIPAA",
1368+
"SIGNAL_TYPE_VIOLATES_SOC2_V2017",
13581369
"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING",
13591370
"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED",
13601371
"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING",
@@ -1403,7 +1414,11 @@
14031414
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
14041415
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
14051416
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
1406-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
1417+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
1418+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
1419+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
1420+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
1421+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
14071422
],
14081423
"enumDeprecated": [
14091424
false,
@@ -1472,6 +1487,18 @@ false,
14721487
false,
14731488
false,
14741489
false,
1490+
false,
1491+
false,
1492+
false,
1493+
false,
1494+
false,
1495+
false,
1496+
false,
1497+
false,
1498+
false,
1499+
false,
1500+
false,
1501+
false,
14751502
false
14761503
],
14771504
"enumDescriptions": [
@@ -1490,9 +1517,17 @@ false
14901517
"Represents if a resource violates CIS GCP Foundation 1.2.",
14911518
"Represents if a resource violates CIS GCP Foundation 1.1.",
14921519
"Represents if a resource violates CIS GCP Foundation 1.0.",
1520+
"Represents if a resource violates CIS Controls 8.0.",
14931521
"Represents if a resource violates NIST 800-53.",
1522+
"Represents if a resource violates NIST 800-53 R5.",
1523+
"Represents if a resource violates NIST Cybersecurity Framework 1.0.",
14941524
"Represents if a resource violates ISO-27001.",
1525+
"Represents if a resource violates ISO 27001 2022.",
14951526
"Represents if a resource violates PCI-DSS v3.2.1.",
1527+
"Represents if a resource violates PCI-DSS v4.0.",
1528+
"Represents if a resource violates Cloud Controls Matrix v4.0.",
1529+
"Represents if a resource violates HIPAA.",
1530+
"Represents if a resource violates SOC2 v2017.",
14961531
"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
14971532
"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
14981533
"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).",
@@ -1541,7 +1576,11 @@ false
15411576
"Performance impact of connections settings",
15421577
"Performance impact of temporary tables settings",
15431578
"Performance impact of transaction logs settings",
1544-
"Performance impact of high joins without indexes"
1579+
"Performance impact of high joins without indexes",
1580+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
1581+
"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.",
1582+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
1583+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
15451584
],
15461585
"type": "string"
15471586
},
@@ -1724,6 +1763,10 @@ false
17241763
"description": "The resource location. REQUIRED",
17251764
"type": "string"
17261765
},
1766+
"machineConfiguration": {
1767+
"$ref": "MachineConfiguration",
1768+
"description": "Machine configuration for this resource."
1769+
},
17271770
"primaryResourceId": {
17281771
"$ref": "DatabaseResourceId",
17291772
"description": "Identifier for this resource's immediate parent/primary resource if the current resource is a replica or derived form of another Database resource. Else it would be NULL. REQUIRED if the immediate parent exists when first time resource is getting ingested, otherwise optional."
@@ -1748,14 +1791,6 @@ false
17481791
"userLabelSet": {
17491792
"$ref": "UserLabels",
17501793
"description": "User-provided labels associated with the resource"
1751-
},
1752-
"userLabels": {
1753-
"additionalProperties": {
1754-
"type": "string"
1755-
},
1756-
"deprecated": true,
1757-
"description": "User-provided labels, represented as a dictionary where each label is a single key value pair.",
1758-
"type": "object"
17591794
}
17601795
},
17611796
"type": "object"
@@ -1831,9 +1866,17 @@ false
18311866
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2",
18321867
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1",
18331868
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0",
1869+
"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0",
18341870
"SIGNAL_TYPE_VIOLATES_NIST_800_53",
1871+
"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5",
1872+
"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0",
18351873
"SIGNAL_TYPE_VIOLATES_ISO_27001",
1874+
"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022",
18361875
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1",
1876+
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0",
1877+
"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4",
1878+
"SIGNAL_TYPE_VIOLATES_HIPAA",
1879+
"SIGNAL_TYPE_VIOLATES_SOC2_V2017",
18371880
"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING",
18381881
"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED",
18391882
"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING",
@@ -1882,7 +1925,11 @@ false
18821925
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
18831926
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
18841927
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
1885-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
1928+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
1929+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
1930+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
1931+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
1932+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
18861933
],
18871934
"enumDeprecated": [
18881935
false,
@@ -1951,6 +1998,18 @@ false,
19511998
false,
19521999
false,
19532000
false,
2001+
false,
2002+
false,
2003+
false,
2004+
false,
2005+
false,
2006+
false,
2007+
false,
2008+
false,
2009+
false,
2010+
false,
2011+
false,
2012+
false,
19542013
false
19552014
],
19562015
"enumDescriptions": [
@@ -1969,9 +2028,17 @@ false
19692028
"Represents if a resource violates CIS GCP Foundation 1.2.",
19702029
"Represents if a resource violates CIS GCP Foundation 1.1.",
19712030
"Represents if a resource violates CIS GCP Foundation 1.0.",
2031+
"Represents if a resource violates CIS Controls 8.0.",
19722032
"Represents if a resource violates NIST 800-53.",
2033+
"Represents if a resource violates NIST 800-53 R5.",
2034+
"Represents if a resource violates NIST Cybersecurity Framework 1.0.",
19732035
"Represents if a resource violates ISO-27001.",
2036+
"Represents if a resource violates ISO 27001 2022.",
19742037
"Represents if a resource violates PCI-DSS v3.2.1.",
2038+
"Represents if a resource violates PCI-DSS v4.0.",
2039+
"Represents if a resource violates Cloud Controls Matrix v4.0.",
2040+
"Represents if a resource violates HIPAA.",
2041+
"Represents if a resource violates SOC2 v2017.",
19752042
"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
19762043
"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
19772044
"Represents if the log_error_verbosity database flag for a Cloud SQL for PostgreSQL instance is not set to default or stricter (default or terse).",
@@ -2020,7 +2087,11 @@ false
20202087
"Performance impact of connections settings",
20212088
"Performance impact of temporary tables settings",
20222089
"Performance impact of transaction logs settings",
2023-
"Performance impact of high joins without indexes"
2090+
"Performance impact of high joins without indexes",
2091+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
2092+
"Detects events where a database user or role has been granted all privileges to a database, or to all tables, procedures, or functions in a schema.",
2093+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
2094+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
20242095
],
20252096
"type": "string"
20262097
}
@@ -2616,6 +2687,23 @@ false
26162687
},
26172688
"type": "object"
26182689
},
2690+
"MachineConfiguration": {
2691+
"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.",
2692+
"id": "MachineConfiguration",
2693+
"properties": {
2694+
"cpuCount": {
2695+
"description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
2696+
"format": "int32",
2697+
"type": "integer"
2698+
},
2699+
"memorySizeInBytes": {
2700+
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
2701+
"format": "int64",
2702+
"type": "string"
2703+
}
2704+
},
2705+
"type": "object"
2706+
},
26192707
"MaintenancePolicy": {
26202708
"description": "Maintenance policy for an instance.",
26212709
"id": "MaintenancePolicy",
@@ -2706,6 +2794,53 @@ false
27062794
},
27072795
"type": "object"
27082796
},
2797+
"ObservabilityMetricData": {
2798+
"id": "ObservabilityMetricData",
2799+
"properties": {
2800+
"aggregationType": {
2801+
"description": "Required. Type of aggregation performed on the metric.",
2802+
"enum": [
2803+
"AGGREGATION_TYPE_UNSPECIFIED",
2804+
"MAXIMUM"
2805+
],
2806+
"enumDescriptions": [
2807+
"Unspecified aggregation type.",
2808+
"Maximum aggregation type."
2809+
],
2810+
"type": "string"
2811+
},
2812+
"metricType": {
2813+
"description": "Required. Type of metric like CPU, Memory, etc.",
2814+
"enum": [
2815+
"METRIC_TYPE_UNSPECIFIED",
2816+
"CPU_UTILIZATION",
2817+
"MEMORY_UTILIZATION",
2818+
"NETWORK_CONNECTIONS"
2819+
],
2820+
"enumDescriptions": [
2821+
"",
2822+
"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
2823+
"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
2824+
"Number of network connections for a resource."
2825+
],
2826+
"type": "string"
2827+
},
2828+
"observationTime": {
2829+
"description": "Required. The time the metric value was observed.",
2830+
"format": "google-datetime",
2831+
"type": "string"
2832+
},
2833+
"resourceName": {
2834+
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
2835+
"type": "string"
2836+
},
2837+
"value": {
2838+
"$ref": "TypedValue",
2839+
"description": "Required. Value of the metric type."
2840+
}
2841+
},
2842+
"type": "object"
2843+
},
27092844
"Operation": {
27102845
"description": "This resource represents a long-running operation that is the result of a network API call.",
27112846
"id": "Operation",
@@ -3244,6 +3379,27 @@ false
32443379
},
32453380
"type": "object"
32463381
},
3382+
"TypedValue": {
3383+
"description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.",
3384+
"id": "TypedValue",
3385+
"properties": {
3386+
"boolValue": {
3387+
"type": "boolean"
3388+
},
3389+
"doubleValue": {
3390+
"format": "double",
3391+
"type": "number"
3392+
},
3393+
"int64Value": {
3394+
"format": "int64",
3395+
"type": "string"
3396+
},
3397+
"stringValue": {
3398+
"type": "string"
3399+
}
3400+
},
3401+
"type": "object"
3402+
},
32473403
"UpdateInfo": {
32483404
"description": "Represents information about an updating cluster.",
32493405
"id": "UpdateInfo",

0 commit comments

Comments
 (0)