Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2606)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed May 26, 2024
1 parent f474c8f commit ceaeabf
Show file tree
Hide file tree
Showing 4 changed files with 247 additions and 29 deletions.
106 changes: 99 additions & 7 deletions alloydb/v1alpha/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1461,7 +1461,7 @@
}
}
},
"revision": "20240424",
"revision": "20240517",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -2405,6 +2405,14 @@
"$ref": "ObservabilityInstanceConfig",
"description": "Configuration for observability."
},
"outboundPublicIpAddresses": {
"description": "Output only. All outbound public IP addresses configured for the instance.",
"items": {
"type": "string"
},
"readOnly": true,
"type": "array"
},
"pscInstanceConfig": {
"$ref": "PscInstanceConfig",
"description": "Optional. The configuration for Private Service Connect (PSC) for the instance."
Expand Down Expand Up @@ -2498,6 +2506,10 @@
},
"type": "array"
},
"enableOutboundPublicIp": {
"description": "Optional. Enabling an outbound public IP address to support a database server sending requests out into the internet.",
"type": "boolean"
},
"enablePublicIp": {
"description": "Optional. Enabling public ip for the instance.",
"type": "boolean"
Expand Down Expand Up @@ -3357,10 +3369,13 @@
],
"type": "string"
},
"recommendationSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData",
"observabilityMetricData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
"description": "More feed data would be added in subsequent CLs"
},
"recommendationSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceRecommendationSignalData"
},
"resourceHealthSignalData": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData"
},
Expand Down Expand Up @@ -3534,7 +3549,11 @@
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -3603,6 +3622,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -3672,7 +3695,11 @@
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
"Performance impact of high joins without indexes",
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
"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.",
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
],
"type": "string"
},
Expand Down Expand Up @@ -3855,6 +3882,10 @@
"description": "The resource location. REQUIRED",
"type": "string"
},
"machineConfiguration": {
"$ref": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
"description": "Machine configuration for this resource."
},
"primaryResourceId": {
"$ref": "StorageDatabasecenterPartnerapiV1mainDatabaseResourceId",
"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."
Expand Down Expand Up @@ -4013,7 +4044,11 @@
"SIGNAL_TYPE_CONNECTIONS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TMP_TABLES_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_TRANS_LOGS_PERFORMANCE_IMPACT",
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES"
"SIGNAL_TYPE_HIGH_JOINS_WITHOUT_INDEXES",
"SIGNAL_TYPE_SUPERUSER_WRITING_TO_USER_TABLES",
"SIGNAL_TYPE_USER_GRANTED_ALL_PERMISSIONS",
"SIGNAL_TYPE_DATA_EXPORT_TO_EXTERNAL_CLOUD_STORAGE_BUCKET",
"SIGNAL_TYPE_DATA_EXPORT_TO_PUBLIC_CLOUD_STORAGE_BUCKET"
],
"enumDeprecated": [
false,
Expand Down Expand Up @@ -4082,6 +4117,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -4151,7 +4190,11 @@
"Performance impact of connections settings",
"Performance impact of temporary tables settings",
"Performance impact of transaction logs settings",
"Performance impact of high joins without indexes"
"Performance impact of high joins without indexes",
"Detects events where a Cloud SQL superuser (postgres for PostgreSQL servers or root for MySQL users) writes to non-system tables.",
"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.",
"Detects if database instance data exported to a Cloud Storage bucket outside of the organization.",
"Detects if database instance data exported to a Cloud Storage bucket that is owned by the organization and is publicly accessible."
],
"type": "string"
}
Expand Down Expand Up @@ -4191,6 +4234,55 @@
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainMachineConfiguration": {
"description": "MachineConfiguration describes the configuration of a machine specific to Database Resource.",
"id": "StorageDatabasecenterPartnerapiV1mainMachineConfiguration",
"properties": {
"cpuCount": {
"description": "The number of CPUs.",
"format": "int32",
"type": "integer"
},
"memorySizeInBytes": {
"description": "Memory size in bytes.",
"format": "int64",
"type": "string"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainObservabilityMetricData": {
"id": "StorageDatabasecenterPartnerapiV1mainObservabilityMetricData",
"properties": {
"metricTimestamp": {
"description": "Required. The timestamp of the metric value.",
"format": "google-datetime",
"type": "string"
},
"metricType": {
"description": "Required. Type of metric like CPU, Memory, etc.",
"enum": [
"METRIC_TYPE_UNSPECIFIED",
"INSTANCE_PEAK_CPU_UTILISATION"
],
"enumDescriptions": [
"",
"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."
],
"type": "string"
},
"resourceName": {
"description": "Required. Database resource name associated with the signal. Resource name to follow CAIS resource_name format as noted here go/condor-common-datamodel",
"type": "string"
},
"value": {
"description": "Required. Value of the metric type.",
"format": "double",
"type": "number"
}
},
"type": "object"
},
"StorageDatabasecenterPartnerapiV1mainOperationError": {
"description": "An error that occurred during a backup creation operation.",
"id": "StorageDatabasecenterPartnerapiV1mainOperationError",
Expand Down
111 changes: 110 additions & 1 deletion alloydb/v1alpha/alloydb-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit ceaeabf

Please sign in to comment.