Class: Google::Apis::ComputeAlpha::MutualTls

Inherits:
Object
  • Object
show all
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

[Deprecated] Configuration for the mutual Tls mode for peer authentication. Configuration for the mutual Tls mode for peer authentication.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MutualTls

Returns a new instance of MutualTls.



23118
23119
23120
# File 'lib/google/apis/compute_alpha/classes.rb', line 23118

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

Instance Attribute Details

#modeString

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

Returns:

  • (String)


23116
23117
23118
# File 'lib/google/apis/compute_alpha/classes.rb', line 23116

def mode
  @mode
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



23123
23124
23125
# File 'lib/google/apis/compute_alpha/classes.rb', line 23123

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