Class: Google::Apis::MonitoringV3::TcpCheck
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::TcpCheck
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/monitoring_v3/classes.rb,
generated/google/apis/monitoring_v3/representations.rb,
generated/google/apis/monitoring_v3/representations.rb
Overview
Information required for a TCP uptime check request.
Instance Attribute Summary collapse
-
#port ⇒ Fixnum
The port to the page to run the check against.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TcpCheck
constructor
A new instance of TcpCheck.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ TcpCheck
Returns a new instance of TcpCheck
2335 2336 2337 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2335 def initialize(**args) update!(**args) end |
Instance Attribute Details
#port ⇒ Fixnum
The port to the page to run the check against. Will be combined with host (
specified within the MonitoredResource) to construct the full URL. Required.
Corresponds to the JSON property port
2333 2334 2335 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2333 def port @port end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
2340 2341 2342 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 2340 def update!(**args) @port = args[:port] if args.key?(:port) end |