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

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

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ PredefinedDetectorInfo

Returns a new instance of PredefinedDetectorInfo.



1159
1160
1161
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1159

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)


1157
1158
1159
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1157

def detector_name
  @detector_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1164
1165
1166
# File 'generated/google/apis/alertcenter_v1beta1/classes.rb', line 1164

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