Class: Google::Apis::SqladminV1beta4::SelectedObjects

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

Overview

A list of objects that the user selects for replication from an external source instance.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SelectedObjects

Returns a new instance of SelectedObjects.



5180
5181
5182
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 5180

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

Instance Attribute Details

#databaseString

Required. The name of the database to migrate. Corresponds to the JSON property database

Returns:

  • (String)


5178
5179
5180
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 5178

def database
  @database
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5185
5186
5187
# File 'lib/google/apis/sqladmin_v1beta4/classes.rb', line 5185

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