class Google::Apis::MonitoringV3::TcpCheck

Information required for a TCP Uptime check request.

Attributes

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 3719
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 3724
def update!(**args)
  @port = args[:port] if args.key?(:port)
end