Cloud Spanner Instance Backup Policies

The /spannerInstance/policies resource collection represents Cloud Spanner backup policies created in Veeam Backup for Google Cloud.

Get Collection of Backup Policies

The HTTP GET request to the /spannerInstance/policies endpoint retrieves a list of all Cloud Spanner backup policies created in Veeam Backup for Google Cloud.

SecurityBearer
Request
query Parameters
filter
string

Returns only specific items of a resource collection in the response. To learn how to use the filter parameter, see the Veeam Backup for Google Cloud REST API Reference, section Filter Parameter.

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.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Create Backup Policy

The HTTP POST request to the /spannerInstance/policies endpoint creates a new Cloud Spanner backup policy.

SecurityBearer
Request
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/json
required
name
required
string

Specifies a name for a backup policy.

infrastructureObjectType
required
string (ECloudInfrastructureObjectType)

Specifies the type of an infrastructure object (folder or project).

Enum: "folder" "project"
infrastructureObjectId
required
string

Specifies the Google Cloud ID assigned to an infrastructure object whose permissions Veeam Backup for Google Cloud uses to access Google Cloud resources and perform backup of Cloud Spanner instances.

serviceAccountId
required
string <uuid>

System ID assigned to a service account in the Veeam Backup for Google Cloud REST API.

required
object (SpannerPolicySourceOptionsSpec)

Specifies Google Cloud resources to be protected by the backup policy.

backupOptionsEnabled
required
boolean

Specifies whether backup option is enabled.

required
object (PolicyScheduleModel)

Backup schedule specified for the backup policy.

description
string

Specifies a description of the backup policy.

object (SpannerBackupOptionsSpec)

[Applies if backup creation is enabled for the backup policy] Specifies backup settings for the Cloud Spanner backup policy.

object (RetryOptionsModel)

Specifies the retry settings configured for the backup session.

object (NotificationOptionsModel)

Notification settings configured for the backup policy.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "infrastructureObjectType": "folder",
  • "infrastructureObjectId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "sourceOptions": {
    },
  • "backupOptionsEnabled": true,
  • "backupOptions": {
    },
  • "scheduleOptions": {
    },
  • "retryOptions": {
    },
  • "notificationOptions": {
    }
}
Response samples
application/json
{
  • "policy": {
    },
  • "issues": [
    ]
}

Generate Permissions Script

The HTTP POST request to the /spannerInstance/policies/downloadGrantPermissionsScript endpoint generates a script that you can further use in Google Cloud console to assign to the specified service account the permissions required to perform backup operations.

SecurityBearer
Request
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/json
required
serviceAccountId
required
string <uuid>

Specifies the Google Cloud ID assigned to a service account that will be used to access Google Cloud resources.

repositories
required
Array of strings <uuid>

Specifies the list of system IDs assigned in the Veeam Backup for Google Cloud REST API to the target backup repositories where backup files will be stored.

projectId
string

Specifies the Google Cloud ID assigned to a project that manages resources protected by the policy.

folderId
string

Specifies the Google Cloud ID assigned to a folder that contains resources protected by the policy.

organizationId
string

Specifies the Google Cloud ID assigned to an organization of resources protected by the policy. For more information, see Google Cloud Documentation.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/downloadGrantPermissionsScript
Request samples
application/json
{
  • "projectId": "string",
  • "folderId": "string",
  • "organizationId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "repositories": [
    ]
}
Response samples
"string"

Get Backup Policy Data

The HTTP GET request to the /spannerInstance/policies/{policyId} endpoint retrieves settings of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies/{policyId}
Request samples
Response samples
application/json
{
  • "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
  • "name": "string",
  • "description": "string",
  • "priority": 0,
  • "isEnabled": true,
  • "infrastructureObjectType": "folder",
  • "infrastructureObjectId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "createdBy": "string",
  • "modifiedBy": "string",
  • "creationTime": "2019-08-24T14:15:22Z",
  • "modificationTime": "2019-08-24T14:15:22Z",
  • "sourceOptions": {
    },
  • "backupOptionsEnabled": true,
  • "backupOptions": {
    },
  • "scheduleOptions": {
    },
  • "retryOptions": {
    },
  • "notificationOptions": {
    }
}

Modify Backup Policy

The HTTP PUT request to the /spannerInstance/policies/{policyId} endpoint updates settings of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

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/json
required
name
required
string

Specifies a name for a backup policy.

infrastructureObjectType
required
string (ECloudInfrastructureObjectType)

Specifies the type of an infrastructure object (folder or project).

Enum: "folder" "project"
infrastructureObjectId
required
string

Specifies the Google Cloud ID assigned to an infrastructure object whose permissions Veeam Backup for Google Cloud uses to access Google Cloud resources and perform backup of Cloud Spanner instances.

serviceAccountId
required
string <uuid>

System ID assigned to a service account in the Veeam Backup for Google Cloud REST API.

required
object (SpannerPolicySourceOptionsSpec)

Specifies Google Cloud resources to be protected by the backup policy.

backupOptionsEnabled
required
boolean

Specifies whether backup option is enabled.

required
object (PolicyScheduleModel)

Backup schedule specified for the backup policy.

description
string

Specifies a description of the backup policy.

object (SpannerBackupOptionsSpec)

[Applies if backup creation is enabled for the backup policy] Specifies backup settings for the Cloud Spanner backup policy.

object (RetryOptionsModel)

Specifies the retry settings configured for the backup session.

object (NotificationOptionsModel)

Notification settings configured for the backup policy.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

put/api/v1/spannerInstance/policies/{policyId}
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "infrastructureObjectType": "folder",
  • "infrastructureObjectId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "sourceOptions": {
    },
  • "backupOptionsEnabled": true,
  • "backupOptions": {
    },
  • "scheduleOptions": {
    },
  • "retryOptions": {
    },
  • "notificationOptions": {
    }
}
Response samples
application/json
{
  • "policy": {
    },
  • "issues": [
    ]
}

Delete Backup Policy

The HTTP DELETE request to the /spannerInstance/policies/{policyId} endpoint deletes a Cloud Spanner backup policy with the specified ID.

NOTE When you delete a backup policy, cloud-native snapshots and image-level backups created by this backup policy remain intact in Google Cloud. Such snapshots and backups are not deleted from the configuration database — you can find them in the Protected Data page.
SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
204

No Content

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

delete/api/v1/spannerInstance/policies/{policyId}
Request samples
Response samples
application/json
{ }

Start Backup Policy

The HTTP POST request to the /spannerInstance/policies/{policyId}/start endpoint launches a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/{policyId}/start
Request samples
Response samples
application/json
{
  • "sessionIds": [
    ],
  • "issues": [
    ]
}

Stop Backup Policy

The HTTP POST request to the /spannerInstance/policies/{policyId}/stop endpoint stops execution of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

System ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/{policyId}/stop
Request samples
Response samples
application/json
{
  • "success": true,
  • "issues": [
    ]
}

Enable Backup Policy

The HTTP POST request to the /spannerInstance/policies/{policyId}/enable endpoint enables a disabled Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/{policyId}/enable
Request samples
Response samples
application/json
{
  • "success": true,
  • "issues": [
    ]
}

Disable Backup Policy

The HTTP POST request to the /spannerInstance/policies/{policyId}/disable endpoint disables an enabled Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/{policyId}/disable
Request samples
Response samples
application/json
{
  • "success": true,
  • "issues": [
    ]
}

Set Backup Policy Priority

The HTTP POST request to the /spannerInstance/policies/changePriority sets the priority order for Spanner backup policies.

NOTE
To set the priority, specify the system IDs of the backup policies in the required order.

SecurityBearer
Request
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/json
required
required
Array of objects (PolicyPrioritySpecV2)

Specifies priority order for backup policies.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

404

Not Found. One or more resources specified in the request could not be found in the specified resource collection.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/changePriority
Request samples
application/json
{
  • "priorities": [
    ]
}
Response samples
application/json
{
  • "success": true,
  • "issues": [
    ]
}

Calculate Estimated Cost for Backup Policy

The HTTP POST request to the /spannerInstance/policies/calculateCost endpoint allows you to calculate the estimated monthly cost for a Cloud Spanner backup policy with the specific settings.

SecurityBearer
Request
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/json
required
name
required
string

Specifies a name for a backup policy.

infrastructureObjectType
required
string (ECloudInfrastructureObjectType)

Specifies the type of an infrastructure object (folder or project).

Enum: "folder" "project"
infrastructureObjectId
required
string

Specifies the Google Cloud ID assigned to an infrastructure object whose permissions Veeam Backup for Google Cloud uses to access Google Cloud resources and perform backup of Cloud Spanner instances.

serviceAccountId
required
string <uuid>

System ID assigned to a service account in the Veeam Backup for Google Cloud REST API.

required
object (SpannerPolicySourceOptionsSpec)

Specifies Google Cloud resources to be protected by the backup policy.

backupOptionsEnabled
required
boolean

Specifies whether backup option is enabled.

required
object (PolicyScheduleModel)

Backup schedule specified for the backup policy.

description
string

Specifies a description of the backup policy.

object (SpannerBackupOptionsSpec)

[Applies if backup creation is enabled for the backup policy] Specifies backup settings for the Cloud Spanner backup policy.

object (RetryOptionsModel)

Specifies the retry settings configured for the backup session.

object (NotificationOptionsModel)

Notification settings configured for the backup policy.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/calculateCost
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "infrastructureObjectType": "folder",
  • "infrastructureObjectId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "sourceOptions": {
    },
  • "backupOptionsEnabled": true,
  • "backupOptions": {
    },
  • "scheduleOptions": {
    },
  • "retryOptions": {
    },
  • "notificationOptions": {
    }
}
Response samples
application/json
{
  • "policyCost": {
    },
  • "issues": [
    ]
}

Calculate Estimated Cost for Modified Backup Policy

The HTTP POST request to the spannerInstance/policies/{policyId}/calculateCost endpoint allows you to calculate the estimated monthly cost that will be consumed if you change the settings of an existing Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

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/json
required
name
required
string

Specifies a name for a backup policy.

infrastructureObjectType
required
string (ECloudInfrastructureObjectType)

Specifies the type of an infrastructure object (folder or project).

Enum: "folder" "project"
infrastructureObjectId
required
string

Specifies the Google Cloud ID assigned to an infrastructure object whose permissions Veeam Backup for Google Cloud uses to access Google Cloud resources and perform backup of Cloud Spanner instances.

serviceAccountId
required
string <uuid>

System ID assigned to a service account in the Veeam Backup for Google Cloud REST API.

required
object (SpannerPolicySourceOptionsSpec)

Specifies Google Cloud resources to be protected by the backup policy.

backupOptionsEnabled
required
boolean

Specifies whether backup option is enabled.

required
object (PolicyScheduleModel)

Backup schedule specified for the backup policy.

description
string

Specifies a description of the backup policy.

object (SpannerBackupOptionsSpec)

[Applies if backup creation is enabled for the backup policy] Specifies backup settings for the Cloud Spanner backup policy.

object (RetryOptionsModel)

Specifies the retry settings configured for the backup session.

object (NotificationOptionsModel)

Notification settings configured for the backup policy.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

post/api/v1/spannerInstance/policies/{policyId}/calculateCost
Request samples
application/json
{
  • "name": "string",
  • "description": "string",
  • "infrastructureObjectType": "folder",
  • "infrastructureObjectId": "string",
  • "serviceAccountId": "a814cf67-aaac-43ae-acb4-8d34e82a4b4c",
  • "sourceOptions": {
    },
  • "backupOptionsEnabled": true,
  • "backupOptions": {
    },
  • "scheduleOptions": {
    },
  • "retryOptions": {
    },
  • "notificationOptions": {
    }
}
Response samples
application/json
{
  • "policyCost": {
    },
  • "issues": [
    ]
}

Get Backup Policy Status

The HTTP GET request to the /spannerInstance/policies/{policyId}/status endpoint retrieves status of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies/{policyId}/status
Request samples
Response samples
application/json
{
  • "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
  • "currentStatus": "Success",
  • "latestSnapshotStatus": "Success",
  • "latestBackupStatus": "Success",
  • "latestArchiveStatus": "Success"
}

Get Backup Policy Schedule

The HTTP GET request to the /spannerInstance/policies/{policyId}/schedule endpoint retrieves a schedule of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

header Parameters
x-api-version
required
string
Default: 1.4-rev0

Specifies the current revision of the Veeam Backup for Google Cloud REST API.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies/{policyId}/schedule
Request samples
Response samples
application/json
{
  • "policyId": "2f5573e6-5ba4-48f2-a75d-df99c936463b",
  • "latestRunTimeUtc": "2019-08-24T14:15:22Z",
  • "nextRunTimeUtc": "2019-08-24T14:15:22Z"
}

Get Backup Policy Sessions Data

The HTTP GET request to the /spannerInstance/policies/{policyId}/sessions endpoint retrieves session data of a Cloud Spanner backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

query Parameters
filter
string

Returns only specific items of a resource collection in the response. To learn how to use the filter parameter, see the Veeam Backup for Google Cloud REST API Reference, section Filter Parameter.

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.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies/{policyId}/sessions
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Get Google Cloud Resources Protected by Backup Policy

The HTTP GET request to the /spannerInstance/policies/{policyId}/instances endpoint retrieves information on all Google Cloud Spanner instances that must be protected by a backup policy with the specified ID.

SecurityBearer
Request
path Parameters
policyId
required
string <uuid>

Specifies the system ID assigned in the Veeam Backup for Google Cloud REST API to a Cloud Spanner backup policy.

query Parameters
filter
string

Returns only specific items of a resource collection in the response. To learn how to use the filter parameter, see the Veeam Backup for Google Cloud REST API Reference, section Filter Parameter.

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.

Responses
200

OK

400

Bad Request. The request body is malformed, incomplete or otherwise invalid

401

Unauthorized. The authorization header has been expected but not found (or found but is expired).

403

Forbidden. The user sending a request does not have adequate privileges to access one or more objects specified in the request.

500

Internal Server Error. The request has been received but could not be completed because of an internal error at the server side.

get/api/v1/spannerInstance/policies/{policyId}/instances
Request samples
Response samples
application/json
{
  • "data": [
    ],
  • "pagination": {
    }
}

Document updated 11/19/2025

Page content applies to build 7.0.0.47