Skip to content

Commit

Permalink
feat(alloydb): update the API
Browse files Browse the repository at this point in the history
#### alloydb:v1alpha

The following keys were added:
- schemas.Cluster.properties.pscConfig.$ref
- schemas.Cluster.properties.pscConfig.description
- schemas.PscConfig.description
- schemas.PscConfig.id
- schemas.PscConfig.properties.pscEnabled.description
- schemas.PscConfig.properties.pscEnabled.type
- schemas.PscConfig.type
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated

The following keys were changed:
- schemas.NetworkConfig.properties.network.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions

#### alloydb:v1beta

The following keys were added:
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated

The following keys were changed:
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions

#### alloydb:v1

The following keys were added:
- schemas.GenerateClientCertificateRequest.properties.useMetadataExchange.description
- schemas.GenerateClientCertificateRequest.properties.useMetadataExchange.type
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDeprecated

The following keys were changed:
- schemas.Backup.properties.databaseVersion.enum
- schemas.Backup.properties.databaseVersion.enumDeprecated
- schemas.Backup.properties.databaseVersion.enumDescriptions
- schemas.Cluster.properties.databaseVersion.enum
- schemas.Cluster.properties.databaseVersion.enumDeprecated
- schemas.Cluster.properties.databaseVersion.enumDescriptions
- schemas.NetworkConfig.properties.network.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.signalType.enumDescriptions
- schemas.SupportedDatabaseFlag.properties.supportedDbVersions.items.enum
- schemas.SupportedDatabaseFlag.properties.supportedDbVersions.items.enumDeprecated
- schemas.SupportedDatabaseFlag.properties.supportedDbVersions.items.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Nov 27, 2023
1 parent e8bc0fc commit 9d9e14d
Show file tree
Hide file tree
Showing 5 changed files with 238 additions and 19 deletions.
91 changes: 81 additions & 10 deletions discovery/alloydb-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20231011",
"revision": "20231109",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AutomatedBackupPolicy": {
Expand Down Expand Up @@ -1566,17 +1566,20 @@
"enum": [
"DATABASE_VERSION_UNSPECIFIED",
"POSTGRES_13",
"POSTGRES_14"
"POSTGRES_14",
"POSTGRES_15"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"This is an unknown database version.",
"DEPRECATED - The database version is Postgres 13.",
"The database version is Postgres 14."
"The database version is Postgres 14.",
"The database version is Postgres 15."
],
"readOnly": true,
"type": "string"
Expand Down Expand Up @@ -1814,17 +1817,20 @@
"enum": [
"DATABASE_VERSION_UNSPECIFIED",
"POSTGRES_13",
"POSTGRES_14"
"POSTGRES_14",
"POSTGRES_15"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"This is an unknown database version.",
"DEPRECATED - The database version is Postgres 13.",
"The database version is Postgres 14."
"The database version is Postgres 14.",
"The database version is Postgres 15."
],
"type": "string"
},
Expand Down Expand Up @@ -2129,6 +2135,10 @@
"requestId": {
"description": "Optional. An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. The server will guarantee that for at least 60 minutes after the first request. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported (00000000-0000-0000-0000-000000000000).",
"type": "string"
},
"useMetadataExchange": {
"description": "Optional. An optional hint to the endpoint to generate a client ceritificate that can be used by AlloyDB connectors to exchange additional metadata with the server after TLS handshake.",
"type": "boolean"
}
},
"type": "object"
Expand Down Expand Up @@ -2626,7 +2636,7 @@
"type": "string"
},
"network": {
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"type": "string"
}
},
Expand Down Expand Up @@ -3200,6 +3210,8 @@
"description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.",
"enum": [
"SIGNAL_TYPE_UNSPECIFIED",
"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER",
"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS",
"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES",
"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS",
"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA",
Expand Down Expand Up @@ -3245,10 +3257,65 @@
"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO",
"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS",
"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED",
"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"
"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED",
"SIGNAL_TYPE_PUBLIC_IP_ENABLED"
],
"enumDeprecated": [
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
"Unspecified.",
"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.",
"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.",
"Represents if the resource is available in multiple zones or not.",
"Represents if a resource is available in multiple regions.",
"Represents if a resource has a promotable replica.",
Expand Down Expand Up @@ -3294,7 +3361,8 @@
"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.",
"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.",
"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.",
"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)"
"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.",
"Represents if public IP is enabled. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)"
],
"type": "string"
},
Expand Down Expand Up @@ -3629,17 +3697,20 @@
"enum": [
"DATABASE_VERSION_UNSPECIFIED",
"POSTGRES_13",
"POSTGRES_14"
"POSTGRES_14",
"POSTGRES_15"
],
"enumDeprecated": [
false,
true,
false,
false
],
"enumDescriptions": [
"This is an unknown database version.",
"DEPRECATED - The database version is Postgres 13.",
"The database version is Postgres 14."
"The database version is Postgres 14.",
"The database version is Postgres 15."
],
"type": "string"
},
Expand Down
81 changes: 77 additions & 4 deletions discovery/alloydb-v1alpha.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20231011",
"revision": "20231109",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AutomatedBackupPolicy": {
Expand Down Expand Up @@ -1896,6 +1896,10 @@
"description": "Output only. Cross Region replication config specific to PRIMARY cluster.",
"readOnly": true
},
"pscConfig": {
"$ref": "PscConfig",
"description": "Optional. The configuration for Private Service Connect (PSC) for the cluster."
},
"reconciling": {
"description": "Output only. Reconciling (https://google.aip.dev/128#reconciliation). Set to true if the current state of Cluster does not match the user's intended state, and the service is actively updating the resource to reconcile them. This can happen due to user-triggered updates or system actions like failover or maintenance.",
"readOnly": true,
Expand Down Expand Up @@ -2675,7 +2679,7 @@
"type": "string"
},
"network": {
"description": "Required. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"description": "Optional. The resource link for the VPC network in which cluster resources are created and from which they are accessible via Private IP. The network must belong to the same project as the cluster. It is specified in the form: \"projects/{project_number}/global/networks/{network_id}\". This is required to create a cluster.",
"type": "string"
}
},
Expand Down Expand Up @@ -2817,6 +2821,17 @@
},
"type": "object"
},
"PscConfig": {
"description": "PscConfig contains PSC related configuration at a cluster level. NEXT ID: 2",
"id": "PscConfig",
"properties": {
"pscEnabled": {
"description": "Optional. Create an instance that allows connections from Private Service Connect endpoints to the instance.",
"type": "boolean"
}
},
"type": "object"
},
"QuantityBasedExpiry": {
"description": "A backup's position in a quantity-based retention queue, of backups with the same source cluster and type, with length, retention, specified by the backup's retention policy. Once the position is greater than the retention, the backup is eligible to be garbage collected. Example: 5 backups from the same source cluster and type with a quantity-based retention of 3 and denoted by backup_id (position, retention). Safe: backup_5 (1, 3), backup_4, (2, 3), backup_3 (3, 3). Awaiting garbage collection: backup_2 (4, 3), backup_1 (5, 3)",
"id": "QuantityBasedExpiry",
Expand Down Expand Up @@ -3249,6 +3264,8 @@
"description": "Required. Type of signal, for example, `AVAILABLE_IN_MULTIPLE_ZONES`, `LOGGING_MOST_ERRORS`, etc.",
"enum": [
"SIGNAL_TYPE_UNSPECIFIED",
"SIGNAL_TYPE_NOT_PROTECTED_BY_AUTOMATIC_FAILOVER",
"SIGNAL_TYPE_GROUP_NOT_REPLICATING_ACROSS_REGIONS",
"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_ZONES",
"SIGNAL_TYPE_NOT_AVAILABLE_IN_MULTIPLE_REGIONS",
"SIGNAL_TYPE_NO_PROMOTABLE_REPLICA",
Expand Down Expand Up @@ -3294,10 +3311,65 @@
"SIGNAL_TYPE_LOGGING_EXCESSIVE_STATEMENT_INFO",
"SIGNAL_TYPE_EXPOSED_TO_REMOTE_ACCESS",
"SIGNAL_TYPE_DATABASE_NAMES_EXPOSED",
"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED"
"SIGNAL_TYPE_SENSITIVE_TRACE_INFO_NOT_MASKED",
"SIGNAL_TYPE_PUBLIC_IP_ENABLED"
],
"enumDeprecated": [
false,
false,
false,
true,
true,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false,
false
],
"enumDescriptions": [
"Unspecified.",
"Represents if a resource is protected by automatic failover. Checks for resources that are configured to have redundancy within a region that enables automatic failover.",
"Represents if a group is replicating across regions. Checks for resources that are configured to have redundancy, and ongoing replication, across regions.",
"Represents if the resource is available in multiple zones or not.",
"Represents if a resource is available in multiple regions.",
"Represents if a resource has a promotable replica.",
Expand Down Expand Up @@ -3343,7 +3415,8 @@
"Represents if the log_min_duration_statement database flag for a Cloud SQL for PostgreSQL instance is not set to -1.",
"Represents if the remote access database flag for a Cloud SQL for SQL Server instance is not set to off.",
"Represents if the skip_show_database database flag for a Cloud SQL for MySQL instance is not set to on.",
"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)"
"Represents if the 3625 (trace flag) database flag for a Cloud SQL for SQL Server instance is not set to on.",
"Represents if public IP is enabled. LINT.ThenChange(//depot/google3/storage/databasecenter/ingestion/borgjob/message_adapter/health_signal_feed/health_signal_mapping.h)"
],
"type": "string"
},
Expand Down

0 comments on commit 9d9e14d

Please sign in to comment.