Class: Google::Apis::DatastreamV1::PostgresqlTable
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::PostgresqlTable
- 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
-
#postgresql_columns ⇒ Array<Google::Apis::DatastreamV1::PostgresqlColumn>
PostgreSQL columns in the schema.
-
#table ⇒ String
Table name.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgresqlTable
constructor
A new instance of PostgresqlTable.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgresqlTable
Returns a new instance of PostgresqlTable.
2081 2082 2083 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2081 def initialize(**args) update!(**args) end |
Instance Attribute Details
#postgresql_columns ⇒ Array<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
2074 2075 2076 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2074 def postgresql_columns @postgresql_columns end |
#table ⇒ String
Table name.
Corresponds to the JSON property table
2079 2080 2081 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2079 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2086 2087 2088 2089 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2086 def update!(**args) @postgresql_columns = args[:postgresql_columns] if args.key?(:postgresql_columns) @table = args[:table] if args.key?(:table) end |