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."],[[["This webpage provides documentation for the `com.google.api.pathtemplate` package, currently at version 2.31.1, with the latest version being 2.46.1."],["The package contains classes like `PathTemplate` and `TemplatedResourceName` for working with API path templates and resource names, including parsing and managing them within code."],["The `TemplatedResourceName.Resolver` interface facilitates custom resolution of resource names, providing a way to register with the main class."],["A `ValidationException` is included to handle validation issues related to path templates and configurations, offering a way to set a thread-local context for more descriptive error reporting."],["The documentation provides links to the GitHub repository and a full list of versioned releases, allowing for easy access to the source code and previous releases."]]],[]]