Skip to content

Commit 411cad8

Browse files
feat(alloydb): update the api
#### alloydb:v1 The following keys were deleted: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels (Total Keys: 3) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.metricTimestamp (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value (Total Keys: 2) The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.aggregationType.type (Total Keys: 1) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.observationTime (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value.$ref (Total Keys: 1) - schemas.StorageDatabasecenterProtoCommonTypedValue (Total Keys: 8) #### alloydb:v1alpha The following keys were deleted: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels (Total Keys: 3) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.metricTimestamp (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value (Total Keys: 2) The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.aggregationType.type (Total Keys: 1) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.observationTime (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value.$ref (Total Keys: 1) - schemas.StorageDatabasecenterProtoCommonTypedValue (Total Keys: 8) #### alloydb:v1beta The following keys were deleted: - schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.userLabels (Total Keys: 3) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.metricTimestamp (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value (Total Keys: 2) The following keys were added: - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.aggregationType.type (Total Keys: 1) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.observationTime (Total Keys: 2) - schemas.StorageDatabasecenterPartnerapiV1mainObservabilityMetricData.properties.value.$ref (Total Keys: 1) - schemas.StorageDatabasecenterProtoCommonTypedValue (Total Keys: 8)
1 parent 50938ea commit 411cad8

File tree

3 files changed

+300
-60
lines changed

3 files changed

+300
-60
lines changed

googleapiclient/discovery_cache/documents/alloydb.v1.json

Lines changed: 100 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
}
14621462
}
14631463
},
1464-
"revision": "20240517",
1464+
"revision": "20240529",
14651465
"rootUrl": "https://alloydb.googleapis.com/",
14661466
"schemas": {
14671467
"AuthorizedNetwork": {
@@ -3375,9 +3375,17 @@ false
33753375
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2",
33763376
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1",
33773377
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0",
3378+
"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0",
33783379
"SIGNAL_TYPE_VIOLATES_NIST_800_53",
3380+
"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5",
3381+
"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0",
33793382
"SIGNAL_TYPE_VIOLATES_ISO_27001",
3383+
"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022",
33803384
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1",
3385+
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0",
3386+
"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4",
3387+
"SIGNAL_TYPE_VIOLATES_HIPAA",
3388+
"SIGNAL_TYPE_VIOLATES_SOC2_V2017",
33813389
"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING",
33823390
"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED",
33833391
"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING",
@@ -3503,6 +3511,14 @@ false,
35033511
false,
35043512
false,
35053513
false,
3514+
false,
3515+
false,
3516+
false,
3517+
false,
3518+
false,
3519+
false,
3520+
false,
3521+
false,
35063522
false
35073523
],
35083524
"enumDescriptions": [
@@ -3521,9 +3537,17 @@ false
35213537
"Represents if a resource violates CIS GCP Foundation 1.2.",
35223538
"Represents if a resource violates CIS GCP Foundation 1.1.",
35233539
"Represents if a resource violates CIS GCP Foundation 1.0.",
3540+
"Represents if a resource violates CIS Controls 8.0.",
35243541
"Represents if a resource violates NIST 800-53.",
3542+
"Represents if a resource violates NIST 800-53 R5.",
3543+
"Represents if a resource violates NIST Cybersecurity Framework 1.0.",
35253544
"Represents if a resource violates ISO-27001.",
3545+
"Represents if a resource violates ISO 27001 2022.",
35263546
"Represents if a resource violates PCI-DSS v3.2.1.",
3547+
"Represents if a resource violates PCI-DSS v4.0.",
3548+
"Represents if a resource violates Cloud Controls Matrix v4.0.",
3549+
"Represents if a resource violates HIPAA.",
3550+
"Represents if a resource violates SOC2 v2017.",
35273551
"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
35283552
"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
35293553
"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).",
@@ -3787,14 +3811,6 @@ false
37873811
"userLabelSet": {
37883812
"$ref": "StorageDatabasecenterPartnerapiV1mainUserLabels",
37893813
"description": "User-provided labels associated with the resource"
3790-
},
3791-
"userLabels": {
3792-
"additionalProperties": {
3793-
"type": "string"
3794-
},
3795-
"deprecated": true,
3796-
"description": "User-provided labels, represented as a dictionary where each label is a single key value pair.",
3797-
"type": "object"
37983814
}
37993815
},
38003816
"type": "object"
@@ -3870,9 +3886,17 @@ false
38703886
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_2",
38713887
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_1",
38723888
"SIGNAL_TYPE_VIOLATES_CIS_GCP_FOUNDATION_1_0",
3889+
"SIGNAL_TYPE_VIOLATES_CIS_CONTROLS_V8_0",
38733890
"SIGNAL_TYPE_VIOLATES_NIST_800_53",
3891+
"SIGNAL_TYPE_VIOLATES_NIST_800_53_R5",
3892+
"SIGNAL_TYPE_VIOLATES_NIST_CYBERSECURITY_FRAMEWORK_V1_0",
38743893
"SIGNAL_TYPE_VIOLATES_ISO_27001",
3894+
"SIGNAL_TYPE_VIOLATES_ISO_27001_V2022",
38753895
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V3_2_1",
3896+
"SIGNAL_TYPE_VIOLATES_PCI_DSS_V4_0",
3897+
"SIGNAL_TYPE_VIOLATES_CLOUD_CONTROLS_MATRIX_V4",
3898+
"SIGNAL_TYPE_VIOLATES_HIPAA",
3899+
"SIGNAL_TYPE_VIOLATES_SOC2_V2017",
38763900
"SIGNAL_TYPE_LOGS_NOT_OPTIMIZED_FOR_TROUBLESHOOTING",
38773901
"SIGNAL_TYPE_QUERY_DURATIONS_NOT_LOGGED",
38783902
"SIGNAL_TYPE_VERBOSE_ERROR_LOGGING",
@@ -3998,6 +4022,14 @@ false,
39984022
false,
39994023
false,
40004024
false,
4025+
false,
4026+
false,
4027+
false,
4028+
false,
4029+
false,
4030+
false,
4031+
false,
4032+
false,
40014033
false
40024034
],
40034035
"enumDescriptions": [
@@ -4016,9 +4048,17 @@ false
40164048
"Represents if a resource violates CIS GCP Foundation 1.2.",
40174049
"Represents if a resource violates CIS GCP Foundation 1.1.",
40184050
"Represents if a resource violates CIS GCP Foundation 1.0.",
4051+
"Represents if a resource violates CIS Controls 8.0.",
40194052
"Represents if a resource violates NIST 800-53.",
4053+
"Represents if a resource violates NIST 800-53 R5.",
4054+
"Represents if a resource violates NIST Cybersecurity Framework 1.0.",
40204055
"Represents if a resource violates ISO-27001.",
4056+
"Represents if a resource violates ISO 27001 2022.",
40214057
"Represents if a resource violates PCI-DSS v3.2.1.",
4058+
"Represents if a resource violates PCI-DSS v4.0.",
4059+
"Represents if a resource violates Cloud Controls Matrix v4.0.",
4060+
"Represents if a resource violates HIPAA.",
4061+
"Represents if a resource violates SOC2 v2017.",
40224062
"Represents if log_checkpoints database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
40234063
"Represents if the log_duration database flag for a Cloud SQL for PostgreSQL instance is not set to on.",
40244064
"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).",
@@ -4116,12 +4156,12 @@ false
41164156
"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
41174157
"properties": {
41184158
"cpuCount": {
4119-
"description": "The number of CPUs.",
4159+
"description": "The number of CPUs. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
41204160
"format": "int32",
41214161
"type": "integer"
41224162
},
41234163
"memorySizeInBytes": {
4124-
"description": "Memory size in bytes.",
4164+
"description": "Memory size in bytes. TODO(b/342344482, b/342346271) add proto validations again after bug fix.",
41254165
"format": "int64",
41264166
"type": "string"
41274167
}
@@ -4131,31 +4171,46 @@ false
41314171
"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": {
41324172
"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
41334173
"properties": {
4134-
"metricTimestamp": {
4135-
"description": "Required. The timestamp of the metric value.",
4136-
"format": "google-datetime",
4174+
"aggregationType": {
4175+
"description": "Required. Type of aggregation performed on the metric.",
4176+
"enum": [
4177+
"AGGREGATION_TYPE_UNSPECIFIED",
4178+
"MAXIMUM"
4179+
],
4180+
"enumDescriptions": [
4181+
"Unspecified aggregation type.",
4182+
"Maximum aggregation type."
4183+
],
41374184
"type": "string"
41384185
},
41394186
"metricType": {
41404187
"description": "Required. Type of metric like CPU, Memory, etc.",
41414188
"enum": [
41424189
"METRIC_TYPE_UNSPECIFIED",
4143-
"INSTANCE_PEAK_CPU_UTILISATION"
4190+
"CPU_UTILIZATION",
4191+
"MEMORY_UTILIZATION",
4192+
"NETWORK_CONNECTIONS"
41444193
],
41454194
"enumDescriptions": [
4146-
"",
4147-
"Peak CPU utilization for a DB instance as a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases) List will keep increasing, e.g. PEAK_MEMORY_UTILISATION, NUMBER_OF_CONNECTIONS, SUCCESS_RATIO_FOR_QUERIES, etc."
4195+
"Unspecified metric type.",
4196+
"CPU utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4197+
"Memory utilization for a resource. The value is a fraction between 0.0 and 1.0 (may momentarily exceed 1.0 in some cases).",
4198+
"Number of network connections for a resource."
41484199
],
41494200
"type": "string"
41504201
},
4202+
"observationTime": {
4203+
"description": "Required. The time the metric value was observed.",
4204+
"format": "google-datetime",
4205+
"type": "string"
4206+
},
41514207
"resourceName": {
41524208
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
41534209
"type": "string"
41544210
},
41554211
"value": {
4156-
"description": "Required. Value of the metric type.",
4157-
"format": "double",
4158-
"type": "number"
4212+
"$ref": "StorageDatabasecenterProtoCommonTypedValue",
4213+
"description": "Required. Value of the metric type."
41594214
}
41604215
},
41614216
"type": "object"
@@ -4345,6 +4400,31 @@ false
43454400
},
43464401
"type": "object"
43474402
},
4403+
"StorageDatabasecenterProtoCommonTypedValue": {
4404+
"description": "TypedValue represents the value of a metric type. It can either be a double, an int64, a string or a bool.",
4405+
"id": "StorageDatabasecenterProtoCommonTypedValue",
4406+
"properties": {
4407+
"boolValue": {
4408+
"description": "For boolean value",
4409+
"type": "boolean"
4410+
},
4411+
"doubleValue": {
4412+
"description": "For double value",
4413+
"format": "double",
4414+
"type": "number"
4415+
},
4416+
"int64Value": {
4417+
"description": "For integer value",
4418+
"format": "int64",
4419+
"type": "string"
4420+
},
4421+
"stringValue": {
4422+
"description": "For string value",
4423+
"type": "string"
4424+
}
4425+
},
4426+
"type": "object"
4427+
},
43484428
"StringRestrictions": {
43494429
"description": "Restrictions on STRING type values",
43504430
"id": "StringRestrictions",

0 commit comments

Comments
 (0)