code: public final LogMetric getLogMetric(String metricName) {
  
      GetLogMetricRequest request =
          GetLogMetricRequest.newBuilder().setMetricName(metricName).build();
      return getLogMetric(request);
    }
docs: Gets a logs-based metric.
  
  <p>Sample code:
  
  <pre><code>
  try (MetricsClient metricsClient = MetricsClient.create()) {
  MetricName metricName = ProjectMetricName.of("[PROJECT]", "[METRIC]");
  LogMetric response = metricsClient.getLogMetric(metricName.toString());
  }
  </code></pre>
  
  @param metricName The resource name of the desired metric:
  <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
  @throws com.google.api.gax.rpc.ApiException if the remote call fails