Package com.google.api.gax.rpc.mtls (2.69.0)

GitHub Repository

Classes

Class Description
com.google.api.gax.rpc.mtls.CertificateBasedAccess Utility class for handling certificate-based access configurations.

This class handles the processing of GOOGLE_API_USE_CLIENT_CERTIFICATE and GOOGLE_API_USE_MTLS_ENDPOINT environment variables according to https://google.aip.dev/auth/4114

com.google.api.gax.rpc.mtls.ContextAwareMetadataJson Data class representing context_aware_metadata.json file.

This class is deprecated. It has been replaced by com.google.auth.mtls.ContextAwareMetadataJson from the Java auth library.

com.google.api.gax.rpc.mtls.MtlsProvider Provider class for mutual TLS. It is used to configure the mutual TLS in the transport with the default client certificate on device.

This class is deprecated. It has been replaced by com.google.auth.mtls.SecureConnectProvider

Enums

Enum Description
com.google.api.gax.rpc.mtls.CertificateBasedAccess.MtlsEndpointUsagePolicy The policy for mutual TLS endpoint usage. NEVER means always use regular endpoint; ALWAYS means always use mTLS endpoint; AUTO means auto switch to mTLS endpoint if client certificate exists and should be used.
com.google.api.gax.rpc.mtls.MtlsProvider.MtlsEndpointUsagePolicy The policy for mutual TLS endpoint usage. NEVER means always use regular endpoint; ALWAYS means always use mTLS endpoint; AUTO means auto switch to mTLS endpoint if client certificate exists and should be used.