Cloud SQL Admin V1 API - Class Google::Cloud::Sql::V1::PointInTimeRestoreContext (v0.1.0)

Reference documentation and code samples for the Cloud SQL Admin V1 API class Google::Cloud::Sql::V1::PointInTimeRestoreContext.

The context to perform a point-in-time recovery of an instance managed by Backup and Disaster Recovery (DR) Service.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#allocated_ip_range

def allocated_ip_range() -> ::String
Returns
  • (::String) — 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.

#allocated_ip_range=

def allocated_ip_range=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#datasource

def datasource() -> ::String
Returns
  • (::String) — The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

#datasource=

def datasource=(value) -> ::String
Parameter
  • value (::String) — The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.
Returns
  • (::String) — The Backup and Disaster Recovery (DR) Service Datasource URI. Format: projects/{project}/locations/{region}/backupVaults/{backupvault}/dataSources/{datasource}.

#point_in_time

def point_in_time() -> ::Google::Protobuf::Timestamp
Returns

#point_in_time=

def point_in_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
Returns

#preferred_secondary_zone

def preferred_secondary_zone() -> ::String
Returns
  • (::String) — 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.

#preferred_secondary_zone=

def preferred_secondary_zone=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#preferred_zone

def preferred_zone() -> ::String
Returns
  • (::String) — 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.

#preferred_zone=

def preferred_zone=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#private_network

def private_network() -> ::String
Returns
  • (::String) — 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.

#private_network=

def private_network=(value) -> ::String
Parameter
  • value (::String) — 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.
Returns
  • (::String) — 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.

#region

def region() -> ::String
Returns
  • (::String) — Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

#region=

def region=(value) -> ::String
Parameter
  • value (::String) — Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".
Returns
  • (::String) — Optional. The region of the target instance where the datasource will be restored. For example: "us-central1".

#target_instance

def target_instance() -> ::String
Returns
  • (::String) — Target instance name.

#target_instance=

def target_instance=(value) -> ::String
Parameter
  • value (::String) — Target instance name.
Returns
  • (::String) — Target instance name.

#target_instance_clear_settings_field_names

def target_instance_clear_settings_field_names() -> ::Array<::String>
Returns
  • (::Array<::String>) — Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

#target_instance_clear_settings_field_names=

def target_instance_clear_settings_field_names=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.
Returns
  • (::Array<::String>) — Optional. Specifies the instance settings that will be cleared from the source instance. This field is only applicable for cross project PITRs.

#target_instance_settings

def target_instance_settings() -> ::Google::Cloud::Sql::V1::DatabaseInstance
Returns

#target_instance_settings=

def target_instance_settings=(value) -> ::Google::Cloud::Sql::V1::DatabaseInstance
Parameter
Returns