Class: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier
- Inherits:
-
Object
- Object
- Google::Apis::DatastreamV1::PostgresqlObjectIdentifier
- 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 data source object identifier.
Instance Attribute Summary collapse
-
#schema ⇒ String
Required.
-
#table ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgresqlObjectIdentifier
constructor
A new instance of PostgresqlObjectIdentifier.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgresqlObjectIdentifier
Returns a new instance of PostgresqlObjectIdentifier.
1690 1691 1692 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1690 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
Required. The schema name.
Corresponds to the JSON property schema
1683 1684 1685 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1683 def schema @schema end |
#table ⇒ String
Required. The table name.
Corresponds to the JSON property table
1688 1689 1690 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1688 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1695 1696 1697 1698 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1695 def update!(**args) @schema = args[:schema] if args.key?(:schema) @table = args[:table] if args.key?(:table) end |