Skip to content

Commit

Permalink
chore: Automated update of discovery documents (#10601)
Browse files Browse the repository at this point in the history
Automatically created by the update_disco script.
  • Loading branch information
yoshi-code-bot committed Jun 20, 2024
1 parent 1d1be2f commit 152a394
Show file tree
Hide file tree
Showing 3 changed files with 153 additions and 1,004 deletions.
263 changes: 153 additions & 110 deletions discoveries/alloydb.v1beta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,99 @@
{
"description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ",
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
}
}
}
},
"protocol": "rest",
"revision": "20240612",
"name": "alloydb",
"version": "v1beta",
"ownerName": "Google",
"batchPath": "batch",
"fullyEncodeReservedExpansion": true,
"ownerDomain": "google.com",
"kind": "discovery#restDescription",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"schemas": {
"ListOperationsResponse": {
"id": "ListOperationsResponse",
Expand Down Expand Up @@ -862,6 +956,21 @@
}
}
},
"SwitchoverClusterRequest": {
"id": "SwitchoverClusterRequest",
"description": "Message for switching over to a cluster",
"type": "object",
"properties": {
"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"
},
"validateOnly": {
"description": "Optional. If set, performs request validation (e.g. permission checks and any other type of validation), but do not actually execute the delete.",
"type": "boolean"
}
}
},
"RestoreClusterRequest": {
"id": "RestoreClusterRequest",
"description": "Message for restoring a Cluster from a backup or another cluster at a given point in time.",
Expand Down Expand Up @@ -3329,113 +3438,6 @@
}
}
},
"ownerName": "Google",
"version": "v1beta",
"version_module": true,
"revision": "20240605",
"title": "AlloyDB API",
"ownerDomain": "google.com",
"baseUrl": "https://alloydb.googleapis.com/",
"rootUrl": "https://alloydb.googleapis.com/",
"mtlsRootUrl": "https://alloydb.mtls.googleapis.com/",
"basePath": "",
"protocol": "rest",
"canonicalName": "Cloud AlloyDB Admin",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/cloud-platform": {
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
}
}
}
},
"batchPath": "batch",
"servicePath": "",
"parameters": {
"access_token": {
"type": "string",
"description": "OAuth access token.",
"location": "query"
},
"alt": {
"type": "string",
"description": "Data format for response.",
"default": "json",
"enum": [
"json",
"media",
"proto"
],
"enumDescriptions": [
"Responses with Content-Type of application/json",
"Media download with context-dependent Content-Type",
"Responses with Content-Type of application/x-protobuf"
],
"location": "query"
},
"callback": {
"type": "string",
"description": "JSONP",
"location": "query"
},
"fields": {
"type": "string",
"description": "Selector specifying which fields to include in a partial response.",
"location": "query"
},
"key": {
"type": "string",
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
"location": "query"
},
"oauth_token": {
"type": "string",
"description": "OAuth 2.0 token for the current user.",
"location": "query"
},
"prettyPrint": {
"type": "boolean",
"description": "Returns response with indentations and line breaks.",
"default": "true",
"location": "query"
},
"quotaUser": {
"type": "string",
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
"location": "query"
},
"upload_protocol": {
"type": "string",
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
"location": "query"
},
"uploadType": {
"type": "string",
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
"location": "query"
},
"$.xgafv": {
"type": "string",
"description": "V1 error format.",
"enum": [
"1",
"2"
],
"enumDescriptions": [
"v1 error format",
"v2 error format"
],
"location": "query"
}
},
"name": "alloydb",
"fullyEncodeReservedExpansion": true,
"id": "alloydb:v1beta",
"resources": {
"projects": {
"resources": {
Expand Down Expand Up @@ -3882,6 +3884,34 @@
],
"description": "Promotes a SECONDARY cluster. This turns down replication from the PRIMARY cluster and promotes a secondary cluster into its own standalone cluster. Imperative only."
},
"switchover": {
"id": "alloydb.projects.locations.clusters.switchover",
"path": "v1beta/{+name}:switchover",
"flatPath": "v1beta/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:switchover",
"httpMethod": "POST",
"parameters": {
"name": {
"description": "Required. The name of the resource. For the required format, see the comment on the Cluster.name field",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"location": "path",
"required": true,
"type": "string"
}
},
"parameterOrder": [
"name"
],
"request": {
"$ref": "SwitchoverClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
],
"description": "Switches the role of PRIMARY and SECONDARY cluster without any data loss. This promotes the SECONDARY cluster to PRIMARY and sets up original PRIMARY cluster to replicate from this newly promoted cluster."
},
"restore": {
"id": "alloydb.projects.locations.clusters.restore",
"path": "v1beta/{+parent}/clusters:restore",
Expand Down Expand Up @@ -4790,7 +4820,20 @@
}
}
},
"kind": "discovery#restDescription",
"version_module": true,
"rootUrl": "https://alloydb.googleapis.com/",
"servicePath": "",
"icons": {
"x16": "http://www.google.com/images/icons/product/search-16.gif",
"x32": "http://www.google.com/images/icons/product/search-32.gif"
},
"basePath": "",
"canonicalName": "Cloud AlloyDB Admin",
"mtlsRootUrl": "https://alloydb.mtls.googleapis.com/",
"documentationLink": "https://cloud.google.com/alloydb/",
"discoveryVersion": "v1"
"baseUrl": "https://alloydb.googleapis.com/",
"title": "AlloyDB API",
"discoveryVersion": "v1",
"description": "AlloyDB for PostgreSQL is an open source-compatible database service that provides a powerful option for migrating, modernizing, or building commercial-grade applications. It offers full compatibility with standard PostgreSQL, and is more than 4x faster for transactional workloads and up to 100x faster for analytical queries than standard PostgreSQL in our performance tests. AlloyDB for PostgreSQL offers a 99.99 percent availability SLA inclusive of maintenance. AlloyDB is optimized for the most demanding use cases, allowing you to build new applications that require high transaction throughput, large database sizes, or multiple read resources; scale existing PostgreSQL workloads with no application changes; and modernize legacy proprietary databases. ",
"id": "alloydb:v1beta"
}
15 changes: 0 additions & 15 deletions discoveries/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -5917,21 +5917,6 @@
"documentationLink": "https://developers.google.com/maps/documentation/solar",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "sourcerepo:v1",
"name": "sourcerepo",
"version": "v1",
"title": "Cloud Source Repositories API",
"description": "Accesses source code repositories hosted by Google. Important: Cloud Source Repositories is scheduled for end of sales starting June 17, 2024. Customers who have enabled the API prior to this date will not be affected and can continue to use Cloud Source Repositories. Organizations or projects who have not previously enabled the API cannot use Cloud Source Repositories after this date. View Cloud Source Repositories documentation for more info.",
"discoveryRestUrl": "https://sourcerepo.googleapis.com/$discovery/rest?version=v1",
"icons": {
"x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp.png",
"x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp.png"
},
"documentationLink": "https://cloud.google.com/source-repositories/docs/apis",
"preferred": true
},
{
"kind": "discovery#directoryItem",
"id": "spanner:v1",
Expand Down
Loading

0 comments on commit 152a394

Please sign in to comment.