code: def metric_path(cls, project, metric):
          
          return google.api_core.path_template.expand(
              "projects/{project}/metrics/{metric}", project=project, metric=metric
          )
docs: Return a fully-qualified metric string.