Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(all): auto-regenerate discovery clients #2883

Merged
merged 2 commits into from
Nov 21, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
82 changes: 81 additions & 1 deletion alloydb/v1/alloydb-api.json
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,34 @@
"https://www.googleapis.com/auth/cloud-platform"
]
},
"export": {
"description": "Exports data from the cluster. Imperative only.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}:export",
"httpMethod": "POST",
"id": "alloydb.projects.locations.clusters.export",
"parameterOrder": [
"name"
],
"parameters": {
"name": {
"description": "Required. The resource name of the cluster.",
"location": "path",
"pattern": "^projects/[^/]+/locations/[^/]+/clusters/[^/]+$",
"required": true,
"type": "string"
}
},
"path": "v1/{+name}:export",
"request": {
"$ref": "ExportClusterRequest"
},
"response": {
"$ref": "Operation"
},
"scopes": [
"https://www.googleapis.com/auth/cloud-platform"
]
},
"get": {
"description": "Gets details of a single Cluster.",
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/clusters/{clustersId}",
Expand Down Expand Up @@ -1517,7 +1545,7 @@
}
}
},
"revision": "20241023",
"revision": "20241106",
"rootUrl": "https://alloydb.googleapis.com/",
"schemas": {
"AuthorizedNetwork": {
Expand Down Expand Up @@ -2251,6 +2279,17 @@
},
"type": "object"
},
"CsvExportOptions": {
"description": "Options for exporting data in CSV format. For now, we only support a query to get the data that needs to be exported.",
"id": "CsvExportOptions",
"properties": {
"selectQuery": {
"description": "Required. The select_query used to extract the data.",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"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); }",
"id": "Empty",
Expand Down Expand Up @@ -2298,6 +2337,36 @@
},
"type": "object"
},
"ExportClusterRequest": {
"description": "Export cluster request.",
"id": "ExportClusterRequest",
"properties": {
"csvExportOptions": {
"$ref": "CsvExportOptions",
"description": "Options for exporting data in CSV format. Required field to be set for CSV file type."
},
"database": {
"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.",
"type": "string"
},
"gcsDestination": {
"$ref": "GcsDestination",
"description": "Required. Option to export data to cloud storage."
}
},
"type": "object"
},
"ExportClusterResponse": {
"description": "Response of export cluster rpc.",
"id": "ExportClusterResponse",
"properties": {
"gcsDestination": {
"$ref": "GcsDestination",
"description": "Required. Option to export data to cloud storage."
}
},
"type": "object"
},
"FailoverInstanceRequest": {
"description": "Message for triggering failover on an Instance",
"id": "FailoverInstanceRequest",
Expand All @@ -2313,6 +2382,17 @@
},
"type": "object"
},
"GcsDestination": {
"description": "Destination for Export. Export will be done to cloud storage.",
"id": "GcsDestination",
"properties": {
"uri": {
"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.",
"type": "string"
}
},
"type": "object"
},
"GoogleCloudLocationListLocationsResponse": {
"description": "The response message for Locations.ListLocations.",
"id": "GoogleCloudLocationListLocationsResponse",
Expand Down
200 changes: 200 additions & 0 deletions alloydb/v1/alloydb-gen.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading