|
48 | 48 | // AUTO-GENERATED DOCUMENTATION AND CLASS.
|
49 | 49 | /**
|
50 | 50 | * Service Description: The AlertPolicyService API is used to manage (list, create, delete, edit)
|
51 |
| - * alert policies in Stackdriver Monitoring. An alerting policy is a description of the conditions |
52 |
| - * under which some aspect of your system is considered to be "unhealthy" and the ways to notify |
53 |
| - * people or services about this state. In addition to using this API, alert policies can also be |
54 |
| - * managed through [Stackdriver Monitoring](https://cloud.google.com/monitoring/docs/), which can be |
55 |
| - * reached by clicking the "Monitoring" tab in [Cloud Console](https://console.cloud.google.com/). |
| 51 | + * alert policies in Cloud Monitoring. An alerting policy is a description of the conditions under |
| 52 | + * which some aspect of your system is considered to be "unhealthy" and the ways to notify people or |
| 53 | + * services about this state. In addition to using this API, alert policies can also be managed |
| 54 | + * through [Cloud Monitoring](https://cloud.google.com/monitoring/docs/), which can be reached by |
| 55 | + * clicking the "Monitoring" tab in [Cloud console](https://console.cloud.google.com/). |
56 | 56 | *
|
57 | 57 | * <p>This class provides the ability to make remote calls to the backing service through method
|
58 | 58 | * calls that map to API methods. Sample code to get started:
|
@@ -530,10 +530,10 @@ public final UnaryCallable<GetAlertPolicyRequest, AlertPolicy> getAlertPolicyCal
|
530 | 530 | * which to create the alerting policy. The format is:
|
531 | 531 | * <p>projects/[PROJECT_ID_OR_NUMBER]
|
532 | 532 | * <p>Note that this field names the parent container in which the alerting policy will be
|
533 |
| - * written, not the name of the created policy. |name| must be a host project of a workspace, |
534 |
| - * otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will |
535 |
| - * have a name that contains a normalized representation of this name as a prefix but adds a |
536 |
| - * suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
| 533 | + * written, not the name of the created policy. |name| must be a host project of a Metrics |
| 534 | + * Scope, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned |
| 535 | + * will have a name that contains a normalized representation of this name as a prefix but |
| 536 | + * adds a suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
537 | 537 | * container.
|
538 | 538 | * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
|
539 | 539 | * this policy. The name will be returned in the new policy, including a new
|
@@ -569,10 +569,10 @@ public final AlertPolicy createAlertPolicy(ResourceName name, AlertPolicy alertP
|
569 | 569 | * which to create the alerting policy. The format is:
|
570 | 570 | * <p>projects/[PROJECT_ID_OR_NUMBER]
|
571 | 571 | * <p>Note that this field names the parent container in which the alerting policy will be
|
572 |
| - * written, not the name of the created policy. |name| must be a host project of a workspace, |
573 |
| - * otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will |
574 |
| - * have a name that contains a normalized representation of this name as a prefix but adds a |
575 |
| - * suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
| 572 | + * written, not the name of the created policy. |name| must be a host project of a Metrics |
| 573 | + * Scope, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned |
| 574 | + * will have a name that contains a normalized representation of this name as a prefix but |
| 575 | + * adds a suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
576 | 576 | * container.
|
577 | 577 | * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
|
578 | 578 | * this policy. The name will be returned in the new policy, including a new
|
@@ -608,10 +608,10 @@ public final AlertPolicy createAlertPolicy(OrganizationName name, AlertPolicy al
|
608 | 608 | * which to create the alerting policy. The format is:
|
609 | 609 | * <p>projects/[PROJECT_ID_OR_NUMBER]
|
610 | 610 | * <p>Note that this field names the parent container in which the alerting policy will be
|
611 |
| - * written, not the name of the created policy. |name| must be a host project of a workspace, |
612 |
| - * otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will |
613 |
| - * have a name that contains a normalized representation of this name as a prefix but adds a |
614 |
| - * suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
| 611 | + * written, not the name of the created policy. |name| must be a host project of a Metrics |
| 612 | + * Scope, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned |
| 613 | + * will have a name that contains a normalized representation of this name as a prefix but |
| 614 | + * adds a suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
615 | 615 | * container.
|
616 | 616 | * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
|
617 | 617 | * this policy. The name will be returned in the new policy, including a new
|
@@ -647,10 +647,10 @@ public final AlertPolicy createAlertPolicy(ProjectName name, AlertPolicy alertPo
|
647 | 647 | * which to create the alerting policy. The format is:
|
648 | 648 | * <p>projects/[PROJECT_ID_OR_NUMBER]
|
649 | 649 | * <p>Note that this field names the parent container in which the alerting policy will be
|
650 |
| - * written, not the name of the created policy. |name| must be a host project of a workspace, |
651 |
| - * otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned will |
652 |
| - * have a name that contains a normalized representation of this name as a prefix but adds a |
653 |
| - * suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
| 650 | + * written, not the name of the created policy. |name| must be a host project of a Metrics |
| 651 | + * Scope, otherwise INVALID_ARGUMENT error will return. The alerting policy that is returned |
| 652 | + * will have a name that contains a normalized representation of this name as a prefix but |
| 653 | + * adds a suffix of the form `/alertPolicies/[ALERT_POLICY_ID]`, identifying the policy in the |
654 | 654 | * container.
|
655 | 655 | * @param alertPolicy Required. The requested alerting policy. You should omit the `name` field in
|
656 | 656 | * this policy. The name will be returned in the new policy, including a new
|
|
0 commit comments