Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb
Overview
The alert enrollment status.
Instance Attribute Summary collapse
-
#alert_id ⇒ String
Immutable.
-
#enroll_state ⇒ String
Required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
constructor
A new instance of GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment
Returns a new instance of GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment.
979 980 981 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 979 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ String
Immutable. The id of an alert.
Corresponds to the JSON property alertId
972 973 974 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 972 def alert_id @alert_id end |
#enroll_state ⇒ String
Required. The enrollment status of a customer.
Corresponds to the JSON property enrollState
977 978 979 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 977 def enroll_state @enroll_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
984 985 986 987 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 984 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @enroll_state = args[:enroll_state] if args.key?(:enroll_state) end |