Class: Google::Apis::DatastreamV1alpha1::OracleTable

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

Overview

Oracle table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ OracleTable

Returns a new instance of OracleTable.



1496
1497
1498
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1496

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

Instance Attribute Details

#oracle_columnsArray<Google::Apis::DatastreamV1alpha1::OracleColumn>

Oracle columns in the schema. When unspecified as part of inclue/exclude lists, includes/excludes everything. Corresponds to the JSON property oracleColumns



1489
1490
1491
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1489

def oracle_columns
  @oracle_columns
end

#table_nameString

Table name. Corresponds to the JSON property tableName

Returns:

  • (String)


1494
1495
1496
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1494

def table_name
  @table_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1501
1502
1503
1504
# File 'lib/google/apis/datastream_v1alpha1/classes.rb', line 1501

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