class Google::Apis::MonitoringV3::TcpCheck
Information required for a TCP Uptime check request.
Attributes
ping_config[RW]
Information involved in sending ICMP pings alongside public HTTP/TCP checks. For HTTP, the pings are performed for each part of the redirect chain. Corresponds to the JSON property `pingConfig` @return [Google::Apis::MonitoringV3::PingConfig]
port[RW]
The TCP port on the server against which to run the check. Will be combined with host (specified within the monitored_resource) to construct the full URL. Required. Corresponds to the JSON property `port` @return [Fixnum]
Public Class Methods
new(**args)
click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 4096 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File lib/google/apis/monitoring_v3/classes.rb, line 4101 def update!(**args) @ping_config = args[:ping_config] if args.key?(:ping_config) @port = args[:port] if args.key?(:port) end