@@ -152,17 +152,6 @@ public MetricsServiceV2Stub getStub() {
152152 /**
153153 * Lists logs-based metrics.
154154 *
155- * <p>Sample code:
156- *
157- * <pre>{@code
158- * try (MetricsClient metricsClient = MetricsClient.create()) {
159- * ProjectName parent = ProjectName.of("[PROJECT]");
160- * for (LogMetric element : metricsClient.listLogMetrics(parent).iterateAll()) {
161- * // doThingsWith(element);
162- * }
163- * }
164- * }</pre>
165- *
166155 * @param parent Required. The name of the project containing the metrics:
167156 * <p>"projects/[PROJECT_ID]"
168157 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -179,17 +168,6 @@ public final ListLogMetricsPagedResponse listLogMetrics(ProjectName parent) {
179168 /**
180169 * Lists logs-based metrics.
181170 *
182- * <p>Sample code:
183- *
184- * <pre>{@code
185- * try (MetricsClient metricsClient = MetricsClient.create()) {
186- * String parent = ProjectName.of("[PROJECT]").toString();
187- * for (LogMetric element : metricsClient.listLogMetrics(parent).iterateAll()) {
188- * // doThingsWith(element);
189- * }
190- * }
191- * }</pre>
192- *
193171 * @param parent Required. The name of the project containing the metrics:
194172 * <p>"projects/[PROJECT_ID]"
195173 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -245,7 +223,7 @@ public final ListLogMetricsPagedResponse listLogMetrics(ListLogMetricsRequest re
245223 * }
246224 * }</pre>
247225 *
248- * @param metricName Required. The resource name of the desired metric:
226+ * @param metric_name Required. The resource name of the desired metric:
249227 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
250228 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
251229 */
@@ -270,7 +248,7 @@ public final LogMetric getLogMetric(LogMetricName metricName) {
270248 * }
271249 * }</pre>
272250 *
273- * @param metricName Required. The resource name of the desired metric:
251+ * @param metric_name Required. The resource name of the desired metric:
274252 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
275253 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
276254 */
@@ -393,7 +371,7 @@ public final UnaryCallable<CreateLogMetricRequest, LogMetric> createLogMetricCal
393371 * }
394372 * }</pre>
395373 *
396- * @param metricName Required. The resource name of the metric to update:
374+ * @param metric_name Required. The resource name of the metric to update:
397375 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
398376 * <p>The updated metric must be provided in the request and it's `name` field must be the
399377 * same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is
@@ -424,7 +402,7 @@ public final LogMetric updateLogMetric(LogMetricName metricName, LogMetric metri
424402 * }
425403 * }</pre>
426404 *
427- * @param metricName Required. The resource name of the metric to update:
405+ * @param metric_name Required. The resource name of the metric to update:
428406 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
429407 * <p>The updated metric must be provided in the request and it's `name` field must be the
430408 * same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is
@@ -472,7 +450,7 @@ public final UnaryCallable<UpdateLogMetricRequest, LogMetric> updateLogMetricCal
472450 * }
473451 * }</pre>
474452 *
475- * @param metricName Required. The resource name of the metric to delete:
453+ * @param metric_name Required. The resource name of the metric to delete:
476454 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
477455 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
478456 */
@@ -497,7 +475,7 @@ public final void deleteLogMetric(LogMetricName metricName) {
497475 * }
498476 * }</pre>
499477 *
500- * @param metricName Required. The resource name of the metric to delete:
478+ * @param metric_name Required. The resource name of the metric to delete:
501479 * <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
502480 * @throws com.google.api.gax.rpc.ApiException if the remote call fails
503481 */
0 commit comments