v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-1375137252.2 KB
instances

Point in time restore for an instance managed by Google Cloud Backup and Disaster Recovery.

post/v1/{+parent}:pointInTimeRestore

Path parameters

parentstring required

Required. The parent resource where you created this instance. Format: projects/{project}

Request body

datasourcestring

The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

regionstring

Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

pointInTimestring google-datetime

Required. The date and time to which you want to restore the instance.

targetInstancestring

Target instance name.

allocatedIpRangestring

Optional. The name of the allocated IP range for the internal IP Cloud SQL instance. For example: "google-managed-services-default". If you set this, then Cloud SQL creates the IP address for the cloned instance in the allocated range. This range must comply with RFC 1035 standards. Specifically, the name must be 1-63 characters long and match the regular expression a-z?. Reserved for future use.

preferredZonestring

Optional. Point-in-time recovery of an instance to the specified zone. If no zone is specified, then clone to the same primary zone as the source instance.

preferredSecondaryZonestring

Optional. Point-in-time recovery of a regional instance in the specified zones. If not specified, clone to the same secondary zone as the source instance. This value cannot be the same as the preferred_zone field.

privateNetworkstring

Optional. The resource link for the VPC network from which the Cloud SQL instance is accessible for private IP. For example, /projects/myProject/global/networks/default.

targetInstanceClearSettingsFieldNamesstring[]

Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

Response

Successful response