Class: Google::Apis::AlloydbV1::SslConfig
- Inherits:
-
Object
- Object
- Google::Apis::AlloydbV1::SslConfig
- 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
SSL configuration.
Instance Attribute Summary collapse
-
#ca_source ⇒ String
Optional.
-
#ssl_mode ⇒ String
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SslConfig
constructor
A new instance of SslConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ SslConfig
Returns a new instance of SslConfig.
1919 1920 1921 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1919 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
1912 1913 1914 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1912 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
1917 1918 1919 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1917 def ssl_mode @ssl_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1924 1925 1926 1927 |
# File 'lib/google/apis/alloydb_v1/classes.rb', line 1924 def update!(**args) @ca_source = args[:ca_source] if args.key?(:ca_source) @ssl_mode = args[:ssl_mode] if args.key?(:ssl_mode) end |