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.AuthorizedNetwork.description
- schemas.AuthorizedNetwork.id
- schemas.AuthorizedNetwork.properties.cidrRange.description
- schemas.AuthorizedNetwork.properties.cidrRange.type
- schemas.AuthorizedNetwork.type
- schemas.Backup.properties.satisfiesPzi.description
- schemas.Backup.properties.satisfiesPzi.readOnly
- schemas.Backup.properties.satisfiesPzi.type
- schemas.Cluster.properties.satisfiesPzi.description
- schemas.Cluster.properties.satisfiesPzi.readOnly
- schemas.Cluster.properties.satisfiesPzi.type
- schemas.ConnectionInfo.properties.publicIpAddress.description
- schemas.ConnectionInfo.properties.publicIpAddress.readOnly
- schemas.ConnectionInfo.properties.publicIpAddress.type
- schemas.Instance.properties.networkConfig.$ref
- schemas.Instance.properties.networkConfig.description
- schemas.Instance.properties.pscInstanceConfig.$ref
- schemas.Instance.properties.pscInstanceConfig.description
- schemas.Instance.properties.satisfiesPzi.description
- schemas.Instance.properties.satisfiesPzi.readOnly
- schemas.Instance.properties.satisfiesPzi.type
- schemas.InstanceNetworkConfig.description
- schemas.InstanceNetworkConfig.id
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.description
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.items.$ref
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.type
- schemas.InstanceNetworkConfig.properties.enablePublicIp.description
- schemas.InstanceNetworkConfig.properties.enablePublicIp.type
- schemas.InstanceNetworkConfig.type
- schemas.PscInstanceConfig.description
- schemas.PscInstanceConfig.id
- schemas.PscInstanceConfig.properties.allowedConsumerNetworks.description
- schemas.PscInstanceConfig.properties.allowedConsumerNetworks.items.type
- schemas.PscInstanceConfig.properties.allowedConsumerNetworks.type
- schemas.PscInstanceConfig.properties.allowedConsumerProjects.description
- schemas.PscInstanceConfig.properties.allowedConsumerProjects.items.type
- schemas.PscInstanceConfig.properties.allowedConsumerProjects.type
- schemas.PscInstanceConfig.properties.outgoingServiceAttachmentLinks.description
- schemas.PscInstanceConfig.properties.outgoingServiceAttachmentLinks.items.type
- schemas.PscInstanceConfig.properties.outgoingServiceAttachmentLinks.type
- schemas.PscInstanceConfig.properties.pscEnabled.description
- schemas.PscInstanceConfig.properties.pscEnabled.type
- schemas.PscInstanceConfig.properties.pscInterfaceConfigs.description
- schemas.PscInstanceConfig.properties.pscInterfaceConfigs.items.$ref
- schemas.PscInstanceConfig.properties.pscInterfaceConfigs.type
- schemas.PscInstanceConfig.properties.serviceAttachmentLink.description
- schemas.PscInstanceConfig.properties.serviceAttachmentLink.readOnly
- schemas.PscInstanceConfig.properties.serviceAttachmentLink.type
- schemas.PscInstanceConfig.type
- schemas.PscInterfaceConfig.description
- schemas.PscInterfaceConfig.id
- schemas.PscInterfaceConfig.properties.consumerEndpointIps.description
- schemas.PscInterfaceConfig.properties.consumerEndpointIps.items.type
- schemas.PscInterfaceConfig.properties.consumerEndpointIps.type
- schemas.PscInterfaceConfig.properties.networkAttachment.description
- schemas.PscInterfaceConfig.properties.networkAttachment.type
- schemas.PscInterfaceConfig.type
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDeprecated

The following keys were changed:
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.resourceContainer.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDescriptions
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.resourceContainer.description
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDescriptions
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDescriptions

#### alloydb:v1beta

The following keys were added:
- schemas.AuthorizedNetwork.description
- schemas.AuthorizedNetwork.id
- schemas.AuthorizedNetwork.properties.cidrRange.description
- schemas.AuthorizedNetwork.properties.cidrRange.type
- schemas.AuthorizedNetwork.type
- schemas.Backup.properties.satisfiesPzs.description
- schemas.Backup.properties.satisfiesPzs.readOnly
- schemas.Backup.properties.satisfiesPzs.type
- schemas.Cluster.properties.satisfiesPzs.description
- schemas.Cluster.properties.satisfiesPzs.readOnly
- schemas.Cluster.properties.satisfiesPzs.type
- schemas.ConnectionInfo.properties.publicIpAddress.description
- schemas.ConnectionInfo.properties.publicIpAddress.readOnly
- schemas.ConnectionInfo.properties.publicIpAddress.type
- schemas.Instance.properties.networkConfig.$ref
- schemas.Instance.properties.networkConfig.description
- schemas.Instance.properties.satisfiesPzs.description
- schemas.Instance.properties.satisfiesPzs.readOnly
- schemas.Instance.properties.satisfiesPzs.type
- schemas.InstanceNetworkConfig.description
- schemas.InstanceNetworkConfig.id
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.description
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.items.$ref
- schemas.InstanceNetworkConfig.properties.authorizedExternalNetworks.type
- schemas.InstanceNetworkConfig.properties.enablePublicIp.description
- schemas.InstanceNetworkConfig.properties.enablePublicIp.type
- schemas.InstanceNetworkConfig.type
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDeprecated

The following keys were changed:
- schemas.NetworkConfig.properties.network.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.resourceContainer.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDescriptions
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.resourceContainer.description
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDescriptions
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDescriptions

#### alloydb:v1

The following keys were added:
- schemas.Backup.properties.satisfiesPzs.description
- schemas.Backup.properties.satisfiesPzs.readOnly
- schemas.Backup.properties.satisfiesPzs.type
- schemas.Cluster.properties.satisfiesPzs.description
- schemas.Cluster.properties.satisfiesPzs.readOnly
- schemas.Cluster.properties.satisfiesPzs.type
- schemas.Instance.properties.satisfiesPzs.description
- schemas.Instance.properties.satisfiesPzs.readOnly
- schemas.Instance.properties.satisfiesPzs.type
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDeprecated
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDeprecated

The following keys were changed:
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceHealthSignalData.properties.resourceContainer.description
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enum
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.instanceType.enumDescriptions
- schemas.StorageDatabasecenterPartnerapiV1mainDatabaseResourceMetadata.properties.resourceContainer.description
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.engine.enumDescriptions
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enum
- schemas.StorageDatabasecenterProtoCommonProduct.properties.type.enumDescriptions
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 3, 2024
1 parent 66739ce commit 590f835
Show file tree
Hide file tree
Showing 6 changed files with 547 additions and 20 deletions.
89 changes: 85 additions & 4 deletions discovery/alloydb-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20231109",
"revision": "20231206",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AutomatedBackupPolicy": {
Expand Down Expand Up @@ -1639,6 +1639,11 @@
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"sizeBytes": {
"description": "Output only. The size of the backup in bytes.",
"format": "int64",
Expand Down Expand Up @@ -1896,6 +1901,11 @@
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"secondaryConfig": {
"$ref": "SecondaryConfig",
"description": "Cross Region replication config specific to SECONDARY cluster."
Expand Down Expand Up @@ -2386,6 +2396,11 @@
"readOnly": true,
"type": "boolean"
},
"satisfiesPzs": {
"description": "Output only. Reserved for future use.",
"readOnly": true,
"type": "boolean"
},
"state": {
"description": "Output only. The current serving state of the instance.",
"enum": [
Expand Down Expand Up @@ -3175,7 +3190,7 @@
"type": "string"
},
"resourceContainer": {
"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\". For GCP provided resources, number should be project number.",
"description": "Closest parent container of this resource. In GCP, 'container' refers to a Cloud Resource Manager project. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"projects/123\". For GCP provided resources, number should be project number.",
"type": "string"
},
"resourceName": {
Expand Down Expand Up @@ -3502,13 +3517,35 @@
"description": "The type of the instance. Specified at creation time.",
"enum": [
"INSTANCE_TYPE_UNSPECIFIED",
"SUB_RESOURCE_TYPE_UNSPECIFIED",
"PRIMARY",
"SECONDARY",
"READ_REPLICA",
"OTHER"
"OTHER",
"SUB_RESOURCE_TYPE_PRIMARY",
"SUB_RESOURCE_TYPE_SECONDARY",
"SUB_RESOURCE_TYPE_READ_REPLICA",
"SUB_RESOURCE_TYPE_OTHER"
],
"enumDeprecated": [
true,
false,
true,
true,
true,
true,
false,
false,
false,
false
],
"enumDescriptions": [
"",
"For rest of the other categories.",
"A regular primary database instance.",
"A cluster or an instance acting as a secondary.",
"An instance acting as a read-replica.",
"For rest of the other categories.",
"A regular primary database instance.",
"A cluster or an instance acting as a secondary.",
"An instance acting as a read-replica.",
Expand All @@ -3529,7 +3566,7 @@
"description": "The product this resource represents."
},
"resourceContainer": {
"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"provider//\", such as \"gcp/projects/123\". For GCP provided resources, number should be project number.",
"description": "Closest parent Cloud Resource Manager container of this resource. It must be resource name of a Cloud Resource Manager project with the format of \"/\", such as \"projects/123\". For GCP provided resources, number should be project number.",
"type": "string"
},
"resourceName": {
Expand Down Expand Up @@ -3604,20 +3641,44 @@
"description": "The specific engine that the underlying database is running.",
"enum": [
"ENGINE_UNSPECIFIED",
"ENGINE_MYSQL",
"MYSQL",
"ENGINE_POSTGRES",
"POSTGRES",
"ENGINE_SQL_SERVER",
"SQL_SERVER",
"ENGINE_NATIVE",
"NATIVE",
"ENGINE_CLOUD_SPANNER_WITH_POSTGRES_DIALECT",
"SPANGRES",
"ENGINE_OTHER"
],
"enumDeprecated": [
false,
false,
true,
false,
true,
false,
true,
false,
true,
false,
true,
false
],
"enumDescriptions": [
"UNSPECIFIED means engine type is not known or available.",
"MySQL binary running as an engine in the database instance.",
"MySQL binary running as engine in database instance.",
"Postgres binary running as engine in database instance.",
"Postgres binary running as engine in database instance.",
"SQLServer binary running as engine in database instance.",
"SQLServer binary running as engine in database instance.",
"Native database binary running as engine in instance.",
"Native database binary running as engine in instance.",
"Cloud Spanner with Postgres dialect.",
"Cloud Spanner with Postgres dialect.",
"Other refers to rest of other database engine. This is to be when engine is known, but it is not present in this enum."
],
"type": "string"
Expand All @@ -3626,18 +3687,38 @@
"description": "Type of specific database product. It could be CloudSQL, AlloyDB etc..",
"enum": [
"PRODUCT_TYPE_UNSPECIFIED",
"PRODUCT_TYPE_CLOUD_SQL",
"CLOUD_SQL",
"PRODUCT_TYPE_ALLOYDB",
"ALLOYDB",
"PRODUCT_TYPE_SPANNER",
"SPANNER",
"PRODUCT_TYPE_ON_PREM",
"ON_PREM",
"PRODUCT_TYPE_OTHER"
],
"enumDeprecated": [
false,
false,
true,
false,
true,
false,
true,
false,
true,
false
],
"enumDescriptions": [
"UNSPECIFIED means product type is not known or available.",
"Cloud SQL product area in GCP",
"Cloud SQL product area in GCP",
"AlloyDB product area in GCP",
"AlloyDB product area in GCP",
"Spanner product area in GCP",
"Spanner product area in GCP",
"On premises database product.",
"On premises database product.",
"Other refers to rest of other product type. This is to be when product type is known, but it is not present in this enum."
],
"type": "string"
Expand Down
Loading

0 comments on commit 590f835

Please sign in to comment.