Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlertPolicyResourceConfigAlertEnrollment.



7337
7338
7339
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7337

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#alert_idString

Immutable. The id of an alert. Corresponds to the JSON property alertId

Returns:

  • (String)


7323
7324
7325
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7323

def alert_id
  @alert_id
end

#enroll_stateString

Required. The enrollment status of a customer. Corresponds to the JSON property enrollState

Returns:

  • (String)


7328
7329
7330
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7328

def enroll_state
  @enroll_state
end

#notification_paramsHash<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

Returns:

  • (Hash<String,String>)


7335
7336
7337
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7335

def notification_params
  @notification_params
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7342
7343
7344
7345
7346
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7342

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