Network Security V1 API - Class Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy (v0.1.0)

Reference documentation and code samples for the Network Security V1 API class Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy.

Specification of the MTLSPolicy.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#client_validation_ca

def client_validation_ca() -> ::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>
Returns
  • (::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>) — Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.

    Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

#client_validation_ca=

def client_validation_ca=(value) -> ::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>
Parameter
  • value (::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>) — Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.

    Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

Returns
  • (::Array<::Google::Cloud::NetworkSecurity::V1::ValidationCA>) — Required if the policy is to be used with Traffic Director. For Application Load Balancers it must be empty.

    Defines the mechanism to obtain the Certificate Authority certificate to validate the client certificate.

#client_validation_mode

def client_validation_mode() -> ::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy::ClientValidationMode
Returns

#client_validation_mode=

def client_validation_mode=(value) -> ::Google::Cloud::NetworkSecurity::V1::ServerTlsPolicy::MTLSPolicy::ClientValidationMode
Parameter
Returns

#client_validation_trust_config

def client_validation_trust_config() -> ::String
Returns
  • (::String) — Reference to the TrustConfig from certificatemanager.googleapis.com namespace.

    If specified, the chain validation will be performed against certificates configured in the given TrustConfig.

    Allowed only if the policy is to be used with Application Load Balancers.

#client_validation_trust_config=

def client_validation_trust_config=(value) -> ::String
Parameter
  • value (::String) — Reference to the TrustConfig from certificatemanager.googleapis.com namespace.

    If specified, the chain validation will be performed against certificates configured in the given TrustConfig.

    Allowed only if the policy is to be used with Application Load Balancers.

Returns
  • (::String) — Reference to the TrustConfig from certificatemanager.googleapis.com namespace.

    If specified, the chain validation will be performed against certificates configured in the given TrustConfig.

    Allowed only if the policy is to be used with Application Load Balancers.