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.
855 856 857 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 855 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
835 836 837 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 835 def cloud_sql @cloud_sql end |
#database ⇒ String
Required. Name of the PostgreSQL database.
Corresponds to the JSON property database
840 841 842 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 840 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
846 847 848 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 846 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
852 853 854 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 852 def unlinked @unlinked end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
860 861 862 863 864 865 |
# File 'lib/google/apis/firebasedataconnect_v1beta/classes.rb', line 860 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 |