- About Veeam Backup for Google Cloud REST API
- Overview
- Authorization
- Cloud Infrastructure
- getGet Infrastructure Objects
- postAdd Folder
- getGet Service Account Permissions To Folder
- putModify Service Account Permissions To Folder
- delRemove Folder
- postAdd Project
- getGet Service Account Permissions To Project
- putModify Service Account Permissions To Project
- delRemove Project
- postGenerate Permissions Script
- getGet Subfolders
- Cloud Spanner Instances
- Cloud Spanner Instance Backup Policies
- getGet Collection of Backup Policies
- postCreate Backup Policy
- postGenerate Permissions Script
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postSet Backup Policy Priority
- postCalculate Estimated Cost for Backup Policy
- postCalculate Estimated Cost for Modified Backup Policy
- getGet Backup Policy Status
- getGet Backup Policy Schedule
- getGet Backup Policy Sessions Data
- getGet Google Cloud Resources Protected by Backup Policy
- Cloud Spanner Instance Restore Points
- Cloud SQL Accounts
- Configuration Backup
- postCreate Configuration Backup
- postEnable Configuration Backup Schedule
- postDisable Configuration Backup Schedule
- getGet Configuration Backup Settings
- putModify Configuration Backup Settings
- getGet Configuration Backup Restore Points
- getGet Configuration Backup Restore Point Data
- delRemove Configuration Backup Restore Point
- postImport Configuration Backup File
- postStart Configuration Backup Export
- postCheck Status of Configuration Backup Export
- postDownload Configuration Backup File
- postCheck Imported Backup File
- General Settings
- Google Cloud Regions
- Licensing
- Networks
- Overview
- Product Version
- Projects
- getGet Collection of Projects
- postAdd Project
- getGet Project Data
- putModify Project
- delRemove Project
- getGet Collection of CMEKs for Project
- getGet Collection of CMEKs for Region
- getGet Collection of Regions
- getGet Instance Types Available in Regions
- getGet Region Availability Zones
- getGet Instance Types Available in Availability Zone
- getGet Cloud SQL Instance Types Available in Availability Zone
- getGet Cloud Spanner Instance Configurations
- getGet Collection of Service Accounts for Project
- postCreate HMAC Key
- getGet Collection of HMAC Keys
- postAdd Existing HMAC Key
- postGenerate Permissions Script
- Repositories
- Security Certificates
- Service
- Service Accounts
- Sessions
- SMTP Accounts
- SQL Backup Policies
- getGet Collection of Backup Policies
- postCreate Backup Policy
- postGenerate Permissions Script
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postSet Backup Policy Priority
- postCalculate Estimated Cost for Backup Policy
- postCalculate Estimated Cost for Modified Backup Policy
- getGet Backup Policy Status
- getGet Backup Policy Schedule
- getGet Backup Policy Sessions Data
- getGet Google Cloud Resources Protected by Backup Policy
- SQL Instances
- getGet Collection of Cloud SQL Instances
- getGet Cloud SQL Instance Data
- getGet Cloud SQL Instance Restore Points
- delRemove Cloud SQL Instance Restore Points
- getGet Collection of Cloud SQL Instance Sessions
- postCreate Snapshot of Cloud SQL Instance
- getGet Collection of Cloud SQL Databases
- postInfrastructure Rescan for Cloud SQL Instances
- SQL Restore Points
- Storage Buckets
- System Logs
- System Notifications
- User Accounts
- VM Instances
- VM Instance Backup Policies
- getGet Collection of Backup Policies
- postCreate Backup Policy
- postGenerate Permissions Script
- getGet Backup Policy Data
- putModify Backup Policy
- delDelete Backup Policy
- postStart Backup Policy
- postStop Backup Policy
- postEnable Backup Policy
- postDisable Backup Policy
- postSet Backup Policy Priority
- postCalculate Estimated Cost of Backup Policy
- postCalculate Estimated Cost for Modified Backup Policy
- getGet Backup Policy Status
- getGet Backup Policy Schedule
- getGet Backup Policy Sessions Data
- getGet Google Cloud Resources Protected by Backup Policy
- VM Instance Restore Points
- Workers
- getGet Worker Custom Labels
- putModify Worker Custom Labels
- getGet Project Selected for Worker Instances
- putChange Project for Worker Instances
- getGet Worker Configurations
- postAdd Worker Configuration
- getGet Worker Configuration Data
- putModify Worker Configuration
- delRemove Worker Configuration
- getGet Worker Profiles
- postAdd Worker Profiles
- getGet Default Worker Profiles
- getGet Worker Profiles for Region
- putModify Worker Profiles
- delRemove Worker Profiles
The /configurationBackup resource collection allows you to back up the configuration database of the backup appliance.
Create Configuration Backup
The HTTP POST request to the configurationBackup/backup endpoint creates a manual backup of the Veeam Backup for Google Cloud configuration database.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
Specifies configuration backup settings.
| includeSessionHistory | boolean Defines whether all session history will be backed up. By default, only restore session records are saved. |
| repositoryId | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a repository where the configuration backup will be stored. |
| notificationEmail | string Specifies the email address to receive notifications on session results. |
| shouldSendCompletionNotification | boolean Defines whether to receive notifications on session results. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "includeSessionHistory": true,
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "notificationEmail": "string",
- "shouldSendCompletionNotification": true
}- 200
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}Enable Configuration Backup Schedule
The HTTP POST request to the /configurationBackup/enable endpoint enables the disabled configuration backup schedule.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{ }Disable Configuration Backup Schedule
The HTTP POST request to the /configurationBackup/disable endpoint disables the enabled configuration backup schedule.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{ }Get Configuration Backup Settings
The HTTP GET request to the /configurationBackup/settings endpoint retrieves settings configured to perform backup of the Veeam Backup for Google Cloud configuration database.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "isEnabled": true,
- "scheduleOptions": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 0
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "backupOptions": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "repositoryName": "string"
}, - "retryOptions": {
- "retryTimes": 0
}, - "includeSessionHistory": true,
- "modifiedBy": "string",
- "modificationTime": "2019-08-24T14:15:22Z",
- "vbrRepositoryName": "string",
- "vbrRestorePointCount": 0
}Modify Configuration Backup Settings
The HTTP PUT request to the /configurationBackup/settings endpoint changes settings configured to perform backup of the Veeam Backup for Google Cloud configuration database.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
Specifies settings that will be used to perform automatic configuration backup.
| isEnabled required | boolean Defines whether to enable automatic backup creation according to the configured schedule. |
required | object (ConfigurationBackupScheduleModel) Specifies schedule and retention settings for the configuration backup. |
| includeSessionHistory required | boolean Defines whether to back up all session history. By default, Veeam Backup for Google Cloud saves only restore session records. |
object (ConfigurationBackupOptionsModel) Specifies a location where backup files will be stored. | |
object (RetryOptionsModel) Specifies the retry settings configured for the backup session. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "isEnabled": true,
- "scheduleOptions": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 0
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "backupOptions": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "repositoryName": "string"
}, - "retryOptions": {
- "retryTimes": 0
}, - "includeSessionHistory": true
}- 200
- 400
- 401
- 403
- 500
{- "isEnabled": true,
- "scheduleOptions": {
- "kind": "Everyday",
- "runsPerHour": 1,
- "days": [
- "Sunday"
], - "backupOptions": {
- "retention": {
- "type": "Days",
- "count": 0
}, - "schedule": {
- "hours": [
- 23
]
}
}
}, - "backupOptions": {
- "repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
- "repositoryName": "string"
}, - "retryOptions": {
- "retryTimes": 0
}, - "includeSessionHistory": true,
- "modifiedBy": "string",
- "modificationTime": "2019-08-24T14:15:22Z",
- "vbrRepositoryName": "string",
- "vbrRestorePointCount": 0
}Get Configuration Backup Restore Points
The HTTP GET request to the /configurationBackup/restorePoints endpoint retrieves a list of all restore points created for the Veeam Backup for Google Cloud configuration database.
query Parameters
| filter | string Returns only specific items of a resource collection in the response. To learn how to use the |
| orderby | string Specifies the order of items in the response. For more information, see the Veeam Backup for Google Cloud REST API Reference Overview, section Orderby Parameter. |
| offset | integer <int32> Specifies the first N items of a resource collection that will be excluded from the response. |
| limit | integer <int32> Specifies the maximum number of items of a resource collection that will be returned in the response. |
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "restorePoints": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "repositoryName": "string",
- "size": 0,
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobType": "Scheduled"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Configuration Backup Restore Point Data
The HTTP GET request to the /configurationBackup/restorePoints/{restorePointId} endpoint retrieves information on a restore point with the specified ID.
path Parameters
| restorePointId required | string <uuid> Specifies the system ID assigned to a restore point in the Veeam Backup for Google Cloud REST API. |
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 404
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "repositoryName": "string",
- "size": 0,
- "creationTimeUtc": "2019-08-24T14:15:22Z",
- "jobType": "Scheduled"
}Remove Configuration Backup Restore Point
The HTTP DELETE request to the /configurationBackup/restorePoints/{restorePointId} endpoint removes a specific restore point created for the Veeam Backup for Google Cloud configuration database.
path Parameters
| restorePointId required | string <uuid> Specifies the system ID assigned to a restore point in the Veeam Backup for Google Cloud REST API. |
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid.
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Not Found. One or more resources specified in the request could not be found in the specified resource collection.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 404
- 500
{- "sessionIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
], - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Import Configuration Backup File
The HTTP POST request to the /configurationBackup/import endpoint allows you to upload a configuration backup file to the backup appliance.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: multipart/form-datarequired
| backupFile required | string <binary> Specifies a configuration backup file to upload. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- curl
- Python
- JavaScript
- C#
- Go
- 200
- 400
- 401
- 403
- 500
{- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}Start Configuration Backup Export
The HTTP POST request to the /configurationBackup/export endpoint launches the export operation for the configuration backup file from the latest restore point.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
| password required | string Specifies a password that will be used to encrypt the file. |
| passwordHint | string Specifies a hint for the password. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "password": "string",
- "passwordHint": "string"
}- 200
- 400
- 401
- 403
- 500
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}Check Status of Configuration Backup Export
The HTTP POST request to the /configurationBackup/export/checkStatus endpoint allows to check whether the exported configuration backup file is ready for download.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
| sessionId required | string <uuid> Specifies the system ID assigned to the export session in the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}- 200
- 400
- 401
- 403
- 500
{- "isReadyToDownload": true
}Download Configuration Backup File
The HTTP POST request to the /configurationBackup/export/downloadFile endpoint allows a user to download the exported configuration backup file.
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
| sessionId required | string <uuid> System ID assigned to the export session in the Veeam Backup for Google Cloud REST API. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "sessionId": "f6567dd8-e069-418e-8893-7d22fcf12459"
}- 200
- 400
- 401
- 403
- 500
"string"Check Imported Backup File
The HTTP POST request to the /configurationBackup/import/{id}/check endpoint verifies whether the imported configuration backup file is not corrupted.
path Parameters
| id required | string <uuid> System ID assigned to the configuration backup file in the Veeam Backup for Google Cloud REST API. |
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
Request Body schema: application/jsonrequired
| backupFilePassword | string Password that was used to encrypt the configuration backup file. |
OK
Bad Request. The request body is malformed, incomplete or otherwise invalid
Unauthorized. The authorization header has been expected but not found (or found but is expired).
Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.
Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "backupFilePassword": "string"
}- 200
- 400
- 401
- 403
- 500
{- "isValid": true,
- "errors": [
- "string"
]
}