pub fn path_value(
field: &str,
value: &str,
pattern: &str,
) -> Result<String, Error>Expand description
value as the path segments of a request, checking it has the form
pattern, such as projects/*/zones/*/volumes/*, gives it. field
names it in the error. The generated clients call it.