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.



3052
3053
3054
# File 'lib/google/apis/datastream_v1/classes.rb', line 3052

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



3045
3046
3047
# File 'lib/google/apis/datastream_v1/classes.rb', line 3045

def oracle_tables
  @oracle_tables
end

#schemaString

The schema name. Corresponds to the JSON property schema

Returns:

  • (String)


3050
3051
3052
# File 'lib/google/apis/datastream_v1/classes.rb', line 3050

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3057
3058
3059
3060
# File 'lib/google/apis/datastream_v1/classes.rb', line 3057

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