Class: Google::Apis::AlloydbV1::ClientConnectionConfig

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

Instance Method Summary collapse

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_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)


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

def require_connectors
  @require_connectors
end

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