@classmethod
    def _fetch(cls, client, metric_type):
        path = '/projects/{project}/metricDescriptors/{type}'.format(
            project=client.project,
            type=metric_type)
        info = client.connection.api_request(method='GET', path=path)
        return cls._from_dict(info)
Look up a metric descriptor by type.
dataset/ETHPy150Open GoogleCloudPlatform/gcloud-python/gcloud/monitoring/metric.py/MetricDescriptor._fetch