Class: Google::Apis::ComputeAlpha::MutualTls
- Inherits:
-
Object
- Object
- Google::Apis::ComputeAlpha::MutualTls
- Defined in:
- generated/google/apis/compute_alpha/classes.rb,
generated/google/apis/compute_alpha/representations.rb,
generated/google/apis/compute_alpha/representations.rb
Overview
Configuration for the mutual Tls mode for peer authentication.
Instance Attribute Summary collapse
-
#mode ⇒ String
Specifies if the server TLS is configured to be strict or permissive.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MutualTls
constructor
A new instance of MutualTls.
-
#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) ⇒ MutualTls
Returns a new instance of MutualTls.
18620 18621 18622 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18620 def initialize(**args) update!(**args) end |
Instance Attribute Details
#mode ⇒ String
Specifies if the server TLS is configured to be strict or permissive. This
field can be set to one of the following: STRICT: Client certificate must be
presented, connection is in TLS. PERMISSIVE: Client certificate can be omitted,
connection can be either plaintext or TLS.
Corresponds to the JSON property mode
18618 18619 18620 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18618 def mode @mode end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
18625 18626 18627 |
# File 'generated/google/apis/compute_alpha/classes.rb', line 18625 def update!(**args) @mode = args[:mode] if args.key?(:mode) end |