Class: Google::Apis::AlertcenterV1beta1::PredefinedDetectorInfo
- Inherits:
-
Object
- Object
- Google::Apis::AlertcenterV1beta1::PredefinedDetectorInfo
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/alertcenter_v1beta1/classes.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb,
generated/google/apis/alertcenter_v1beta1/representations.rb
Overview
Detector provided by Google.
Instance Attribute Summary collapse
-
#detector_name ⇒ String
Name that uniquely identifies the detector.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PredefinedDetectorInfo
constructor
A new instance of PredefinedDetectorInfo.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PredefinedDetectorInfo
Returns a new instance of PredefinedDetectorInfo.
1131 1132 1133 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1131 def initialize(**args) update!(**args) end |
Instance Attribute Details
#detector_name ⇒ String
Name that uniquely identifies the detector.
Corresponds to the JSON property detectorName
1129 1130 1131 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1129 def detector_name @detector_name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1136 1137 1138 |
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1136 def update!(**args) @detector_name = args[:detector_name] if args.key?(:detector_name) end |