Class: Google::Apis::MonitoringV3::PingConfig

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

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ PingConfig

Returns a new instance of PingConfig.



3810
3811
3812
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3810

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

Instance Attribute Details

#pings_countFixnum

Number of ICMP pings. A maximum of 3 ICMP pings is currently supported. Corresponds to the JSON property pingsCount

Returns:

  • (Fixnum)


3808
3809
3810
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3808

def pings_count
  @pings_count
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



3815
3816
3817
# File 'lib/google/apis/monitoring_v3/classes.rb', line 3815

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