Skip to content

Commit ceaeabf

Browse files
feat(all): auto-regenerate discovery clients (#2606)
1 parent f474c8f commit ceaeabf

4 files changed

Lines changed: 247 additions & 29 deletions

File tree

alloydb/v1alpha/alloydb-api.json

Lines changed: 99 additions & 7 deletions
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": {
@@ -2405,6 +2405,14 @@
24052405
"$ref": "ObservabilityInstanceConfig",
24062406
"description": "Configuration for observability."
24072407
},
2408+
"outboundPublicIpAddresses": {
2409+
"description": "Output only. All outbound public IP addresses configured for the instance.",
2410+
"items": {
2411+
"type": "string"
2412+
},
2413+
"readOnly": true,
2414+
"type": "array"
2415+
},
24082416
"pscInstanceConfig": {
24092417
"$ref": "PscInstanceConfig",
24102418
"description": "Optional. The configuration for Private Service Connect (PSC) for the instance."
@@ -2498,6 +2506,10 @@
24982506
},
24992507
"type": "array"
25002508
},
2509+
"enableOutboundPublicIp": {
2510+
"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.",
2511+
"type": "boolean"
2512+
},
25012513
"enablePublicIp": {
25022514
"description": "Optional. Enabling public ip for the instance.",
25032515
"type": "boolean"
@@ -3357,10 +3369,13 @@
33573369
],
33583370
"type": "string"
33593371
},
3360-
"recommendationSignalData": {
3361-
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData",
3372+
"observabilityMetricData": {
3373+
"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
33623374
"description": "More feed data would be added in subsequent CLs"
33633375
},
3376+
"recommendationSignalData": {
3377+
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData"
3378+
},
33643379
"resourceHealthSignalData": {
33653380
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData"
33663381
},
@@ -3534,7 +3549,11 @@
35343549
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
35353550
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
35363551
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
3537-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
3552+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
3553+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
3554+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
3555+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
3556+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
35383557
],
35393558
"enumDeprecated": [
35403559
false,
@@ -3603,6 +3622,10 @@
36033622
false,
36043623
false,
36053624
false,
3625+
false,
3626+
false,
3627+
false,
3628+
false,
36063629
false
36073630
],
36083631
"enumDescriptions": [
@@ -3672,7 +3695,11 @@
36723695
"Performance impact of connections settings",
36733696
"Performance impact of temporary tables settings",
36743697
"Performance impact of transaction logs settings",
3675-
"Performance impact of high joins without indexes"
3698+
"Performance impact of high joins without indexes",
3699+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
3700+
"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.",
3701+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
3702+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
36763703
],
36773704
"type": "string"
36783705
},
@@ -3855,6 +3882,10 @@
38553882
"description": "The resource location. REQUIRED",
38563883
"type": "string"
38573884
},
3885+
"machineConfiguration": {
3886+
"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
3887+
"description": "Machine configuration for this resource."
3888+
},
38583889
"primaryResourceId": {
38593890
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
38603891
"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."
@@ -4013,7 +4044,11 @@
40134044
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
40144045
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
40154046
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
4016-
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
4047+
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
4048+
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
4049+
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
4050+
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
4051+
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
40174052
],
40184053
"enumDeprecated": [
40194054
false,
@@ -4082,6 +4117,10 @@
40824117
false,
40834118
false,
40844119
false,
4120+
false,
4121+
false,
4122+
false,
4123+
false,
40854124
false
40864125
],
40874126
"enumDescriptions": [
@@ -4151,7 +4190,11 @@
41514190
"Performance impact of connections settings",
41524191
"Performance impact of temporary tables settings",
41534192
"Performance impact of transaction logs settings",
4154-
"Performance impact of high joins without indexes"
4193+
"Performance impact of high joins without indexes",
4194+
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
4195+
"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.",
4196+
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
4197+
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
41554198
],
41564199
"type": "string"
41574200
}
@@ -4191,6 +4234,55 @@
41914234
},
41924235
"type": "object"
41934236
},
4237+
"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": {
4238+
"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.",
4239+
"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
4240+
"properties": {
4241+
"cpuCount": {
4242+
"description": "The number of CPUs.",
4243+
"format": "int32",
4244+
"type": "integer"
4245+
},
4246+
"memorySizeInBytes": {
4247+
"description": "Memory size in bytes.",
4248+
"format": "int64",
4249+
"type": "string"
4250+
}
4251+
},
4252+
"type": "object"
4253+
},
4254+
"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": {
4255+
"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
4256+
"properties": {
4257+
"metricTimestamp": {
4258+
"description": "Required. The timestamp of the metric value.",
4259+
"format": "google-datetime",
4260+
"type": "string"
4261+
},
4262+
"metricType": {
4263+
"description": "Required. Type of metric like CPU, Memory, etc.",
4264+
"enum": [
4265+
"METRIC_TYPE_UNSPECIFIED",
4266+
"INSTANCE_PEAK_CPU_UTILISATION"
4267+
],
4268+
"enumDescriptions": [
4269+
"",
4270+
"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."
4271+
],
4272+
"type": "string"
4273+
},
4274+
"resourceName": {
4275+
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
4276+
"type": "string"
4277+
},
4278+
"value": {
4279+
"description": "Required. Value of the metric type.",
4280+
"format": "double",
4281+
"type": "number"
4282+
}
4283+
},
4284+
"type": "object"
4285+
},
41944286
"StorageDatabasecenterPartnerapiV1mainOperationError": {
41954287
"description": "An error that occurred during a backup creation operation.",
41964288
"id": "StorageDatabasecenterPartnerapiV1mainOperationError",

alloydb/v1alpha/alloydb-gen.go

Lines changed: 110 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)