Skip to content

Commit 0b83533

Browse files
feat(all): auto-regenerate discovery clients (#2883)
1 parent f685f12 commit 0b83533

File tree

78 files changed

+11809
-209
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

78 files changed

+11809
-209
lines changed

alloydb/v1/alloydb-api.json

+81-1
Original file line numberDiff line numberDiff line change
@@ -517,6 +517,34 @@
517517
"https://www.googleapis.com/auth/cloud-platform"
518518
]
519519
},
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+
},
520548
"get": {
521549
"description": "Gets details of a single Cluster.",
522550
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
@@ -1517,7 +1545,7 @@
15171545
}
15181546
}
15191547
},
1520-
"revision": "20241023",
1548+
"revision": "20241106",
15211549
"rootUrl": "https://alloydb.googleapis.com/",
15221550
"schemas": {
15231551
"AuthorizedNetwork": {
@@ -2251,6 +2279,17 @@
22512279
},
22522280
"type": "object"
22532281
},
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+
},
22542293
"Empty": {
22552294
"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); }",
22562295
"id": "Empty",
@@ -2298,6 +2337,36 @@
22982337
},
22992338
"type": "object"
23002339
},
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+
},
23012370
"FailoverInstanceRequest": {
23022371
"description": "Message for triggering failover on an Instance",
23032372
"id": "FailoverInstanceRequest",
@@ -2313,6 +2382,17 @@
23132382
},
23142383
"type": "object"
23152384
},
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+
},
23162396
"GoogleCloudLocationListLocationsResponse": {
23172397
"description": "The response message for Locations.ListLocations.",
23182398
"id": "GoogleCloudLocationListLocationsResponse",

alloydb/v1/alloydb-gen.go

+200
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)