class Google::Apis::SqladminV1beta4::CloneContext

Database instance clone context.

Attributes

allocated_ip_range[RW]

The name of the allocated ip range for the private ip Cloud SQL instance. For example: “google-managed-services-default”. If set, the cloned instance ip will be created in the allocated range. The range name must comply with [RFC 1035](tools.ietf.org/html/rfc1035). Specifically, the name must be 1- 63 characters long and match the regular expression [a-z](*[a-z0-9])?. Reserved for future use. Corresponds to the JSON property `allocatedIpRange` @return [String]

bin_log_coordinates[RW]

Binary log coordinates. Corresponds to the JSON property `binLogCoordinates` @return [Google::Apis::SqladminV1beta4::BinLogCoordinates]

database_names[RW]

(SQL Server only) Clone only the specified databases from the source instance. Clone all databases if empty. Corresponds to the JSON property `databaseNames` @return [Array<String>]

destination_instance_name[RW]

Name of the Cloud SQL instance to be created as a clone. Corresponds to the JSON property `destinationInstanceName` @return [String]

kind[RW]

This is always `sql#cloneContext`. Corresponds to the JSON property `kind` @return [String]

pitr_timestamp_ms[RW]

Reserved for future use. Corresponds to the JSON property `pitrTimestampMs` @return [Fixnum]

point_in_time[RW]

Timestamp, if specified, identifies the time to which the source instance is cloned. Corresponds to the JSON property `pointInTime` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 456
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File lib/google/apis/sqladmin_v1beta4/classes.rb, line 461
def update!(**args)
  @allocated_ip_range = args[:allocated_ip_range] if args.key?(:allocated_ip_range)
  @bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates)
  @database_names = args[:database_names] if args.key?(:database_names)
  @destination_instance_name = args[:destination_instance_name] if args.key?(:destination_instance_name)
  @kind = args[:kind] if args.key?(:kind)
  @pitr_timestamp_ms = args[:pitr_timestamp_ms] if args.key?(:pitr_timestamp_ms)
  @point_in_time = args[:point_in_time] if args.key?(:point_in_time)
end