Class: Google::Apis::MonitoringV3::ListUptimeCheckIpsResponse

Inherits:
Object
  • Object
show all
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

The protocol for the ListUptimeCheckIps response.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ListUptimeCheckIpsResponse

Returns a new instance of ListUptimeCheckIpsResponse



1615
1616
1617
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1615

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#next_page_tokenString

This field represents the pagination token to retrieve the next page of results. If the value is empty, it means no further results for the request. To retrieve the next page of results, the value of the next_page_token is passed to the subsequent List method call (in the request message's page_token field). NOTE: this field is not yet implemented Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1607
1608
1609
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1607

def next_page_token
  @next_page_token
end

#uptime_check_ipsArray<Google::Apis::MonitoringV3::UptimeCheckIp>

The returned list of IP addresses (including region and location) that the checkers run from. Corresponds to the JSON property uptimeCheckIps



1613
1614
1615
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1613

def uptime_check_ips
  @uptime_check_ips
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1620
1621
1622
1623
# File 'generated/google/apis/monitoring_v3/classes.rb', line 1620

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @uptime_check_ips = args[:uptime_check_ips] if args.key?(:uptime_check_ips)
end