Templates use the syntax of the API platform; see the protobuf of HttpRule for details. A
template consists of a sequence of literals, wildcards, and variable bindings, where each binding
Class for representing and working with resource names.
A resource name is represented by PathTemplate, an assignment to variables in the
template, and an optional endpoint. The ResourceName class implements the map interface
Exception thrown if there is a validation problem with a path template, http config, or related
framework methods. Comes as an illegal argument exception subclass. Allows to globally set a
thread-local validation context description which each exception inherits.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-15 UTC."],[[["\u003cp\u003eThe latest version of the \u003ccode\u003ecom.google.api.pathtemplate\u003c/code\u003e package is 2.46.1, and it's accessible through the provided link.\u003c/p\u003e\n"],["\u003cp\u003eThis package includes classes such as \u003ccode\u003ePathTemplate\u003c/code\u003e which represents a path template using API platform syntax, and \u003ccode\u003eTemplatedResourceName\u003c/code\u003e, which represents resource names with variables, and an optional endpoint.\u003c/p\u003e\n"],["\u003cp\u003eThere are interfaces within the package, including \u003ccode\u003eTemplatedResourceName.Resolver\u003c/code\u003e, used for resource name resolution, and \u003ccode\u003eValidationException.Supplier\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe package defines \u003ccode\u003eValidationException\u003c/code\u003e, which is thrown when there are validation issues with a path template or related components, and it inherits from an illegal argument exception subclass.\u003c/p\u003e\n"],["\u003cp\u003eThe GitHub repository for the \u003ccode\u003ecom.google.api.pathtemplate\u003c/code\u003e is available at \u003ccode\u003ehttps://github.com/googleapis/sdk-platform-java/tree/main/api-common-java/api-common/src/main/java/com/google/api/pathtemplate\u003c/code\u003e.\u003c/p\u003e\n"]]],[],null,[]]