Class: Google::Apis::AlloydbV1::ClientConnectionConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::ClientConnectionConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/alloydb_v1/classes.rb,
lib/google/apis/alloydb_v1/representations.rb,
lib/google/apis/alloydb_v1/representations.rb
Overview
Client connection configuration
Instance Attribute Summary collapse
-
#require_connectors ⇒ Boolean
(also: #require_connectors?)
Optional.
-
#ssl_config ⇒ Google::Apis::AlloydbV1::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.
356 357 358 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 356 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
348 349 350 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 348 def require_connectors @require_connectors end |
#ssl_config ⇒ Google::Apis::AlloydbV1::SslConfig
SSL configuration.
Corresponds to the JSON property sslConfig
354 355 356 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 354 def ssl_config @ssl_config end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
361 362 363 364 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 361 def update!(**args) @require_connectors = args[:require_connectors] if args.key?(:require_connectors) @ssl_config = args[:ssl_config] if args.key?(:ssl_config) end |