Class: Google::Apis::AlloydbV1beta::ClientConnectionConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ClientConnectionConfig

Returns a new instance of ClientConnectionConfig.



343
344
345
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 343

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#require_connectorsBoolean Also known as: require_connectors?

Optional. Configuration to enforce connectors only (ex: AuthProxy) connections to the database. Corresponds to the JSON property requireConnectors

Returns:

  • (Boolean)


335
336
337
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 335

def require_connectors
  @require_connectors
end

#ssl_configGoogle::Apis::AlloydbV1beta::SslConfig

SSL configuration. Corresponds to the JSON property sslConfig



341
342
343
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 341

def ssl_config
  @ssl_config
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



348
349
350
351
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 348

def update!(**args)
  @require_connectors = args[:require_connectors] if args.key?(:require_connectors)
  @ssl_config = args[:ssl_config] if args.key?(:ssl_config)
end