Class: Google::Apis::AlertcenterV1beta1::PredefinedDetectorInfo

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/alertcenter_v1beta1/classes.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb,
lib/google/apis/alertcenter_v1beta1/representations.rb

Overview

Detector provided by Google.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PredefinedDetectorInfo

Returns a new instance of PredefinedDetectorInfo.



1635
1636
1637
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1635

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

Instance Attribute Details

#detector_nameString

Name that uniquely identifies the detector. Corresponds to the JSON property detectorName

Returns:

  • (String)


1633
1634
1635
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1633

def detector_name
  @detector_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1640
1641
1642
# File 'lib/google/apis/alertcenter_v1beta1/classes.rb', line 1640

def update!(**args)
  @detector_name = args[:detector_name] if args.key?(:detector_name)
end