1<?php 2/* 3 * Copyright 2014 Google Inc. 4 * 5 * Licensed under the Apache License, Version 2.0 (the "License"); you may not 6 * use this file except in compliance with the License. You may obtain a copy of 7 * the License at 8 * 9 * http://www.apache.org/licenses/LICENSE-2.0 10 * 11 * Unless required by applicable law or agreed to in writing, software 12 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT 13 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the 14 * License for the specific language governing permissions and limitations under 15 * the License. 16 */ 17 18namespace Google\Service\Monitoring\Resource; 19 20use Google\Service\Monitoring\ListUptimeCheckIpsResponse; 21 22/** 23 * The "uptimeCheckIps" collection of methods. 24 * Typical usage is: 25 * <code> 26 * $monitoringService = new Google\Service\Monitoring(...); 27 * $uptimeCheckIps = $monitoringService->uptimeCheckIps; 28 * </code> 29 */ 30class UptimeCheckIps extends \Google\Service\Resource 31{ 32 /** 33 * Returns the list of IP addresses that checkers run from 34 * (uptimeCheckIps.listUptimeCheckIps) 35 * 36 * @param array $optParams Optional parameters. 37 * 38 * @opt_param int pageSize The maximum number of results to return in a single 39 * response. The server may further constrain the maximum number of results 40 * returned in a single page. If the page_size is <=0, the server will decide 41 * the number of results to be returned. NOTE: this field is not yet implemented 42 * @opt_param string pageToken If this field is not empty then it must contain 43 * the nextPageToken value returned by a previous call to this method. Using 44 * this field causes the method to return more results from the previous method 45 * call. NOTE: this field is not yet implemented 46 * @return ListUptimeCheckIpsResponse 47 */ 48 public function listUptimeCheckIps($optParams = []) 49 { 50 $params = []; 51 $params = array_merge($params, $optParams); 52 return $this->call('list', [$params], ListUptimeCheckIpsResponse::class); 53 } 54} 55 56// Adding a class alias for backwards compatibility with the previous class name. 57class_alias(UptimeCheckIps::class, 'Google_Service_Monitoring_Resource_UptimeCheckIps'); 58