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"]],[["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-04-17 UTC."],[[["This webpage details the `com.google.api.pathtemplate` package, with the latest version being 2.46.1 and the currently displayed version being 2.22.0."],["The package's GitHub repository is accessible via a provided link, which allows users to view the source code."],["The `PathTemplate` class within this package represents path templates and utilizes the syntax of the API platform for specifying literals, wildcards, and variable bindings."],["The `TemplatedResourceName` class facilitates the handling of resource names by using a `PathTemplate`, variable assignments, and an optional endpoint."],["The package also includes `ValidationException` for path template-related issues, along with an interface for custom resource name resolution via `TemplatedResourceName.Resolver`."]]],[]]