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.
1922 1923 1924 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1922 def initialize(**args) update!(**args) end |
Instance Attribute Details
#schema ⇒ String
Required. The schema name.
Corresponds to the JSON property schema
1915 1916 1917 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1915 def schema @schema end |
#table ⇒ String
Required. The table name.
Corresponds to the JSON property table
1920 1921 1922 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1920 def table @table end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1927 1928 1929 1930 |
# File 'lib/google/apis/datastream_v1/classes.rb', line 1927 def update!(**args) @schema = args[:schema] if args.key?(:schema) @table = args[:table] if args.key?(:table) end |