Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
- 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.
-
#notification_params ⇒ Hash<String,String>
Optional.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment
Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment.
7327 7328 7329 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7327 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_id ⇒ String
Immutable. The id of an alert.
Corresponds to the JSON property alertId
7313 7314 7315 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7313 def alert_id @alert_id end |
#enroll_state ⇒ String
Required. The enrollment status of a customer.
Corresponds to the JSON property enrollState
7318 7319 7320 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7318 def enroll_state @enroll_state end |
#notification_params ⇒ Hash<String,String>
Optional. Parameters used to instantiate a notification. Used for
notifications that are triggered when registered. Not stored. * Gemini
Business welcome emails. * Gemini Business user invitation emails.
Corresponds to the JSON property notificationParams
7325 7326 7327 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7325 def notification_params @notification_params end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7332 7333 7334 7335 7336 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7332 def update!(**args) @alert_id = args[:alert_id] if args.key?(:alert_id) @enroll_state = args[:enroll_state] if args.key?(:enroll_state) @notification_params = args[:notification_params] if args.key?(:notification_params) end |