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-07-02 UTC."],[[["The latest version available for the `com.google.api.pathtemplate` package is 2.46.1, while the current page's version is 2.24.0."],["This package offers classes such as `PathTemplate` to represent path templates that use API platform syntax and `TemplatedResourceName` for working with resource names and variables."],["The package includes the `TemplatedResourceName.Resolver` interface, allowing for the registration of resource name resolvers."],["The package includes `ValidationException`, an exception thrown when there are validation issues with a path template or HTTP configuration, which also enables setting a thread-local validation context description."]]],[]]