Class: Google::Apis::DatastreamV1::PostgresqlTable

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

PostgreSQL table.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PostgresqlTable

Returns a new instance of PostgresqlTable.



3356
3357
3358
# File 'lib/google/apis/datastream_v1/classes.rb', line 3356

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

Instance Attribute Details

#postgresql_columnsArray<Google::Apis::DatastreamV1::PostgresqlColumn>

PostgreSQL columns in the schema. When unspecified as part of include/exclude objects, includes/excludes everything. Corresponds to the JSON property postgresqlColumns



3349
3350
3351
# File 'lib/google/apis/datastream_v1/classes.rb', line 3349

def postgresql_columns
  @postgresql_columns
end

#tableString

The table name. Corresponds to the JSON property table

Returns:

  • (String)


3354
3355
3356
# File 'lib/google/apis/datastream_v1/classes.rb', line 3354

def table
  @table
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3361
3362
3363
3364
# File 'lib/google/apis/datastream_v1/classes.rb', line 3361

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