code: public final ListLogMetricsPagedResponse listLogMetrics(String parent) {
      ListLogMetricsRequest request = ListLogMetricsRequest.newBuilder().setParent(parent).build();
      return listLogMetrics(request);
    }
docs: Lists logs-based metrics.
  
  <p>Sample code:
  
  <pre><code>
  try (MetricsClient metricsClient = MetricsClient.create()) {
  ParentName parent = ProjectName.of("[PROJECT]");
  for (LogMetric element : metricsClient.listLogMetrics(parent.toString()).iterateAll()) {
  // doThingsWith(element);
  }
  }
  </code></pre>
  
  @param parent Required. The name of the project containing the metrics:
  <p>"projects/[PROJECT_ID]"
  @throws com.google.api.gax.rpc.ApiException if the remote call fails