Skip to content

Commit ece7727

Browse files
authoredMay 24, 2024··
feat(all): auto-regenerate discovery clients (#2603)
1 parent a86c4b6 commit ece7727

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

44 files changed

+7204
-233
lines changed
 

‎alloydb/v1/alloydb-api.json

+87-7
Original file line numberDiff line numberDiff line change
@@ -1461,7 +1461,7 @@
14611461
}
14621462
}
14631463
},
1464-
"revision": "20240424",
1464+
"revision": "20240517",
14651465
"rootUrl": "https://alloydb.googleapis.com/",
14661466
"schemas": {
14671467
"AuthorizedNetwork": {
@@ -3246,10 +3246,13 @@
32463246
],
32473247
"type": "string"
32483248
},
3249-
"recommendationSignalData": {
3250-
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData",
3249+
"observabilityMetricData": {
3250+
"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
32513251
"description": "More feed data would be added in subsequent CLs"
32523252
},
3253+
"recommendationSignalData": {
3254+
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData"
3255+
},
32533256
"resourceHealthSignalData": {
32543257
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData"
32553258
},
@@ -3423,7 +3426,11 @@
34233426
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
34243427
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
34253428
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
3426-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
3429+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
3430+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
3431+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
3432+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
3433+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
34273434
],
34283435
"enumDeprecated": [
34293436
false,
@@ -3492,6 +3499,10 @@
34923499
false,
34933500
false,
34943501
false,
3502+
false,
3503+
false,
3504+
false,
3505+
false,
34953506
false
34963507
],
34973508
"enumDescriptions": [
@@ -3561,7 +3572,11 @@
35613572
"Performance impact of connections settings",
35623573
"Performance impact of temporary tables settings",
35633574
"Performance impact of transaction logs settings",
3564-
"Performance impact of high joins without indexes"
3575+
"Performance impact of high joins without indexes",
3576+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
3577+
"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.",
3578+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
3579+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
35653580
],
35663581
"type": "string"
35673582
},
@@ -3744,6 +3759,10 @@
37443759
"description": "The resource location. REQUIRED",
37453760
"type": "string"
37463761
},
3762+
"machineConfiguration": {
3763+
"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
3764+
"description": "Machine configuration for this resource."
3765+
},
37473766
"primaryResourceId": {
37483767
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
37493768
"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."
@@ -3902,7 +3921,11 @@
39023921
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
39033922
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
39043923
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
3905-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
3924+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
3925+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
3926+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
3927+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
3928+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
39063929
],
39073930
"enumDeprecated": [
39083931
false,
@@ -3971,6 +3994,10 @@
39713994
false,
39723995
false,
39733996
false,
3997+
false,
3998+
false,
3999+
false,
4000+
false,
39744001
false
39754002
],
39764003
"enumDescriptions": [
@@ -4040,7 +4067,11 @@
40404067
"Performance impact of connections settings",
40414068
"Performance impact of temporary tables settings",
40424069
"Performance impact of transaction logs settings",
4043-
"Performance impact of high joins without indexes"
4070+
"Performance impact of high joins without indexes",
4071+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
4072+
"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.",
4073+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
4074+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
40444075
],
40454076
"type": "string"
40464077
}
@@ -4080,6 +4111,55 @@
40804111
},
40814112
"type": "object"
40824113
},
4114+
"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": {
4115+
"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.",
4116+
"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
4117+
"properties": {
4118+
"cpuCount": {
4119+
"description": "The number of CPUs.",
4120+
"format": "int32",
4121+
"type": "integer"
4122+
},
4123+
"memorySizeInBytes": {
4124+
"description": "Memory size in bytes.",
4125+
"format": "int64",
4126+
"type": "string"
4127+
}
4128+
},
4129+
"type": "object"
4130+
},
4131+
"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": {
4132+
"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
4133+
"properties": {
4134+
"metricTimestamp": {
4135+
"description": "Required. The timestamp of the metric value.",
4136+
"format": "google-datetime",
4137+
"type": "string"
4138+
},
4139+
"metricType": {
4140+
"description": "Required. Type of metric like CPU, Memory, etc.",
4141+
"enum": [
4142+
"METRIC_TYPE_UNSPECIFIED",
4143+
"INSTANCE_PEAK_CPU_UTILISATION"
4144+
],
4145+
"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."
4148+
],
4149+
"type": "string"
4150+
},
4151+
"resourceName": {
4152+
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
4153+
"type": "string"
4154+
},
4155+
"value": {
4156+
"description": "Required. Value of the metric type.",
4157+
"format": "double",
4158+
"type": "number"
4159+
}
4160+
},
4161+
"type": "object"
4162+
},
40834163
"StorageDatabasecenterPartnerapiV1mainOperationError": {
40844164
"description": "An error that occurred during a backup creation operation.",
40854165
"id": "StorageDatabasecenterPartnerapiV1mainOperationError",

‎alloydb/v1/alloydb-gen.go

+104-1
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)
Please sign in to comment.