Class: Google::Apis::SqladminV1::SelectedObjects

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

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.



5025
5026
5027
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5025

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)


5023
5024
5025
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5023

def database
  @database
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5030
5031
5032
# File 'lib/google/apis/sqladmin_v1/classes.rb', line 5030

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