Class: Google::Apis::NetworksecurityV1::MtlsPolicy
- Inherits:
-
Object
- Object
- Google::Apis::NetworksecurityV1::MtlsPolicy
- 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
-
#client_validation_ca ⇒ Array<Google::Apis::NetworksecurityV1::ValidationCa>
Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.
Instance Method Summary collapse
-
#initialize(**args) ⇒ MtlsPolicy
constructor
A new instance of MtlsPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
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_ca ⇒ Array<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 |