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.
2118 2119 2120 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2118 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
Required. The schema name.
Corresponds to the JSON property schema
2111 2112 2113 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2111 def schema @schema end |
#table ⇒ String
Required. The table name.
Corresponds to the JSON property table
2116 2117 2118 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2116 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2123 2124 2125 2126 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 2123 def update!(**args) @schema = args[:schema] if args.key?(:schema) @table = args[:table] if args.key?(:table) end |