Class: Google::Apis::DatastreamV1::PostgresqlObjectIdentifier

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#schemaString

Required. The schema name. Corresponds to the JSON property schema

Returns:

  • (String)


2111
2112
2113
# File 'lib/google/apis/datastream_v1/classes.rb', line 2111

def schema
  @schema
end

#tableString

Required. The table name. Corresponds to the JSON property table

Returns:

  • (String)


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