Class: Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicy
- Inherits:
-
Object
- Object
- Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicy
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/retail_v2beta/classes.rb,
lib/google/apis/retail_v2beta/representations.rb,
lib/google/apis/retail_v2beta/representations.rb
Overview
Alert policy for a customer.
Instance Attribute Summary collapse
-
#alert_group ⇒ String
The feature that provides alerting capability.
-
#enroll_status ⇒ String
The enrollment status of a customer.
-
#recipients ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient>
Recipients for the alert policy.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudRetailV2betaAlertConfigAlertPolicy
constructor
A new instance of GoogleCloudRetailV2betaAlertConfigAlertPolicy.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudRetailV2betaAlertConfigAlertPolicy
Returns a new instance of GoogleCloudRetailV2betaAlertConfigAlertPolicy.
2686 2687 2688 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2686 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_group ⇒ String
The feature that provides alerting capability. Supported value: - search-data-
quality
for retail search customers. - conv-data-quality
for retail
conversation customers.
Corresponds to the JSON property alertGroup
2673 2674 2675 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2673 def alert_group @alert_group end |
#enroll_status ⇒ String
The enrollment status of a customer.
Corresponds to the JSON property enrollStatus
2678 2679 2680 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2678 def enroll_status @enroll_status end |
#recipients ⇒ Array<Google::Apis::RetailV2beta::GoogleCloudRetailV2betaAlertConfigAlertPolicyRecipient>
Recipients for the alert policy. One alert policy should not exceed 20
recipients.
Corresponds to the JSON property recipients
2684 2685 2686 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2684 def recipients @recipients end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2691 2692 2693 2694 2695 |
# File 'lib/google/apis/retail_v2beta/classes.rb', line 2691 def update!(**args) @alert_group = args[:alert_group] if args.key?(:alert_group) @enroll_status = args[:enroll_status] if args.key?(:enroll_status) @recipients = args[:recipients] if args.key?(:recipients) end |