Class: Google::Apis::ComputeAlpha::ServerTlsSettings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServerTlsSettings
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
The TLS settings for the server.
Instance Attribute Summary collapse
-
#proxy_tls_context ⇒ Google::Apis::ComputeAlpha::TlsContext
The TLS settings for the client or server.
-
#subject_alt_names ⇒ Array<String>
A list of alternate names to verify the subject identity in the certificate presented by the client.
-
#tls_mode ⇒ String
Indicates whether connections should be secured using TLS.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ServerTlsSettings
constructor
A new instance of ServerTlsSettings.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ ServerTlsSettings
Returns a new instance of ServerTlsSettings.
30841 30842 30843 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 30841 def initialize(**args) update!(**args) end |
Instance Attribute Details
#proxy_tls_context ⇒ Google::Apis::ComputeAlpha::TlsContext
The TLS settings for the client or server.
Corresponds to the JSON property proxyTlsContext
30823 30824 30825 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 30823 def proxy_tls_context @proxy_tls_context end |
#subject_alt_names ⇒ Array<String>
A list of alternate names to verify the subject identity in the certificate
presented by the client.
Corresponds to the JSON property subjectAltNames
30829 30830 30831 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 30829 def subject_alt_names @subject_alt_names end |
#tls_mode ⇒ String
Indicates whether connections should be secured using TLS. The value of this field determines how TLS is enforced. This field can be set to one of the following:
- SIMPLE Secure connections with standard TLS semantics.
- MUTUAL Secure connections to the backends using mutual TLS by presenting
client certificates for authentication.
Corresponds to the JSON property
tlsMode
30839 30840 30841 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 30839 def tls_mode @tls_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
30846 30847 30848 30849 30850 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 30846 def update!(**args) @proxy_tls_context = args[:proxy_tls_context] if args.key?(:proxy_tls_context) @subject_alt_names = args[:subject_alt_names] if args.key?(:subject_alt_names) @tls_mode = args[:tls_mode] if args.key?(:tls_mode) end |