- 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 /projects resource collection represents all projects added to the Veeam Backup for Google Cloud configuration database.
Get Collection of ProjectsDeprecated
The HTTP GET request to the /projects endpoint retrieves a list of all projects added to 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
{- "data": [
- {
- "id": "string",
- "name": "string",
- "isStandalone": true,
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Add ProjectDeprecated
The HTTP POST request to the /projects endpoint adds a project 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
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountEmail required | string Specifies the email address provisioned in Google Cloud during creation of the service account used to access the specified project. |
| useForSnapshot required | boolean Defines whether VM instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForBackup required | boolean Defines whether VM instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForRestore required | boolean Defines whether VM instances can be restored to the project using the specified service account. |
| useForRepository required | boolean Defines whether backup repositories can be deployed to the project using the specified service account. |
| useForWorker required | boolean Defines whether worker instances can be launched in the project using the specified service account. |
| useForSqlSnapshot required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForSqlBackup required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForSqlRestore required | boolean Defines whether Cloud SQL instances can be restored to the project using the specified service account. |
| useForSqlStaging required | boolean Defines whether Cloud SQL staging instances can be launched in the project using the specified service 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.
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
{- "projectId": "string",
- "serviceAccountEmail": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}- 200
- 400
- 401
- 403
- 404
- 500
{- "project": {
- "id": "string",
- "name": "string",
- "isStandalone": true,
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get Project DataDeprecated
The HTTP GET request to the /projects/{projectId} endpoint retrieves information on a project with the specified ID.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
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
{- "id": "string",
- "name": "string",
- "isStandalone": true,
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}Modify ProjectDeprecated
The HTTP PUT request to the /projects/{projectId} endpoint updates settings of a project with the specified ID.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
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
| serviceAccountEmail required | string Specifies the email address provisioned in Google Cloud during creation of the service account used to access the specified project. |
| useForSnapshot required | boolean Defines whether VM instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForBackup required | boolean Defines whether VM instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForRestore required | boolean Defines whether VM instances can be restored to the project using the specified service account. |
| useForRepository required | boolean Defines whether backup repositories can be deployed to the project using the specified service account. |
| useForWorker required | boolean Defines whether worker instances can be launched in the project using the specified service account. |
| useForSqlSnapshot required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForSqlBackup required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForSqlRestore required | boolean Defines whether Cloud SQL instances can be restored to the project using the specified service account. |
| useForSqlStaging required | boolean Defines whether Cloud SQL staging instances can be launched in the project using the specified service 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.
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
{- "serviceAccountEmail": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}- 200
- 400
- 401
- 403
- 404
- 500
{- "project": {
- "id": "string",
- "name": "string",
- "isStandalone": true,
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Remove ProjectDeprecated
The HTTP DELETE request to the /projects/{projectId} endpoint removes a specific project from the configuration database.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
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
{- "success": true,
- "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get Collection of CMEKs for Project
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/encryptionKeys endpoint retrieves a list of all Google Cloud Key Management Service (Cloud KMS) customer-managed encryption keys (CMEKs) available to a project with the specified ID.
path Parameters
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
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
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Collection of CMEKs for Region
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/regions/{regionId}/encryptionKeys endpoint retrieves a list of all Google Cloud Key Management Service (Cloud KMS) customer-managed encryption keys (CMEKs) stored in the specific region in a project with the specified ID.
path Parameters
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
| regionId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Google Cloud region. |
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
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "location": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Collection of Regions
The HTTP GET request to the /projects/{projectId}/regions endpoint retrieves a list of all regions available in the project with the specified ID.
path Parameters
| projectId required | string Google Cloud ID assigned to a project |
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
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "name": "string",
- "displayName": "string",
- "projectId": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Instance Types Available in Regions
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/regions/machineTypes endpoint retrieves a list of types of VM instances available in all specific regions in the project with the specified ID.
path Parameters
| projectId required | string Google Cloud ID assigned to a project |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
query Parameters
| regions required | Array of strings <uuid> Specifies system IDs assigned in the Veeam Backup for Google Cloud REST API to Google Cloud regions. |
| 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
{- "data": [
- {
- "name": "string",
- "projectId": "string",
- "guestCpus": 0,
- "memoryMb": 0,
- "maximumPersistentDisks": 0,
- "maximumPersistentDisksSizeGb": 0
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Region Availability Zones
The HTTP GET request to the /projects/{projectId}/regions/{regionId}/zones endpoint retrieves a list of availability zones of a specific region in the specified project.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
| regionId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a region. |
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
{- "data": [
- {
- "zone": {
- "regionId": "a29f01e1-8a8d-451e-b685-f8b0b4ec4767",
- "name": "string",
- "displayName": "string",
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08"
}, - "projectId": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Instance Types Available in Availability Zone
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/zones/{zoneId}/machineTypes endpoint retrieves a list of types of VM instances available in a specific availability zone in the specified project.
path Parameters
| projectId required | string Google Cloud ID assigned to a project |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
| zoneId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to an availability zone. |
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
{- "data": [
- {
- "name": "string",
- "projectId": "string",
- "zoneId": "c3920607-5069-4ac3-ba10-00754e7a8e8b",
- "guestCpus": 0,
- "memoryMb": 0,
- "maximumPersistentDisks": 0,
- "maximumPersistentDisksSizeGb": 0
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Cloud SQL Instance Types Available in Availability Zone
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/zones/{zoneId}/sqlMachineTypes endpoint retrieves a list of types of Cloud SQL instances available in a specific availability zone in project with the specified ID.
path Parameters
| projectId required | string System ID assigned to the project in the Veeam Backup for Google Cloud REST API. |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
| zoneId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to the availability zone. |
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> Excludes from a response the first N items of a resource collection. |
| 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
{- "data": [
- {
- "name": "string",
- "memoryB": 0,
- "maximumDisksSizeB": 0,
- "editions": [
- "EditionUnspecified"
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Cloud Spanner Instance Configurations
The HTTP GET request to the /projects/{projectId}/accounts/{serviceAccountId}/spannerInstanceConfigurations endpoint retrieves a list of configurations of Cloud Spanner instances available in a project with the specified ID.
path Parameters
| projectId required | string System ID assigned to the project in the Veeam Backup for Google Cloud REST API. |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service account. |
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> Excludes from a response the first N items of a resource collection. |
| 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
{- "data": [
- {
- "name": "string",
- "displayName": "string",
- "projectId": "string",
- "configType": "googleManaged",
- "baseConfig": "string",
- "replicas": [
- {
- "location": "string",
- "replicaType": "readWrite"
}
], - "optionalReplicas": [
- {
- "location": "string",
- "replicaType": "readWrite"
}
]
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Get Collection of Service Accounts for Project
The HTTP GET request to the /projects/{projectId}/serviceAccounts endpoint retrieves a list of all service accounts associated with a specific project.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
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
{- "data": [
- {
- "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
- "email": "string",
- "project": "string",
- "description": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Create HMAC Key
The HTTP POST request to the /projects/{projectId}/serviceAccounts/{serviceAccountId}/hmacKey endpoint allows you to create a new HMAC key and associate it with the specific service account.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service 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
{- "hmacKey": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "hmacKeyAccessId": "string",
- "hmacKeySecret": "string"
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get Collection of HMAC Keys
The HTTP GET request to the /projects/{projectId}/serviceAccounts/{serviceAccountId}/hmacKey endpoint retrieves a list of all HMAC keys associated with a specific service account in the specified project.
path Parameters
| projectId required | string Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> System ID assigned in the Veeam Backup for Google Cloud REST API to a service 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
{- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "hmacKeyAccessId": "string"
}Add Existing HMAC Key
The HTTP POST request to the /projects/{projectId}/serviceAccounts/{serviceAccountId}/hmacKey/addExisting endpoint allows you to add an existing HMAC key of the specified service account to Veeam Backup for Google Cloud.
path Parameters
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a service 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
Specifies the HMAC key access ID and secret.
| accessId required | string Specifies the access ID of an HMAC key. |
| secretKey required | string Specifies the secret key of the service 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.
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
{- "accessId": "string",
- "secretKey": "string"
}- 200
- 400
- 401
- 403
- 404
- 500
{- "hmacKey": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "hmacKeyAccessId": "string"
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Generate Permissions ScriptDeprecated
The HTTP POST request to the /projects/downloadGrantPermissionsScript endpoint generates a script that you can further use in Google Cloud console to assign specific permissions to a service account to access the specified project.
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
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountEmail required | string Specifies the email address provisioned in Google Cloud during creation of the service account used to access the specified project. |
| useForSnapshot required | boolean Defines whether VM instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForBackup required | boolean Defines whether VM instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForRestore required | boolean Defines whether VM instances can be restored to the project using the specified service account. |
| useForRepository required | boolean Defines whether backup repositories can be deployed to the project using the specified service account. |
| useForWorker required | boolean Defines whether worker instances can be launched in the project using the specified service account. |
| useForSqlSnapshot required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by cloud-native snapshots using the specified service account. |
| useForSqlBackup required | boolean Defines whether Cloud SQL instances that belong to the project can be protected by image-level backups using the specified service account. |
| useForSqlRestore required | boolean Defines whether Cloud SQL instances can be restored to the project using the specified service account. |
| useForSqlStaging required | boolean Defines whether Cloud SQL staging instances can be launched in the project using the specified service 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
{- "projectId": "string",
- "serviceAccountEmail": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true
}- 200
- 400
- 401
- 403
- 500
"string"