@classmethod
def match_sink_from_sink_name(cls, sink_name):
    """Parses the sink from a sink resource.

        Args:
          sink_name (string): A fully-qualified path representing a sink
            resource.

        Returns:
          A string representing the sink.
        """
    return cls._SINK_PATH_TEMPLATE.match(sink_name).get('sink')
