@@ -152,17 +152,6 @@ public MetricsServiceV2Stub getStub() {
152
152
/**
153
153
* Lists logs-based metrics.
154
154
*
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
- *
166
155
* @param parent Required. The name of the project containing the metrics:
167
156
* <p>"projects/[PROJECT_ID]"
168
157
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -179,17 +168,6 @@ public final ListLogMetricsPagedResponse listLogMetrics(ProjectName parent) {
179
168
/**
180
169
* Lists logs-based metrics.
181
170
*
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
- *
193
171
* @param parent Required. The name of the project containing the metrics:
194
172
* <p>"projects/[PROJECT_ID]"
195
173
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
@@ -261,7 +239,7 @@ public final ListLogMetricsPagedResponse listLogMetrics(ListLogMetricsRequest re
261
239
* }
262
240
* }</pre>
263
241
*
264
- * @param metricName Required. The resource name of the desired metric:
242
+ * @param metric_name Required. The resource name of the desired metric:
265
243
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
266
244
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
267
245
*/
@@ -286,7 +264,7 @@ public final LogMetric getLogMetric(LogMetricName metricName) {
286
264
* }
287
265
* }</pre>
288
266
*
289
- * @param metricName Required. The resource name of the desired metric:
267
+ * @param metric_name Required. The resource name of the desired metric:
290
268
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
291
269
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
292
270
*/
@@ -409,7 +387,7 @@ public final UnaryCallable<CreateLogMetricRequest, LogMetric> createLogMetricCal
409
387
* }
410
388
* }</pre>
411
389
*
412
- * @param metricName Required. The resource name of the metric to update:
390
+ * @param metric_name Required. The resource name of the metric to update:
413
391
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
414
392
* <p>The updated metric must be provided in the request and it's `name` field must be the
415
393
* same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is
@@ -440,7 +418,7 @@ public final LogMetric updateLogMetric(LogMetricName metricName, LogMetric metri
440
418
* }
441
419
* }</pre>
442
420
*
443
- * @param metricName Required. The resource name of the metric to update:
421
+ * @param metric_name Required. The resource name of the metric to update:
444
422
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
445
423
* <p>The updated metric must be provided in the request and it's `name` field must be the
446
424
* same as `[METRIC_ID]` If the metric does not exist in `[PROJECT_ID]`, then a new metric is
@@ -488,7 +466,7 @@ public final UnaryCallable<UpdateLogMetricRequest, LogMetric> updateLogMetricCal
488
466
* }
489
467
* }</pre>
490
468
*
491
- * @param metricName Required. The resource name of the metric to delete:
469
+ * @param metric_name Required. The resource name of the metric to delete:
492
470
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
493
471
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
494
472
*/
@@ -513,7 +491,7 @@ public final void deleteLogMetric(LogMetricName metricName) {
513
491
* }
514
492
* }</pre>
515
493
*
516
- * @param metricName Required. The resource name of the metric to delete:
494
+ * @param metric_name Required. The resource name of the metric to delete:
517
495
* <p>"projects/[PROJECT_ID]/metrics/[METRIC_ID]"
518
496
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
519
497
*/
0 commit comments