Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2603

Merged
merged 1 commit into from
May 24, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
94 changes: 87 additions & 7 deletions alloydb/v1/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 @@ -3246,10 +3246,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 @@ -3423,7 +3426,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 @@ -3492,6 +3499,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -3561,7 +3572,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 @@ -3744,6 +3759,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 @@ -3902,7 +3921,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 @@ -3971,6 +3994,10 @@
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
Expand Down Expand Up @@ -4040,7 +4067,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 @@ -4080,6 +4111,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
105 changes: 104 additions & 1 deletion alloydb/v1/alloydb-gen.go

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

Loading