PointInTimeRestoreContext(mapping=None, *, ignore_unknown_fields=False, **kwargs)The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
Attributes |
|
|---|---|
| Name | Description |
datasource |
str
The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}. This field is a member of oneof_ _datasource.
|
point_in_time |
google.protobuf.timestamp_pb2.Timestamp
Required. The date and time to which you want to restore the instance. |
target_instance |
str
Target instance name. This field is a member of oneof_ _target_instance.
|
private_network |
str
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.
This field is a member of oneof_ _private_network.
|
allocated_ip_range |
str
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 |
preferred_zone |
str
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. This field is a member of oneof_ _preferred_zone.
|
preferred_secondary_zone |
str
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. This field is a member of oneof_ _preferred_secondary_zone.
|
target_instance_settings |
google.cloud.sqladmin_v1.types.DatabaseInstance
Optional. Specifies the instance settings that will be overridden from the source instance. This field is only applicable for cross project PITRs. |
target_instance_clear_settings_field_names |
MutableSequence[str]
Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs. |
region |
str
Optional. The region of the target instance where the datasource will be restored. For example: "us-central1". This field is a member of oneof_ _region.
|