Class: Google::Apis::AlloydbV1beta::SslConfig

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

SSL configuration.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ SslConfig

Returns a new instance of SslConfig.



2386
2387
2388
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2386

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

Instance Attribute Details

#ca_source ⇒ String

Optional. Certificate Authority (CA) source. Only CA_SOURCE_MANAGED is supported currently, and is the default value. Corresponds to the JSON property caSource

Returns:

  • (String)


2379
2380
2381
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2379

def ca_source
  @ca_source
end

#ssl_mode ⇒ String

Optional. SSL mode. Specifies client-server SSL/TLS connection behavior. Corresponds to the JSON property sslMode

Returns:

  • (String)


2384
2385
2386
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2384

def ssl_mode
  @ssl_mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2391
2392
2393
2394
# File 'lib/google/apis/alloydb_v1beta/classes.rb', line 2391

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