def METHOD_NAME(value, params):
  """Summarizes ResourcePath as if segments_ were a single string,
  slash-delimited string like `"users/foo"`.
  """
  segments = value.GetChildMemberWithName('segments_')
  segment_text = [get_string(child) for child in segments]
  return format_string('/'.join(segment_text))