class Google::Apis::MonitoringV3::UptimeCheckIp

Contains the region, location, and list of IP addresses where checkers in the location run from.

Attributes

ip_address[RW]

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` @return [String]

location[RW]

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` @return [String]

region[RW]

A broad region category in which the IP address is located. Corresponds to the JSON property ‘region` @return [String]

Public Class Methods

new(**args) click to toggle source
# File lib/google/apis/monitoring_v3/classes.rb, line 4663
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 4668
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