Class: Google::Apis::SqladminV1beta3::InstancesImportRequest

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

Overview

Database instance import 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) ⇒ InstancesImportRequest

Returns a new instance of InstancesImportRequest



825
826
827
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 825

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

Instance Attribute Details

#import_contextGoogle::Apis::SqladminV1beta3::ImportContext

Database instance import context. Corresponds to the JSON property importContext



823
824
825
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 823

def import_context
  @import_context
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



830
831
832
# File 'generated/google/apis/sqladmin_v1beta3/classes.rb', line 830

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