Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfig
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfig
- 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 connector level alert config.
Instance Attribute Summary collapse
-
#alert_enrollments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment>
Optional.
-
#alert_policy_name ⇒ String
Immutable.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AlertPolicyConfig
constructor
A new instance of GoogleCloudDiscoveryengineV1AlertPolicyConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1AlertPolicyConfig
Returns a new instance of GoogleCloudDiscoveryengineV1AlertPolicyConfig.
954 955 956 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 954 def initialize(**args) update!(**args) end |
Instance Attribute Details
#alert_enrollments ⇒ Array<Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1AlertPolicyConfigAlertEnrollment>
Optional. The enrollment states of each alert.
Corresponds to the JSON property alertEnrollments
947 948 949 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 947 def alert_enrollments @alert_enrollments end |
#alert_policy_name ⇒ String
Immutable. The fully qualified resource name of the AlertPolicy.
Corresponds to the JSON property alertPolicyName
952 953 954 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 952 def alert_policy_name @alert_policy_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
959 960 961 962 |
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 959 def update!(**args) @alert_enrollments = args[:alert_enrollments] if args.key?(:alert_enrollments) @alert_policy_name = args[:alert_policy_name] if args.key?(:alert_policy_name) end |