@@ -184,8 +184,8 @@ public AlertPolicyServiceStub getStub() {
184
184
* }
185
185
* </code></pre>
186
186
*
187
- * @param name Required. The project whose alert policies are to be listed. The format is
188
- * <p>projects/[PROJECT_ID ]
187
+ * @param name Required. The project whose alert policies are to be listed. The format is:
188
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]
189
189
* <p>Note that this field names the parent container in which the alerting policies to be
190
190
* listed are stored. To retrieve a single alerting policy by name, use the
191
191
* [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] operation,
@@ -215,8 +215,8 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ProjectName name)
215
215
* }
216
216
* </code></pre>
217
217
*
218
- * @param name Required. The project whose alert policies are to be listed. The format is
219
- * <p>projects/[PROJECT_ID ]
218
+ * @param name Required. The project whose alert policies are to be listed. The format is:
219
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]
220
220
* <p>Note that this field names the parent container in which the alerting policies to be
221
221
* listed are stored. To retrieve a single alerting policy by name, use the
222
222
* [GetAlertPolicy][google.monitoring.v3.AlertPolicyService.GetAlertPolicy] operation,
@@ -323,8 +323,8 @@ public final ListAlertPoliciesPagedResponse listAlertPolicies(ListAlertPoliciesR
323
323
* }
324
324
* </code></pre>
325
325
*
326
- * @param name Required. The alerting policy to retrieve. The format is
327
- * <p>projects/[PROJECT_ID ]/alertPolicies/[ALERT_POLICY_ID]
326
+ * @param name Required. The alerting policy to retrieve. The format is:
327
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]/alertPolicies/[ALERT_POLICY_ID]
328
328
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
329
329
*/
330
330
public final AlertPolicy getAlertPolicy (AlertPolicyName name ) {
@@ -346,8 +346,8 @@ public final AlertPolicy getAlertPolicy(AlertPolicyName name) {
346
346
* }
347
347
* </code></pre>
348
348
*
349
- * @param name Required. The alerting policy to retrieve. The format is
350
- * <p>projects/[PROJECT_ID ]/alertPolicies/[ALERT_POLICY_ID]
349
+ * @param name Required. The alerting policy to retrieve. The format is:
350
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]/alertPolicies/[ALERT_POLICY_ID]
351
351
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
352
352
*/
353
353
public final AlertPolicy getAlertPolicy (String name ) {
@@ -414,15 +414,15 @@ public final UnaryCallable<GetAlertPolicyRequest, AlertPolicy> getAlertPolicyCal
414
414
* }
415
415
* </code></pre>
416
416
*
417
- * @param name Required. The project in which to create the alerting policy. The format is
418
- * ` projects/[PROJECT_ID]`.
417
+ * @param name Required. The project in which to create the alerting policy. The format is:
418
+ * <p> projects/[PROJECT_ID_OR_NUMBER]
419
419
* <p>Note that this field names the parent container in which the alerting policy will be
420
420
* written, not the name of the created policy. The alerting policy that is returned will have
421
421
* a name that contains a normalized representation of this name as a prefix but adds a suffix
422
- * of the form `/alertPolicies/[POLICY_ID ]`, identifying the policy in the container.
422
+ * of the form `/alertPolicies/[ALERT_POLICY_ID ]`, identifying the policy in the container.
423
423
* @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
424
- * this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
425
- * value.
424
+ * this policy. The name will be returned in the new policy, including a new
425
+ * `[ALERT_POLICY_ID]` value.
426
426
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
427
427
*/
428
428
public final AlertPolicy createAlertPolicy (ProjectName name , AlertPolicy alertPolicy ) {
@@ -448,15 +448,15 @@ public final AlertPolicy createAlertPolicy(ProjectName name, AlertPolicy alertPo
448
448
* }
449
449
* </code></pre>
450
450
*
451
- * @param name Required. The project in which to create the alerting policy. The format is
452
- * ` projects/[PROJECT_ID]`.
451
+ * @param name Required. The project in which to create the alerting policy. The format is:
452
+ * <p> projects/[PROJECT_ID_OR_NUMBER]
453
453
* <p>Note that this field names the parent container in which the alerting policy will be
454
454
* written, not the name of the created policy. The alerting policy that is returned will have
455
455
* a name that contains a normalized representation of this name as a prefix but adds a suffix
456
- * of the form `/alertPolicies/[POLICY_ID ]`, identifying the policy in the container.
456
+ * of the form `/alertPolicies/[ALERT_POLICY_ID ]`, identifying the policy in the container.
457
457
* @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
458
- * this policy. The name will be returned in the new policy, including a new [ALERT_POLICY_ID]
459
- * value.
458
+ * this policy. The name will be returned in the new policy, including a new
459
+ * `[ALERT_POLICY_ID]` value.
460
460
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
461
461
*/
462
462
public final AlertPolicy createAlertPolicy (String name , AlertPolicy alertPolicy ) {
@@ -528,7 +528,7 @@ public final UnaryCallable<CreateAlertPolicyRequest, AlertPolicy> createAlertPol
528
528
* </code></pre>
529
529
*
530
530
* @param name Required. The alerting policy to delete. The format is:
531
- * <p>projects/[PROJECT_ID ]/alertPolicies/[ALERT_POLICY_ID]
531
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]/alertPolicies/[ALERT_POLICY_ID]
532
532
* <p>For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
533
533
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
534
534
*/
@@ -554,7 +554,7 @@ public final void deleteAlertPolicy(AlertPolicyName name) {
554
554
* </code></pre>
555
555
*
556
556
* @param name Required. The alerting policy to delete. The format is:
557
- * <p>projects/[PROJECT_ID ]/alertPolicies/[ALERT_POLICY_ID]
557
+ * <p>projects/[PROJECT_ID_OR_NUMBER ]/alertPolicies/[ALERT_POLICY_ID]
558
558
* <p>For more information, see [AlertPolicy][google.monitoring.v3.AlertPolicy].
559
559
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
560
560
*/
0 commit comments