gapic-generator/lib/gapic/path_pattern/segment.rb
##
# The pattern with the resource name
# (e.g. `foo` in `{foo=bar/*}`) stripped.
# So `{foo=bar/*}` -> `bar/*`.
#
# Not implemented for multivariate segments
# (e.g `{foo}~{bar}`).
#
# @return [String]
The pattern with the resource name
stripped.

Not implemented for multivariate segments
.
The pattern with the resource name stripped . Not implemented for multivariate segments .
def simplified_pattern
        if resource_patterns.count > 1
          raise "Not implemented for multivariate ResourceId segments"
        end
        resource_patterns[0]
      end
def simplified_pattern if resource_patterns . count > 1 raise "Not implemented for multivariate ResourceId segments" end resource_patterns [ 0 ] end
The pattern with the resource name
(e.g.
The pattern with the resource name ( e . g .
None
String