|
517 | 517 | "https://www.googleapis.com/auth/cloud-platform"
|
518 | 518 | ]
|
519 | 519 | },
|
| 520 | + "export": { |
| 521 | + "description": "Exports data from the cluster. Imperative only.", |
| 522 | + "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:export", |
| 523 | + "httpMethod": "POST", |
| 524 | + "id": "alloydb.projects.locations.clusters.export", |
| 525 | + "parameterOrder": [ |
| 526 | + "name" |
| 527 | + ], |
| 528 | + "parameters": { |
| 529 | + "name": { |
| 530 | + "description": "Required. The resource name of the cluster.", |
| 531 | + "location": "path", |
| 532 | + "pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$", |
| 533 | + "required": true, |
| 534 | + "type": "string" |
| 535 | + } |
| 536 | + }, |
| 537 | + "path": "v1/{+name}:export", |
| 538 | + "request": { |
| 539 | + "$ref": "ExportClusterRequest" |
| 540 | + }, |
| 541 | + "response": { |
| 542 | + "$ref": "Operation" |
| 543 | + }, |
| 544 | + "scopes": [ |
| 545 | + "https://www.googleapis.com/auth/cloud-platform" |
| 546 | + ] |
| 547 | + }, |
520 | 548 | "get": {
|
521 | 549 | "description": "Gets details of a single Cluster.",
|
522 | 550 | "flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
|
|
1517 | 1545 | }
|
1518 | 1546 | }
|
1519 | 1547 | },
|
1520 |
| - "revision": "20241023", |
| 1548 | + "revision": "20241106", |
1521 | 1549 | "rootUrl": "https://alloydb.googleapis.com/",
|
1522 | 1550 | "schemas": {
|
1523 | 1551 | "AuthorizedNetwork": {
|
|
2251 | 2279 | },
|
2252 | 2280 | "type": "object"
|
2253 | 2281 | },
|
| 2282 | + "CsvExportOptions": { |
| 2283 | + "description": "Options for exporting data in CSV format. For now, we only support a query to get the data that needs to be exported.", |
| 2284 | + "id": "CsvExportOptions", |
| 2285 | + "properties": { |
| 2286 | + "selectQuery": { |
| 2287 | + "description": "Required. The select_query used to extract the data.", |
| 2288 | + "type": "string" |
| 2289 | + } |
| 2290 | + }, |
| 2291 | + "type": "object" |
| 2292 | + }, |
2254 | 2293 | "Empty": {
|
2255 | 2294 | "description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
|
2256 | 2295 | "id": "Empty",
|
|
2298 | 2337 | },
|
2299 | 2338 | "type": "object"
|
2300 | 2339 | },
|
| 2340 | + "ExportClusterRequest": { |
| 2341 | + "description": "Export cluster request.", |
| 2342 | + "id": "ExportClusterRequest", |
| 2343 | + "properties": { |
| 2344 | + "csvExportOptions": { |
| 2345 | + "$ref": "CsvExportOptions", |
| 2346 | + "description": "Options for exporting data in CSV format. Required field to be set for CSV file type." |
| 2347 | + }, |
| 2348 | + "database": { |
| 2349 | + "description": "Required. Name of the database where the query will be executed. Note - Value provided should be the same as expected from `SELECT current_database();` and NOT as a resource reference.", |
| 2350 | + "type": "string" |
| 2351 | + }, |
| 2352 | + "gcsDestination": { |
| 2353 | + "$ref": "GcsDestination", |
| 2354 | + "description": "Required. Option to export data to cloud storage." |
| 2355 | + } |
| 2356 | + }, |
| 2357 | + "type": "object" |
| 2358 | + }, |
| 2359 | + "ExportClusterResponse": { |
| 2360 | + "description": "Response of export cluster rpc.", |
| 2361 | + "id": "ExportClusterResponse", |
| 2362 | + "properties": { |
| 2363 | + "gcsDestination": { |
| 2364 | + "$ref": "GcsDestination", |
| 2365 | + "description": "Required. Option to export data to cloud storage." |
| 2366 | + } |
| 2367 | + }, |
| 2368 | + "type": "object" |
| 2369 | + }, |
2301 | 2370 | "FailoverInstanceRequest": {
|
2302 | 2371 | "description": "Message for triggering failover on an Instance",
|
2303 | 2372 | "id": "FailoverInstanceRequest",
|
|
2313 | 2382 | },
|
2314 | 2383 | "type": "object"
|
2315 | 2384 | },
|
| 2385 | + "GcsDestination": { |
| 2386 | + "description": "Destination for Export. Export will be done to cloud storage.", |
| 2387 | + "id": "GcsDestination", |
| 2388 | + "properties": { |
| 2389 | + "uri": { |
| 2390 | + "description": "Required. The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails.", |
| 2391 | + "type": "string" |
| 2392 | + } |
| 2393 | + }, |
| 2394 | + "type": "object" |
| 2395 | + }, |
2316 | 2396 | "GoogleCloudLocationListLocationsResponse": {
|
2317 | 2397 | "description": "The response message for Locations.ListLocations.",
|
2318 | 2398 | "id": "GoogleCloudLocationListLocationsResponse",
|
|
0 commit comments