Class: Google::Apis::AlloydbV1beta::ClientConnectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1beta::ClientConnectionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1beta/classes.rb,
lib/google/apis/alloydb_v1beta/representations.rb,
lib/google/apis/alloydb_v1beta/representations.rb
Overview
Client connection configuration
Instance Attribute Summary collapse
-
#require_connectors ⇒ Boolean
(also: #require_connectors?)
Optional.
-
#ssl_config ⇒ Google::Apis::AlloydbV1beta::SslConfig
SSL configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ClientConnectionConfig
constructor
A new instance of ClientConnectionConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ClientConnectionConfig
Returns a new instance of ClientConnectionConfig.
335 336 337 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#require_connectors ⇒ Boolean Also known as: require_connectors?
Optional. Configuration to enforce connectors only (ex: AuthProxy) connections
to the database.
Corresponds to the JSON property requireConnectors
327 328 329 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 327 def require_connectors @require_connectors end |
#ssl_config ⇒ Google::Apis::AlloydbV1beta::SslConfig
SSL configuration.
Corresponds to the JSON property sslConfig
333 334 335 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 333 def ssl_config @ssl_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
340 341 342 343 |
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 340 def update!(**args) @require_connectors = args[:require_connectors] if args.key?(:require_connectors) @ssl_config = args[:ssl_config] if args.key?(:ssl_config) end |