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
18class Google_Service_Monitoring_UptimeCheckConfig extends Google_Collection
19{
20  protected $collection_key = 'selectedRegions';
21  protected $contentMatchersType = 'Google_Service_Monitoring_ContentMatcher';
22  protected $contentMatchersDataType = 'array';
23  public $displayName;
24  protected $httpCheckType = 'Google_Service_Monitoring_HttpCheck';
25  protected $httpCheckDataType = '';
26  protected $internalCheckersType = 'Google_Service_Monitoring_InternalChecker';
27  protected $internalCheckersDataType = 'array';
28  public $isInternal;
29  protected $monitoredResourceType = 'Google_Service_Monitoring_MonitoredResource';
30  protected $monitoredResourceDataType = '';
31  public $name;
32  public $period;
33  protected $resourceGroupType = 'Google_Service_Monitoring_ResourceGroup';
34  protected $resourceGroupDataType = '';
35  public $selectedRegions;
36  protected $tcpCheckType = 'Google_Service_Monitoring_TcpCheck';
37  protected $tcpCheckDataType = '';
38  public $timeout;
39
40  /**
41   * @param Google_Service_Monitoring_ContentMatcher[]
42   */
43  public function setContentMatchers($contentMatchers)
44  {
45    $this->contentMatchers = $contentMatchers;
46  }
47  /**
48   * @return Google_Service_Monitoring_ContentMatcher[]
49   */
50  public function getContentMatchers()
51  {
52    return $this->contentMatchers;
53  }
54  public function setDisplayName($displayName)
55  {
56    $this->displayName = $displayName;
57  }
58  public function getDisplayName()
59  {
60    return $this->displayName;
61  }
62  /**
63   * @param Google_Service_Monitoring_HttpCheck
64   */
65  public function setHttpCheck(Google_Service_Monitoring_HttpCheck $httpCheck)
66  {
67    $this->httpCheck = $httpCheck;
68  }
69  /**
70   * @return Google_Service_Monitoring_HttpCheck
71   */
72  public function getHttpCheck()
73  {
74    return $this->httpCheck;
75  }
76  /**
77   * @param Google_Service_Monitoring_InternalChecker[]
78   */
79  public function setInternalCheckers($internalCheckers)
80  {
81    $this->internalCheckers = $internalCheckers;
82  }
83  /**
84   * @return Google_Service_Monitoring_InternalChecker[]
85   */
86  public function getInternalCheckers()
87  {
88    return $this->internalCheckers;
89  }
90  public function setIsInternal($isInternal)
91  {
92    $this->isInternal = $isInternal;
93  }
94  public function getIsInternal()
95  {
96    return $this->isInternal;
97  }
98  /**
99   * @param Google_Service_Monitoring_MonitoredResource
100   */
101  public function setMonitoredResource(Google_Service_Monitoring_MonitoredResource $monitoredResource)
102  {
103    $this->monitoredResource = $monitoredResource;
104  }
105  /**
106   * @return Google_Service_Monitoring_MonitoredResource
107   */
108  public function getMonitoredResource()
109  {
110    return $this->monitoredResource;
111  }
112  public function setName($name)
113  {
114    $this->name = $name;
115  }
116  public function getName()
117  {
118    return $this->name;
119  }
120  public function setPeriod($period)
121  {
122    $this->period = $period;
123  }
124  public function getPeriod()
125  {
126    return $this->period;
127  }
128  /**
129   * @param Google_Service_Monitoring_ResourceGroup
130   */
131  public function setResourceGroup(Google_Service_Monitoring_ResourceGroup $resourceGroup)
132  {
133    $this->resourceGroup = $resourceGroup;
134  }
135  /**
136   * @return Google_Service_Monitoring_ResourceGroup
137   */
138  public function getResourceGroup()
139  {
140    return $this->resourceGroup;
141  }
142  public function setSelectedRegions($selectedRegions)
143  {
144    $this->selectedRegions = $selectedRegions;
145  }
146  public function getSelectedRegions()
147  {
148    return $this->selectedRegions;
149  }
150  /**
151   * @param Google_Service_Monitoring_TcpCheck
152   */
153  public function setTcpCheck(Google_Service_Monitoring_TcpCheck $tcpCheck)
154  {
155    $this->tcpCheck = $tcpCheck;
156  }
157  /**
158   * @return Google_Service_Monitoring_TcpCheck
159   */
160  public function getTcpCheck()
161  {
162    return $this->tcpCheck;
163  }
164  public function setTimeout($timeout)
165  {
166    $this->timeout = $timeout;
167  }
168  public function getTimeout()
169  {
170    return $this->timeout;
171  }
172}
173