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



1146
1147
1148
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1146

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

Instance Attribute Details

#clone_contextGoogle::Apis::SqladminV1beta4::CloneContext

Database instance clone context. Corresponds to the JSON property cloneContext



1144
1145
1146
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1144

def clone_context
  @clone_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1151
1152
1153
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1151

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