Class: Google::Apis::NetworksecurityV1beta1::MtlsPolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1beta1/classes.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb,
lib/google/apis/networksecurity_v1beta1/representations.rb

Overview

Specification of the MTLSPolicy.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ MtlsPolicy

Returns a new instance of MtlsPolicy.



907
908
909
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 907

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

Instance Attribute Details

#client_validation_caArray<Google::Apis::NetworksecurityV1beta1::ValidationCa>

Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate. Corresponds to the JSON property clientValidationCa



905
906
907
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 905

def client_validation_ca
  @client_validation_ca
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



912
913
914
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 912

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