Class: Google::Apis::SqladminV1::InstancesImportRequest

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

Overview

Database instance import request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ InstancesImportRequest

Returns a new instance of InstancesImportRequest.



2487
2488
2489
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2487

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

Instance Attribute Details

#import_contextGoogle::Apis::SqladminV1::ImportContext

Database instance import context. Corresponds to the JSON property importContext



2485
2486
2487
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2485

def import_context
  @import_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2492
2493
2494
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 2492

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