Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
- 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) ⇒ GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlertPolicyConfigAlertEnrollment.
7330 7331 7332 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7330 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ String
Immutable. The id of an alert.
Corresponds to the JSON property alertId
7323 7324 7325 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7323 def alert_id @alert_id end |
#enroll_state ⇒ String
Required. The enrollment status of a customer.
Corresponds to the JSON property enrollState
7328 7329 7330 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7328 def enroll_state @enroll_state end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7335 7336 7337 7338 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7335 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @enroll_state = args[:enroll_state] if args.key?(:enroll_state) end |