Class: Google::Apis::SqladminV1beta4::CloneContext
- Inherits:
-
Object
- Object
- Google::Apis::SqladminV1beta4::CloneContext
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/sqladmin_v1beta4/classes.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb,
generated/google/apis/sqladmin_v1beta4/representations.rb
Overview
Database instance clone context.
Instance Attribute Summary collapse
-
#bin_log_coordinates ⇒ Google::Apis::SqladminV1beta4::BinLogCoordinates
Binary log coordinates.
-
#destination_instance_name ⇒ String
Name of the Cloud SQL instance to be created as a clone.
-
#kind ⇒ String
This is always sql#cloneContext.
-
#pitr_timestamp_ms ⇒ Fixnum
Reserved for future use.
-
#point_in_time ⇒ String
Reserved for future use.
Instance Method Summary collapse
-
#initialize(**args) ⇒ CloneContext
constructor
A new instance of CloneContext.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ CloneContext
Returns a new instance of CloneContext.
422 423 424 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 422 def initialize(**args) update!(**args) end |
Instance Attribute Details
#bin_log_coordinates ⇒ Google::Apis::SqladminV1beta4::BinLogCoordinates
Binary log coordinates.
Corresponds to the JSON property binLogCoordinates
400 401 402 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 400 def bin_log_coordinates @bin_log_coordinates end |
#destination_instance_name ⇒ String
Name of the Cloud SQL instance to be created as a clone.
Corresponds to the JSON property destinationInstanceName
405 406 407 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 405 def destination_instance_name @destination_instance_name end |
#kind ⇒ String
This is always sql#cloneContext.
Corresponds to the JSON property kind
410 411 412 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 410 def kind @kind end |
#pitr_timestamp_ms ⇒ Fixnum
Reserved for future use.
Corresponds to the JSON property pitrTimestampMs
415 416 417 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 415 def @pitr_timestamp_ms end |
#point_in_time ⇒ String
Reserved for future use.
Corresponds to the JSON property pointInTime
420 421 422 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 420 def point_in_time @point_in_time end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
427 428 429 430 431 432 433 |
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 427 def update!(**args) @bin_log_coordinates = args[:bin_log_coordinates] if args.key?(:bin_log_coordinates) @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 |