Class: Google::Apis::NetworksecurityV1::MtlsPolicy

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/networksecurity_v1/classes.rb,
lib/google/apis/networksecurity_v1/representations.rb,
lib/google/apis/networksecurity_v1/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.



898
899
900
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 898

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

Instance Attribute Details

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

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



896
897
898
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 896

def client_validation_ca
  @client_validation_ca
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



903
904
905
# File 'lib/google/apis/networksecurity_v1/classes.rb', line 903

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