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.
1868 1869 1870 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1868 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
Required. The schema name.
Corresponds to the JSON property schema
1861 1862 1863 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1861 def schema @schema end |
#table ⇒ String
Required. The table name.
Corresponds to the JSON property table
1866 1867 1868 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1866 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1873 1874 1875 1876 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1873 def update!(**args) @schema = args[:schema] if args.key?(:schema) @table = args[:table] if args.key?(:table) end |