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.



1366
1367
1368
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1366

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



1364
1365
1366
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1364

def client_validation_ca
  @client_validation_ca
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1371
1372
1373
# File 'lib/google/apis/networksecurity_v1beta1/classes.rb', line 1371

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