Class: Google::Apis::MonitoringV3::UptimeCheckIp
- Inherits:
-
Object
- Object
- Google::Apis::MonitoringV3::UptimeCheckIp
- 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
Contains the region, location, and list of IP addresses where checkers in the location run from.
Instance Attribute Summary collapse
-
#ip_address ⇒ String
The IP address from which the Uptime check originates.
-
#location ⇒ String
A more specific location within the region that typically encodes a particular city/town/metro (and its containing state/province or country) within the broader umbrella region category.
-
#region ⇒ String
A broad region category in which the IP address is located.
Instance Method Summary collapse
-
#initialize(**args) ⇒ UptimeCheckIp
constructor
A new instance of UptimeCheckIp.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ UptimeCheckIp
Returns a new instance of UptimeCheckIp.
3756 3757 3758 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3756 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ip_address ⇒ String
The IP address from which the Uptime check originates. This is a fully
specified IP address (not an IP address range). Most IP addresses, as of this
publication, are in IPv4 format; however, one should not rely on the IP
addresses being in IPv4 format indefinitely, and should support interpreting
this field in either IPv4 or IPv6 format.
Corresponds to the JSON property ipAddress
3742 3743 3744 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3742 def ip_address @ip_address end |
#location ⇒ String
A more specific location within the region that typically encodes a particular
city/town/metro (and its containing state/province or country) within the
broader umbrella region category.
Corresponds to the JSON property location
3749 3750 3751 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3749 def location @location end |
#region ⇒ String
A broad region category in which the IP address is located.
Corresponds to the JSON property region
3754 3755 3756 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3754 def region @region end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
3761 3762 3763 3764 3765 |
# File 'generated/google/apis/monitoring_v3/classes.rb', line 3761 def update!(**args) @ip_address = args[:ip_address] if args.key?(:ip_address) @location = args[:location] if args.key?(:location) @region = args[:region] if args.key?(:region) end |