Class: Google::Apis::MonitoringV3::PingConfig
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::PingConfig
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/monitoring_v3/classes.rb,
lib/google/apis/monitoring_v3/representations.rb,
lib/google/apis/monitoring_v3/representations.rb
Overview
Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain.
Instance Attribute Summary collapse
-
#pings_count ⇒ Fixnum
Number of ICMP pings.
Instance Method Summary collapse
-
#initialize(**args) ⇒ PingConfig
constructor
A new instance of PingConfig.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ PingConfig
Returns a new instance of PingConfig.
3697 3698 3699 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3697 def initialize(**args) update!(**args) end |
Instance Attribute Details
#pings_count ⇒ Fixnum
Number of ICMP pings. A maximum of 3 ICMP pings is currently supported.
Corresponds to the JSON property pingsCount
3695 3696 3697 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3695 def pings_count @pings_count end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3702 3703 3704 |
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3702 def update!(**args) @pings_count = args[:pings_count] if args.key?(:pings_count) end |