- 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 /cloudInfrastructure resource collection represents all infrastructure objects (projects and folders) added to the Veeam Backup for Google Cloud configuration database.
Get Infrastructure Objects
The HTTP GET request to the /api/v1/cloudInfrastructure endpoint retrieves a list of all infrastructure objects (folders and 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",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}Add Folder
The HTTP POST request to the /api/v1/cloudInfrastructure/folders endpoint adds a folder existing in Google Cloud 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
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
| organizationId required | string Specifies the Google Cloud ID assigned to an organization. For more information, see Google Cloud Documentation. |
required | object (CloudInfrastructureObjectPermissionsModel) Specifies information on permissions of a service account to the infrastructure object. |
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
{- "folderId": "string",
- "organizationId": "string",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}- 200
- 400
- 401
- 403
- 500
{- "infrastructureObject": {
- "id": "string",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get Service Account Permissions To Folder
The HTTP GET request to the /api/v1/cloudInfrastructure/folders/{folderId}/serviceAccount/{serviceAccountId} endpoint retrieves information on permissions of a specific service account to a folder with the specified ID.
path Parameters
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned to a service account 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).
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",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}Modify Service Account Permissions To Folder
The HTTP PUT request to the /api/v1/cloudInfrastructure/folders/{folderId}/serviceAccount/{serviceAccountId} endpoint updates permissions of a specific service account to a folder with the specified ID.
path Parameters
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned to a service account 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
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
| organizationId required | string Specifies the Google Cloud ID assigned to an organization. For more information, see Google Cloud Documentation. |
required | object (CloudInfrastructureObjectPermissionsModel) Specifies information on permissions of a service account to the infrastructure object. |
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
{- "folderId": "string",
- "organizationId": "string",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "infrastructureObject": {
- "id": "string",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Remove Folder
The HTTP DELETE request to the /api/v1/cloudInfrastructure/folders/{folderId}/serviceAccount/{serviceAccountId} endpoint removes a folder with the specified ID from the Veeam Backup for Google Cloud configuration database.
path Parameters
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned to a service account 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. |
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"
}
]
}Add Project
The HTTP POST request to the /api/v1/cloudInfrastructure/projects endpoint adds a project existing in Google Cloud 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 the Google Cloud ID assigned to a project. |
required | object (CloudInfrastructureObjectPermissionsModel) Specifies information on permissions of a service account to the infrastructure object. |
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",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}- 200
- 400
- 401
- 403
- 500
{- "infrastructureObject": {
- "id": "string",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Get Service Account Permissions To Project
The HTTP GET request to the /api/v1/cloudInfrastructure/projects/{projectId}/serviceAccount/{serviceAccountId} endpoint retrieves information on permissions of a specific service account 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 to a service account 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).
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",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}Modify Service Account Permissions To Project
The HTTP PUT request to the /api/v1/cloudInfrastructure/projects/{projectId}/serviceAccount/{serviceAccountId} endpoint updates the list of permissions of a specific service account 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 to a service account 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
| name required | string Specifies the Google Cloud ID assigned to a project. |
required | object (CloudInfrastructureObjectPermissionsModel) Specifies information on permissions of a service account to the infrastructure object. |
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
{- "name": "string",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}- 200
- 400
- 401
- 403
- 404
- 500
{- "infrastructureObject": {
- "id": "string",
- "displayName": "string",
- "type": "folder",
- "permissions": {
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "serviceAccountName": "string",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}
}, - "issues": [
- {
- "description": "string",
- "severity": "Error"
}
]
}Remove Project
The HTTP DELETE request to the /api/v1/cloudInfrastructure/projects/{projectId}/serviceAccount/{serviceAccountId} endpoint removes a project with the specified ID from the Veeam Backup for Google Cloud configuration database.
path Parameters
| projectId required | string Specifies the Google Cloud ID assigned to a project. |
| serviceAccountId required | string <uuid> Specifies the system ID assigned to a service account 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. |
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"
}
]
}Generate Permissions Script
The HTTP POST request to the /cloudInfrastructure/downloadServiceAccountScript 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 infrastructure object.
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
| serviceAccountId required | string <uuid> Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a service account that will be 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. |
| useForSpannerSnapshot required | boolean Defines whether Cloud Spanner instances that belong to the infrastructure object can be protected by cloud-native snapshots using the specified service account. |
| useForSpannerBackup required | boolean Defines whether Cloud Spanner instances that belong to the infrastructure object can be protected by image-level backups using the specified service account. |
| useForSpannerRestore required | boolean Defines whether Cloud Spanner instances can be restored to the infrastructure object using the specified service account. |
| useForFlrRto required | boolean Defines whether file-level recovery to the original location can be performed in the infrastructure object using the specified service account. |
| useForFlrRtoWorker required | boolean Defines whether the worker instances can be launched for file-level recovery to the original location in the infrastructure object using the specified service account. |
| projectId | string Specifies the Google Cloud ID assigned to a project. |
| folderId | string Specifies the Google Cloud ID assigned to a folder. |
| organizationId | string Specifies the Google Cloud ID assigned to an organization. For more information, see Google Cloud Documentation. |
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",
- "folderId": "string",
- "organizationId": "string",
- "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
- "useForSnapshot": true,
- "useForBackup": true,
- "useForRestore": true,
- "useForRepository": true,
- "useForWorker": true,
- "useForSqlSnapshot": true,
- "useForSqlBackup": true,
- "useForSqlRestore": true,
- "useForSqlStaging": true,
- "useForSpannerSnapshot": true,
- "useForSpannerBackup": true,
- "useForSpannerRestore": true,
- "useForFlrRto": true,
- "useForFlrRtoWorker": true
}- 200
- 400
- 401
- 403
- 500
"string"Get Subfolders
The HTTP GET request to the /api/v1/folders/{folderId}/subFolders endpoint retrieves a list of subfolders of a folder added to the Veeam Backup for Google Cloud configuration database.
path Parameters
| folderId required | string Specifies the Google Cloud ID assigned to a folder. |
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",
- "folderId": "string"
}
], - "pagination": {
- "total": 0,
- "count": 0,
- "offset": 0
}
}