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.



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

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)


327
328
329
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 327

def require_connectors
  @require_connectors
end

#ssl_configGoogle::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