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.



3084
3085
3086
# File 'lib/google/apis/datastream_v1/classes.rb', line 3084

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



3077
3078
3079
# File 'lib/google/apis/datastream_v1/classes.rb', line 3077

def oracle_tables
  @oracle_tables
end

#schemaString

The schema name. Corresponds to the JSON property schema

Returns:

  • (String)


3082
3083
3084
# File 'lib/google/apis/datastream_v1/classes.rb', line 3082

def schema
  @schema
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3089
3090
3091
3092
# File 'lib/google/apis/datastream_v1/classes.rb', line 3089

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