Class: Google::Apis::SqladminV1beta4::CloneInstancesRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/sqladmin_v1beta4/classes.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb,
lib/google/apis/sqladmin_v1beta4/representations.rb

Overview

Database instance clone request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ CloneInstancesRequest

Returns a new instance of CloneInstancesRequest.



2343
2344
2345
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2343

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#clone_contextGoogle::Apis::SqladminV1beta4::CloneContext

Database instance clone context. Corresponds to the JSON property cloneContext



2341
2342
2343
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2341

def clone_context
  @clone_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2348
2349
2350
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 2348

def update!(**args)
  @clone_context = args[:clone_context] if args.key?(:clone_context)
end