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

Inherits:
Object
  • Object
show all
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 request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ CloneInstancesRequest

Returns a new instance of CloneInstancesRequest.



926
927
928
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 926

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

Instance Attribute Details

#clone_contextGoogle::Apis::SqladminV1beta4::CloneContext

Database instance clone context. Corresponds to the JSON property cloneContext



924
925
926
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 924

def clone_context
  @clone_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



931
932
933
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 931

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