Class: Google::Apis::FirebasedataconnectV1beta::PostgreSql
- Inherits:
-
Object
- Object
- Google::Apis::FirebasedataconnectV1beta::PostgreSql
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/firebasedataconnect_v1beta/classes.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb,
lib/google/apis/firebasedataconnect_v1beta/representations.rb
Overview
Settings for PostgreSQL data source.
Instance Attribute Summary collapse
-
#cloud_sql ⇒ Google::Apis::FirebasedataconnectV1beta::CloudSqlInstance
Settings for CloudSQL instance configuration.
-
#database ⇒ String
Required.
-
#schema_validation ⇒ String
Optional.
-
#unlinked ⇒ Boolean
(also: #unlinked?)
No Postgres data source is linked.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PostgreSql
constructor
A new instance of PostgreSql.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PostgreSql
Returns a new instance of PostgreSql.
849 850 851 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 849 def initialize(**args) update!(**args) end |
Instance Attribute Details
#cloud_sql ⇒ Google::Apis::FirebasedataconnectV1beta::CloudSqlInstance
Settings for CloudSQL instance configuration.
Corresponds to the JSON property cloudSql
829 830 831 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 829 def cloud_sql @cloud_sql end |
#database ⇒ String
Required. Name of the PostgreSQL database.
Corresponds to the JSON property database
834 835 836 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 834 def database @database end |
#schema_validation ⇒ String
Optional. Configure how much Postgresql schema validation to perform. Default
to STRICT
if not specified.
Corresponds to the JSON property schemaValidation
840 841 842 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 840 def schema_validation @schema_validation end |
#unlinked ⇒ Boolean Also known as: unlinked?
No Postgres data source is linked. If set, don't allow database
and
schema_validation
to be configured.
Corresponds to the JSON property unlinked
846 847 848 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 846 def unlinked @unlinked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
854 855 856 857 858 859 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 854 def update!(**args) @cloud_sql = args[:cloud_sql] if args.key?(:cloud_sql) @database = args[:database] if args.key?(:database) @schema_validation = args[:schema_validation] if args.key?(:schema_validation) @unlinked = args[:unlinked] if args.key?(:unlinked) end |