Skip to content

Commit

Permalink
feat(all): auto-regenerate discovery clients (#2295)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-automation committed Dec 8, 2023
1 parent c059038 commit 161a8e5
Show file tree
Hide file tree
Showing 77 changed files with 8,346 additions and 964 deletions.
89 changes: 85 additions & 4 deletions alloydb/v1/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -1489,7 +1489,7 @@
}
}
},
"revision": "20231109",
"revision": "20231128",
"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
36 changes: 33 additions & 3 deletions alloydb/v1/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 161a8e5

Please sign in to comment.