Class: Google::Apis::ComputeAlpha::ServerTlsSettings
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::ServerTlsSettings
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/compute_alpha/classes.rb,
lib/google/apis/compute_alpha/representations.rb,
lib/google/apis/compute_alpha/representations.rb
Overview
The TLS settings for the server.
Instance Attribute Summary collapse
-
#proxy_tls_context ⇒ Google::Apis::ComputeAlpha::TlsContext
[Deprecated] 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.
Constructor Details
#initialize(**args) ⇒ ServerTlsSettings
Returns a new instance of ServerTlsSettings.
42083 42084 42085 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42083 def initialize(**args) update!(**args) end |
Instance Attribute Details
#proxy_tls_context ⇒ Google::Apis::ComputeAlpha::TlsContext
[Deprecated] The TLS settings for the client or server. The TLS settings for
the client or server.
Corresponds to the JSON property proxyTlsContext
42066 42067 42068 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42066 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
42072 42073 42074 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42072 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
42081 42082 42083 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42081 def tls_mode @tls_mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
42088 42089 42090 42091 42092 |
# File 'lib/google/apis/compute_alpha/classes.rb', line 42088 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 |