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



1076
1077
1078
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1076

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

Instance Attribute Details

#clone_contextGoogle::Apis::SqladminV1beta4::CloneContext

Database instance clone context. Corresponds to the JSON property cloneContext



1074
1075
1076
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1074

def clone_context
  @clone_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1081
1082
1083
# File 'generated/google/apis/sqladmin_v1beta4/classes.rb', line 1081

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