Get Backup Run

cloud_sql_admin.get_backup_run
ActionGoogle Cloudconnection required

Calls sqladmin v1 GET /v1/projects/{project}/instances/{instance}/backupRuns/{id}.

Retrieves a resource containing information about a backup run.

Connection

Required
Yes — the node will not save without one
Auth type
OAuth 2.0
Providers
Google Cloud SQL Admin
Secret shape
{"client_id", "client_secret", "refresh_token"}
Config it needs
project_id
Resolved by
config.connection_id, else node.connection_id

Configuration

2 fields, 2 required. A dotted path is a nested object and name[] an array of objects — the editor renders the same tree.

FieldTypeRequiredDefaultConstraintsExample
instance
Instance name or id.
stringYes———
id
Id name or id.
stringYes———

Output

One shape.

result

Extra keys beyond the ones listed can appear.

FieldTypeExample
backupKind
string—
databaseVersion
string—
description
string—
diskEncryptionConfiguration
object—
diskEncryptionStatus
object—
endTime
string—
enqueuedTime
string—
error
object—
id
string—
instance
string—
kind
string—
location
string—
maxChargeableBytes
string—
selfLink
string—
startTime
string—
status
string—
timeZone
string—
type
string—
windowStartTime
string—
{
  "backupKind": "",
  "databaseVersion": "",
  "description": "",
  "diskEncryptionConfiguration": {},
  "diskEncryptionStatus": {},
  "endTime": "",
  "enqueuedTime": "",
  "error": {},
  "id": "",
  "instance": "",
  "kind": "",
  "location": "",
  "maxChargeableBytes": "",
  "selfLink": "",
  "startTime": "",
  "status": "",
  "timeZone": "",
  "type": "",
  "windowStartTime": ""
}

See Get Backup Run run in a workflow.

In a technical demo we add the Google Cloud SQL Admin connection, drop the node on the canvas and let Workflow Health pre-flight it before the first real run.