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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eMtlsProvider.MtlsEndpointUsagePolicy\u003c/code\u003e enum in the Google API Client Library for Java (GAX), with version 2.63.1 being the latest and version 2.50.0 being the current focused version.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsEndpointUsagePolicy\u003c/code\u003e enum defines the rules for using mutual TLS (mTLS) endpoints, offering \u003ccode\u003eNEVER\u003c/code\u003e (always use regular endpoint), \u003ccode\u003eALWAYS\u003c/code\u003e (always use mTLS endpoint), and \u003ccode\u003eAUTO\u003c/code\u003e (auto-switch to mTLS if client certificate exists).\u003c/p\u003e\n"],["\u003cp\u003eThe page lists historical versions of this documentation from 2.63.1 down to 2.7.1, each linking to its own page.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eMtlsEndpointUsagePolicy\u003c/code\u003e enum includes inherited members from the \u003ccode\u003eEnum\u003c/code\u003e and \u003ccode\u003eObject\u003c/code\u003e classes, which provide methods for comparison, equality, class information and object notification.\u003c/p\u003e\n"],["\u003cp\u003eThe enum has three static fields (\u003ccode\u003eALWAYS\u003c/code\u003e, \u003ccode\u003eAUTO\u003c/code\u003e, \u003ccode\u003eNEVER\u003c/code\u003e) and two static methods (\u003ccode\u003evalueOf(String name)\u003c/code\u003e and \u003ccode\u003evalues()\u003c/code\u003e), which are used to manage the MtlsEndpointUsagePolicy.\u003c/p\u003e\n"]]],[],null,[]]