Class: Google::Apis::DatastreamV1::OracleSchema

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

Overview

Oracle schema.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleSchema

Returns a new instance of OracleSchema.



1710
1711
1712
# File 'lib/google/apis/datastream_v1/classes.rb', line 1710

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

Instance Attribute Details

#oracle_tablesArray<Google::Apis::DatastreamV1::OracleTable>

Tables in the schema. Corresponds to the JSON property oracleTables



1703
1704
1705
# File 'lib/google/apis/datastream_v1/classes.rb', line 1703

def oracle_tables
  @oracle_tables
end

#schemaString

Schema name. Corresponds to the JSON property schema

Returns:

  • (String)


1708
1709
1710
# File 'lib/google/apis/datastream_v1/classes.rb', line 1708

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1715
1716
1717
1718
# File 'lib/google/apis/datastream_v1/classes.rb', line 1715

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