- 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 /users resource collection represents all user accounts added to the Veeam Backup for Google Cloud database.
Get Collection of User Accounts
The HTTP GET request to the /users endpoint returns a list of all user accounts created in Veeam Backup for Google Cloud.
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 of a resource collection in the response. To learn how to use the |
| 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 to return 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
{- "data": [
- {
- "name": "string",
- "description": "string",
- "mfaEnabled": true,
- "type": "DefaultAdmin",
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Add User Account
The HTTP POST request to the /users endpoint adds a new user account to 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
| name required | string Specifies a name for a user account. |
| password required | string Specifies password for the user account. |
| roleIds required | Array of strings <uuid> System IDs assigned to the user roles in Veeam Backup for Google Cloud. |
| description | string Specifies description for the user account. |
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
{- "name": "string",
- "description": "string",
- "password": "string",
- "roleIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}- 200
- 400
- 401
- 403
- 500
{- "user": {
- "name": "string",
- "description": "string",
- "mfaEnabled": true,
- "type": "DefaultAdmin",
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get User Account Data
The HTTP GET request to the /users/{name} endpoint retrieves information on a specific user account.
path Parameters
| name required | string Specifies the name of a user account. |
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.
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
- 403
- 404
- 500
{- "name": "string",
- "description": "string",
- "mfaEnabled": true,
- "type": "DefaultAdmin",
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}Modify User Account
The HTTP PUT request to the /users/{name} endpoint updates settings of a specific user account.
path Parameters
| name required | string Specifies the name of a user account. |
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
| description | string Specify a new description for the user account. |
| roleIds | Array of strings <uuid> System IDs assigned in the Veeam Backup for Google Cloud REST API to user roles. |
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.
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "description": "string",
- "roleIds": [
- "497f6eca-6276-4993-bfeb-53cbbbba6f08"
]
}- 200
- 400
- 401
- 403
- 404
- 500
{- "user": {
- "name": "string",
- "description": "string",
- "mfaEnabled": true,
- "type": "DefaultAdmin",
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Remove User Account
The HTTP DELETE request to the /users/{name} endpoint removes a specific user account.
path Parameters
| name required | string Specifies the name of a user account. |
header Parameters
| x-api-version required | string Default: 1.4-rev0 Specifies the current revision of the Veeam Backup for Google Cloud REST API. |
No Content
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.
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
- 204
- 400
- 401
- 403
- 404
- 500
{ }Disable MFA for User Account
The HTTP POST request to the /users/{name}/mfaDisable endpoint disables MFA for a specific user account.
path Parameters
| name required | string Specifies the name of a user account. |
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.
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
- 403
- 404
- 500
{- "success": true,
- "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get MFA Secret Key
The HTTP POST request to the /users/{name}/mfaEnable endpoint retrieves an MFA secret key and a token used to associate an authentication application with the authorization server. For more information on codes required to enable MFA, see the Veeam Backup for Google Cloud REST API Reference Overview, section Multi-Factor Authentication.
path Parameters
| name required | string Specifies the name of a user account. |
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
| recreate required | boolean Defines whether you want to recreate the existing MFA secret key (true) or to enable MFA for the user account (false). |
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.
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "recreate": true
}- 200
- 400
- 401
- 403
- 404
- 500
{- "response": {
- "qrString": "string",
- "secretKey": "string",
- "scratchCodes": [
- "string"
], - "token": "string"
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Enable MFA for User Account
The HTTP POST request to the /users/{name}/mfaAccepted endpoint associates an authentication application with the authorization server.
For more information on how to enable MFA for a user account, see the Veeam Backup for Google Cloud REST API Reference Overview, section Multi-Factor Authentication.
path Parameters
| name required | string Specifies the name of a user account. |
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
| code required | string Six-digit verification code generated by an authentication application on the trusted device. |
| token required | string Token used to associate the authenticator application with the authorization server. Must be received in the Get MFA Secret Key request. |
MFA Enabled
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.
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "code": "string",
- "token": "string"
}- 201
- 400
- 401
- 403
- 404
- 500
{- "success": true,
- "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Change Password of User Account
The HTTP POST request to the /users/{name}/changePassword endpoint sets a new password for the specified user account.
path Parameters
| name required | string Specifies the name of a user account. |
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 new password for the backup account. |
| oldPassword required | string Specifies the current password of the backup account. |
Password Changed
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.
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.
- Payload
- curl
- Python
- JavaScript
- C#
- Go
{- "password": "string",
- "oldPassword": "string"
}- 201
- 400
- 401
- 403
- 404
- 500
{- "user": {
- "name": "string",
- "description": "string",
- "mfaEnabled": true,
- "type": "DefaultAdmin",
- "roles": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
]
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get User Roles
The HTTP GET request to the /users/roles endpoint retrieves a list of all user roles available in Veeam Backup for Google Cloud.
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
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}