| 1 |
<?php |
| 2 |
/* |
| 3 |
* Copyright 2010 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 |
|
| 18 |
/** |
| 19 |
* Service definition for Cloudmonitoring (v2beta1). |
| 20 |
* |
| 21 |
* <p> |
| 22 |
* API for accessing Google Cloud and API monitoring data. |
| 23 |
* </p> |
| 24 |
* |
| 25 |
* <p> |
| 26 |
* For more information about this service, see the API |
| 27 |
* <a href="https://developers.google.com/cloud/eap/cloud-monitoring/v2beta1/" target="_blank">Documentation</a> |
| 28 |
* </p> |
| 29 |
* |
| 30 |
* @author Google, Inc. |
| 31 |
*/ |
| 32 |
class Analytify_Google_Service_Cloudmonitoring extends Analytify_Google_Service |
| 33 |
{ |
| 34 |
/** View monitoring data for all of your Google Cloud and API projects. */ |
| 35 |
const MONITORING_READONLY = "https://www.googleapis.com/auth/monitoring.readonly"; |
| 36 |
|
| 37 |
public $metricDescriptors; |
| 38 |
public $timeseries; |
| 39 |
public $timeseriesDescriptors; |
| 40 |
|
| 41 |
|
| 42 |
/** |
| 43 |
* Constructs the internal representation of the Cloudmonitoring service. |
| 44 |
* |
| 45 |
* @param Analytify_Google_Client $client |
| 46 |
*/ |
| 47 |
public function __construct(Analytify_Google_Client $client) |
| 48 |
{ |
| 49 |
parent::__construct($client); |
| 50 |
$this->servicePath = 'cloudmonitoring/v2beta1/projects/'; |
| 51 |
$this->version = 'v2beta1'; |
| 52 |
$this->serviceName = 'cloudmonitoring'; |
| 53 |
|
| 54 |
$this->metricDescriptors = new Analytify_Google_Service_Cloudmonitoring_MetricDescriptors_Resource( |
| 55 |
$this, |
| 56 |
$this->serviceName, |
| 57 |
'metricDescriptors', |
| 58 |
array( |
| 59 |
'methods' => array( |
| 60 |
'list' => array( |
| 61 |
'path' => '{project}/metricDescriptors', |
| 62 |
'httpMethod' => 'GET', |
| 63 |
'parameters' => array( |
| 64 |
'project' => array( |
| 65 |
'location' => 'path', |
| 66 |
'type' => 'string', |
| 67 |
'required' => true, |
| 68 |
), |
| 69 |
'count' => array( |
| 70 |
'location' => 'query', |
| 71 |
'type' => 'integer', |
| 72 |
), |
| 73 |
'pageToken' => array( |
| 74 |
'location' => 'query', |
| 75 |
'type' => 'string', |
| 76 |
), |
| 77 |
'query' => array( |
| 78 |
'location' => 'query', |
| 79 |
'type' => 'string', |
| 80 |
), |
| 81 |
), |
| 82 |
), |
| 83 |
) |
| 84 |
) |
| 85 |
); |
| 86 |
$this->timeseries = new Analytify_Google_Service_Cloudmonitoring_Timeseries_Resource( |
| 87 |
$this, |
| 88 |
$this->serviceName, |
| 89 |
'timeseries', |
| 90 |
array( |
| 91 |
'methods' => array( |
| 92 |
'list' => array( |
| 93 |
'path' => '{project}/timeseries/{metric}', |
| 94 |
'httpMethod' => 'GET', |
| 95 |
'parameters' => array( |
| 96 |
'project' => array( |
| 97 |
'location' => 'path', |
| 98 |
'type' => 'string', |
| 99 |
'required' => true, |
| 100 |
), |
| 101 |
'metric' => array( |
| 102 |
'location' => 'path', |
| 103 |
'type' => 'string', |
| 104 |
'required' => true, |
| 105 |
), |
| 106 |
'youngest' => array( |
| 107 |
'location' => 'query', |
| 108 |
'type' => 'string', |
| 109 |
'required' => true, |
| 110 |
), |
| 111 |
'count' => array( |
| 112 |
'location' => 'query', |
| 113 |
'type' => 'integer', |
| 114 |
), |
| 115 |
'timespan' => array( |
| 116 |
'location' => 'query', |
| 117 |
'type' => 'string', |
| 118 |
), |
| 119 |
'labels' => array( |
| 120 |
'location' => 'query', |
| 121 |
'type' => 'string', |
| 122 |
'repeated' => true, |
| 123 |
), |
| 124 |
'pageToken' => array( |
| 125 |
'location' => 'query', |
| 126 |
'type' => 'string', |
| 127 |
), |
| 128 |
'oldest' => array( |
| 129 |
'location' => 'query', |
| 130 |
'type' => 'string', |
| 131 |
), |
| 132 |
), |
| 133 |
), |
| 134 |
) |
| 135 |
) |
| 136 |
); |
| 137 |
$this->timeseriesDescriptors = new Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource( |
| 138 |
$this, |
| 139 |
$this->serviceName, |
| 140 |
'timeseriesDescriptors', |
| 141 |
array( |
| 142 |
'methods' => array( |
| 143 |
'list' => array( |
| 144 |
'path' => '{project}/timeseriesDescriptors/{metric}', |
| 145 |
'httpMethod' => 'GET', |
| 146 |
'parameters' => array( |
| 147 |
'project' => array( |
| 148 |
'location' => 'path', |
| 149 |
'type' => 'string', |
| 150 |
'required' => true, |
| 151 |
), |
| 152 |
'metric' => array( |
| 153 |
'location' => 'path', |
| 154 |
'type' => 'string', |
| 155 |
'required' => true, |
| 156 |
), |
| 157 |
'youngest' => array( |
| 158 |
'location' => 'query', |
| 159 |
'type' => 'string', |
| 160 |
'required' => true, |
| 161 |
), |
| 162 |
'count' => array( |
| 163 |
'location' => 'query', |
| 164 |
'type' => 'integer', |
| 165 |
), |
| 166 |
'timespan' => array( |
| 167 |
'location' => 'query', |
| 168 |
'type' => 'string', |
| 169 |
), |
| 170 |
'labels' => array( |
| 171 |
'location' => 'query', |
| 172 |
'type' => 'string', |
| 173 |
'repeated' => true, |
| 174 |
), |
| 175 |
'pageToken' => array( |
| 176 |
'location' => 'query', |
| 177 |
'type' => 'string', |
| 178 |
), |
| 179 |
'oldest' => array( |
| 180 |
'location' => 'query', |
| 181 |
'type' => 'string', |
| 182 |
), |
| 183 |
), |
| 184 |
), |
| 185 |
) |
| 186 |
) |
| 187 |
); |
| 188 |
} |
| 189 |
} |
| 190 |
|
| 191 |
|
| 192 |
/** |
| 193 |
* The "metricDescriptors" collection of methods. |
| 194 |
* Typical usage is: |
| 195 |
* <code> |
| 196 |
* $cloudmonitoringService = new Analytify_Google_Service_Cloudmonitoring(...); |
| 197 |
* $metricDescriptors = $cloudmonitoringService->metricDescriptors; |
| 198 |
* </code> |
| 199 |
*/ |
| 200 |
class Analytify_Google_Service_Cloudmonitoring_MetricDescriptors_Resource extends Analytify_Google_Service_Resource |
| 201 |
{ |
| 202 |
|
| 203 |
/** |
| 204 |
* List metric descriptors that match the query. If the query is not set, then |
| 205 |
* all of the metric descriptors will be returned. Large responses will be |
| 206 |
* paginated, use the nextPageToken returned in the response to request |
| 207 |
* subsequent pages of results by setting the pageToken query parameter to the |
| 208 |
* value of the nextPageToken. (metricDescriptors.listMetricDescriptors) |
| 209 |
* |
| 210 |
* @param string $project |
| 211 |
* The project id. The value can be the numeric project ID or string-based project name. |
| 212 |
* @param array $optParams Optional parameters. |
| 213 |
* |
| 214 |
* @opt_param int count |
| 215 |
* Maximum number of metric descriptors per page. Used for pagination. If not specified, count = |
| 216 |
* 100. |
| 217 |
* @opt_param string pageToken |
| 218 |
* The pagination token, which is used to page through large result sets. Set this value to the |
| 219 |
* value of the nextPageToken to retrieve the next page of results. |
| 220 |
* @opt_param string query |
| 221 |
* The query used to search against existing metrics. Separate keywords with a space; the service |
| 222 |
* joins all keywords with AND, meaning that all keywords must match for a metric to be returned. |
| 223 |
* If this field is omitted, all metrics are returned. If an empty string is passed with this |
| 224 |
* field, no metrics are returned. |
| 225 |
* @return Analytify_Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse |
| 226 |
*/ |
| 227 |
public function listMetricDescriptors($project, $optParams = array()) |
| 228 |
{ |
| 229 |
$params = array('project' => $project); |
| 230 |
$params = array_merge($params, $optParams); |
| 231 |
return $this->call('list', array($params), "Analytify_Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse"); |
| 232 |
} |
| 233 |
} |
| 234 |
|
| 235 |
/** |
| 236 |
* The "timeseries" collection of methods. |
| 237 |
* Typical usage is: |
| 238 |
* <code> |
| 239 |
* $cloudmonitoringService = new Analytify_Google_Service_Cloudmonitoring(...); |
| 240 |
* $timeseries = $cloudmonitoringService->timeseries; |
| 241 |
* </code> |
| 242 |
*/ |
| 243 |
class Analytify_Google_Service_Cloudmonitoring_Timeseries_Resource extends Analytify_Google_Service_Resource |
| 244 |
{ |
| 245 |
|
| 246 |
/** |
| 247 |
* List the data points of the time series that match the metric and labels |
| 248 |
* values and that have data points in the interval. Large responses are |
| 249 |
* paginated; use the nextPageToken returned in the response to request |
| 250 |
* subsequent pages of results by setting the pageToken query parameter to the |
| 251 |
* value of the nextPageToken. (timeseries.listTimeseries) |
| 252 |
* |
| 253 |
* @param string $project |
| 254 |
* The project ID to which this time series belongs. The value can be the numeric project ID or |
| 255 |
* string-based project name. |
| 256 |
* @param string $metric |
| 257 |
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, |
| 258 |
* compute.googleapis.com/instance/disk/read_ops_count. |
| 259 |
* @param string $youngest |
| 260 |
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. |
| 261 |
* @param array $optParams Optional parameters. |
| 262 |
* |
| 263 |
* @opt_param int count |
| 264 |
* Maximum number of data points per page, which is used for pagination of results. |
| 265 |
* @opt_param string timespan |
| 266 |
* Length of the time interval to query, which is an alternative way to declare the interval: |
| 267 |
* (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together. |
| 268 |
* Units: |
| 269 |
- s: second |
| 270 |
- m: minute |
| 271 |
- h: hour |
| 272 |
- d: day |
| 273 |
- w: week Examples: 2s, 3m, 4w. Only |
| 274 |
* one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. |
| 275 |
If neither |
| 276 |
* oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, |
| 277 |
* youngest]. |
| 278 |
* @opt_param string labels |
| 279 |
* A collection of labels for the matching time series, which are represented as: |
| 280 |
- key==value: |
| 281 |
* key equals the value |
| 282 |
- key=~value: key regex matches the value |
| 283 |
- key!=value: key does not |
| 284 |
* equal the value |
| 285 |
- key!~value: key regex does not match the value For example, to list all of |
| 286 |
* the time series descriptors for the region us-central1, you could specify: |
| 287 |
* label=cloud.googleapis.com%2Flocation=~us-central1.* |
| 288 |
* @opt_param string pageToken |
| 289 |
* The pagination token, which is used to page through large result sets. Set this value to the |
| 290 |
* value of the nextPageToken to retrieve the next page of results. |
| 291 |
* @opt_param string oldest |
| 292 |
* Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither |
| 293 |
* oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, |
| 294 |
* youngest] |
| 295 |
* @return Analytify_Google_Service_Cloudmonitoring_ListTimeseriesResponse |
| 296 |
*/ |
| 297 |
public function listTimeseries($project, $metric, $youngest, $optParams = array()) |
| 298 |
{ |
| 299 |
$params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); |
| 300 |
$params = array_merge($params, $optParams); |
| 301 |
return $this->call('list', array($params), "Analytify_Google_Service_Cloudmonitoring_ListTimeseriesResponse"); |
| 302 |
} |
| 303 |
} |
| 304 |
|
| 305 |
/** |
| 306 |
* The "timeseriesDescriptors" collection of methods. |
| 307 |
* Typical usage is: |
| 308 |
* <code> |
| 309 |
* $cloudmonitoringService = new Analytify_Google_Service_Cloudmonitoring(...); |
| 310 |
* $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors; |
| 311 |
* </code> |
| 312 |
*/ |
| 313 |
class Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptors_Resource extends Analytify_Google_Service_Resource |
| 314 |
{ |
| 315 |
|
| 316 |
/** |
| 317 |
* List the descriptors of the time series that match the metric and labels |
| 318 |
* values and that have data points in the interval. Large responses are |
| 319 |
* paginated; use the nextPageToken returned in the response to request |
| 320 |
* subsequent pages of results by setting the pageToken query parameter to the |
| 321 |
* value of the nextPageToken. (timeseriesDescriptors.listTimeseriesDescriptors) |
| 322 |
* |
| 323 |
* @param string $project |
| 324 |
* The project ID to which this time series belongs. The value can be the numeric project ID or |
| 325 |
* string-based project name. |
| 326 |
* @param string $metric |
| 327 |
* Metric names are protocol-free URLs as listed in the Supported Metrics page. For example, |
| 328 |
* compute.googleapis.com/instance/disk/read_ops_count. |
| 329 |
* @param string $youngest |
| 330 |
* End of the time interval (inclusive), which is expressed as an RFC 3339 timestamp. |
| 331 |
* @param array $optParams Optional parameters. |
| 332 |
* |
| 333 |
* @opt_param int count |
| 334 |
* Maximum number of time series descriptors per page. Used for pagination. If not specified, count |
| 335 |
* = 100. |
| 336 |
* @opt_param string timespan |
| 337 |
* Length of the time interval to query, which is an alternative way to declare the interval: |
| 338 |
* (youngest - timespan, youngest]. The timespan and oldest parameters should not be used together. |
| 339 |
* Units: |
| 340 |
- s: second |
| 341 |
- m: minute |
| 342 |
- h: hour |
| 343 |
- d: day |
| 344 |
- w: week Examples: 2s, 3m, 4w. Only |
| 345 |
* one unit is allowed, for example: 2w3d is not allowed; you should use 17d instead. |
| 346 |
If neither |
| 347 |
* oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, |
| 348 |
* youngest]. |
| 349 |
* @opt_param string labels |
| 350 |
* A collection of labels for the matching time series, which are represented as: |
| 351 |
- key==value: |
| 352 |
* key equals the value |
| 353 |
- key=~value: key regex matches the value |
| 354 |
- key!=value: key does not |
| 355 |
* equal the value |
| 356 |
- key!~value: key regex does not match the value For example, to list all of |
| 357 |
* the time series descriptors for the region us-central1, you could specify: |
| 358 |
* label=cloud.googleapis.com%2Flocation=~us-central1.* |
| 359 |
* @opt_param string pageToken |
| 360 |
* The pagination token, which is used to page through large result sets. Set this value to the |
| 361 |
* value of the nextPageToken to retrieve the next page of results. |
| 362 |
* @opt_param string oldest |
| 363 |
* Start of the time interval (exclusive), which is expressed as an RFC 3339 timestamp. If neither |
| 364 |
* oldest nor timespan is specified, the default time interval will be (youngest - 4 hours, |
| 365 |
* youngest] |
| 366 |
* @return Analytify_Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse |
| 367 |
*/ |
| 368 |
public function listTimeseriesDescriptors($project, $metric, $youngest, $optParams = array()) |
| 369 |
{ |
| 370 |
$params = array('project' => $project, 'metric' => $metric, 'youngest' => $youngest); |
| 371 |
$params = array_merge($params, $optParams); |
| 372 |
return $this->call('list', array($params), "Analytify_Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse"); |
| 373 |
} |
| 374 |
} |
| 375 |
|
| 376 |
|
| 377 |
|
| 378 |
|
| 379 |
class Analytify_Google_Service_Cloudmonitoring_ListMetricDescriptorsRequest extends Analytify_Google_Model |
| 380 |
{ |
| 381 |
public $kind; |
| 382 |
|
| 383 |
public function setKind($kind) |
| 384 |
{ |
| 385 |
$this->kind = $kind; |
| 386 |
} |
| 387 |
|
| 388 |
public function getKind() |
| 389 |
{ |
| 390 |
return $this->kind; |
| 391 |
} |
| 392 |
} |
| 393 |
|
| 394 |
class Analytify_Google_Service_Cloudmonitoring_ListMetricDescriptorsResponse extends Analytify_Google_Collection |
| 395 |
{ |
| 396 |
public $kind; |
| 397 |
protected $metricsType = 'Analytify_Google_Service_Cloudmonitoring_MetricDescriptor'; |
| 398 |
protected $metricsDataType = 'array'; |
| 399 |
public $nextPageToken; |
| 400 |
|
| 401 |
public function setKind($kind) |
| 402 |
{ |
| 403 |
$this->kind = $kind; |
| 404 |
} |
| 405 |
|
| 406 |
public function getKind() |
| 407 |
{ |
| 408 |
return $this->kind; |
| 409 |
} |
| 410 |
|
| 411 |
public function setMetrics($metrics) |
| 412 |
{ |
| 413 |
$this->metrics = $metrics; |
| 414 |
} |
| 415 |
|
| 416 |
public function getMetrics() |
| 417 |
{ |
| 418 |
return $this->metrics; |
| 419 |
} |
| 420 |
|
| 421 |
public function setNextPageToken($nextPageToken) |
| 422 |
{ |
| 423 |
$this->nextPageToken = $nextPageToken; |
| 424 |
} |
| 425 |
|
| 426 |
public function getNextPageToken() |
| 427 |
{ |
| 428 |
return $this->nextPageToken; |
| 429 |
} |
| 430 |
} |
| 431 |
|
| 432 |
class Analytify_Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsRequest extends Analytify_Google_Model |
| 433 |
{ |
| 434 |
public $kind; |
| 435 |
|
| 436 |
public function setKind($kind) |
| 437 |
{ |
| 438 |
$this->kind = $kind; |
| 439 |
} |
| 440 |
|
| 441 |
public function getKind() |
| 442 |
{ |
| 443 |
return $this->kind; |
| 444 |
} |
| 445 |
} |
| 446 |
|
| 447 |
class Analytify_Google_Service_Cloudmonitoring_ListTimeseriesDescriptorsResponse extends Analytify_Google_Collection |
| 448 |
{ |
| 449 |
public $kind; |
| 450 |
public $nextPageToken; |
| 451 |
public $oldest; |
| 452 |
protected $timeseriesType = 'Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptor'; |
| 453 |
protected $timeseriesDataType = 'array'; |
| 454 |
public $youngest; |
| 455 |
|
| 456 |
public function setKind($kind) |
| 457 |
{ |
| 458 |
$this->kind = $kind; |
| 459 |
} |
| 460 |
|
| 461 |
public function getKind() |
| 462 |
{ |
| 463 |
return $this->kind; |
| 464 |
} |
| 465 |
|
| 466 |
public function setNextPageToken($nextPageToken) |
| 467 |
{ |
| 468 |
$this->nextPageToken = $nextPageToken; |
| 469 |
} |
| 470 |
|
| 471 |
public function getNextPageToken() |
| 472 |
{ |
| 473 |
return $this->nextPageToken; |
| 474 |
} |
| 475 |
|
| 476 |
public function setOldest($oldest) |
| 477 |
{ |
| 478 |
$this->oldest = $oldest; |
| 479 |
} |
| 480 |
|
| 481 |
public function getOldest() |
| 482 |
{ |
| 483 |
return $this->oldest; |
| 484 |
} |
| 485 |
|
| 486 |
public function setTimeseries($timeseries) |
| 487 |
{ |
| 488 |
$this->timeseries = $timeseries; |
| 489 |
} |
| 490 |
|
| 491 |
public function getTimeseries() |
| 492 |
{ |
| 493 |
return $this->timeseries; |
| 494 |
} |
| 495 |
|
| 496 |
public function setYoungest($youngest) |
| 497 |
{ |
| 498 |
$this->youngest = $youngest; |
| 499 |
} |
| 500 |
|
| 501 |
public function getYoungest() |
| 502 |
{ |
| 503 |
return $this->youngest; |
| 504 |
} |
| 505 |
} |
| 506 |
|
| 507 |
class Analytify_Google_Service_Cloudmonitoring_ListTimeseriesRequest extends Analytify_Google_Model |
| 508 |
{ |
| 509 |
public $kind; |
| 510 |
|
| 511 |
public function setKind($kind) |
| 512 |
{ |
| 513 |
$this->kind = $kind; |
| 514 |
} |
| 515 |
|
| 516 |
public function getKind() |
| 517 |
{ |
| 518 |
return $this->kind; |
| 519 |
} |
| 520 |
} |
| 521 |
|
| 522 |
class Analytify_Google_Service_Cloudmonitoring_ListTimeseriesResponse extends Analytify_Google_Collection |
| 523 |
{ |
| 524 |
public $kind; |
| 525 |
public $nextPageToken; |
| 526 |
public $oldest; |
| 527 |
protected $timeseriesType = 'Analytify_Google_Service_Cloudmonitoring_Timeseries'; |
| 528 |
protected $timeseriesDataType = 'array'; |
| 529 |
public $youngest; |
| 530 |
|
| 531 |
public function setKind($kind) |
| 532 |
{ |
| 533 |
$this->kind = $kind; |
| 534 |
} |
| 535 |
|
| 536 |
public function getKind() |
| 537 |
{ |
| 538 |
return $this->kind; |
| 539 |
} |
| 540 |
|
| 541 |
public function setNextPageToken($nextPageToken) |
| 542 |
{ |
| 543 |
$this->nextPageToken = $nextPageToken; |
| 544 |
} |
| 545 |
|
| 546 |
public function getNextPageToken() |
| 547 |
{ |
| 548 |
return $this->nextPageToken; |
| 549 |
} |
| 550 |
|
| 551 |
public function setOldest($oldest) |
| 552 |
{ |
| 553 |
$this->oldest = $oldest; |
| 554 |
} |
| 555 |
|
| 556 |
public function getOldest() |
| 557 |
{ |
| 558 |
return $this->oldest; |
| 559 |
} |
| 560 |
|
| 561 |
public function setTimeseries($timeseries) |
| 562 |
{ |
| 563 |
$this->timeseries = $timeseries; |
| 564 |
} |
| 565 |
|
| 566 |
public function getTimeseries() |
| 567 |
{ |
| 568 |
return $this->timeseries; |
| 569 |
} |
| 570 |
|
| 571 |
public function setYoungest($youngest) |
| 572 |
{ |
| 573 |
$this->youngest = $youngest; |
| 574 |
} |
| 575 |
|
| 576 |
public function getYoungest() |
| 577 |
{ |
| 578 |
return $this->youngest; |
| 579 |
} |
| 580 |
} |
| 581 |
|
| 582 |
class Analytify_Google_Service_Cloudmonitoring_MetricDescriptor extends Analytify_Google_Collection |
| 583 |
{ |
| 584 |
public $description; |
| 585 |
protected $labelsType = 'Analytify_Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor'; |
| 586 |
protected $labelsDataType = 'array'; |
| 587 |
public $name; |
| 588 |
public $project; |
| 589 |
protected $typeDescriptorType = 'Analytify_Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor'; |
| 590 |
protected $typeDescriptorDataType = ''; |
| 591 |
|
| 592 |
public function setDescription($description) |
| 593 |
{ |
| 594 |
$this->description = $description; |
| 595 |
} |
| 596 |
|
| 597 |
public function getDescription() |
| 598 |
{ |
| 599 |
return $this->description; |
| 600 |
} |
| 601 |
|
| 602 |
public function setLabels($labels) |
| 603 |
{ |
| 604 |
$this->labels = $labels; |
| 605 |
} |
| 606 |
|
| 607 |
public function getLabels() |
| 608 |
{ |
| 609 |
return $this->labels; |
| 610 |
} |
| 611 |
|
| 612 |
public function setName($name) |
| 613 |
{ |
| 614 |
$this->name = $name; |
| 615 |
} |
| 616 |
|
| 617 |
public function getName() |
| 618 |
{ |
| 619 |
return $this->name; |
| 620 |
} |
| 621 |
|
| 622 |
public function setProject($project) |
| 623 |
{ |
| 624 |
$this->project = $project; |
| 625 |
} |
| 626 |
|
| 627 |
public function getProject() |
| 628 |
{ |
| 629 |
return $this->project; |
| 630 |
} |
| 631 |
|
| 632 |
public function setTypeDescriptor(Analytify_Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor $typeDescriptor) |
| 633 |
{ |
| 634 |
$this->typeDescriptor = $typeDescriptor; |
| 635 |
} |
| 636 |
|
| 637 |
public function getTypeDescriptor() |
| 638 |
{ |
| 639 |
return $this->typeDescriptor; |
| 640 |
} |
| 641 |
} |
| 642 |
|
| 643 |
class Analytify_Google_Service_Cloudmonitoring_MetricDescriptorLabelDescriptor extends Analytify_Google_Model |
| 644 |
{ |
| 645 |
public $description; |
| 646 |
public $key; |
| 647 |
|
| 648 |
public function setDescription($description) |
| 649 |
{ |
| 650 |
$this->description = $description; |
| 651 |
} |
| 652 |
|
| 653 |
public function getDescription() |
| 654 |
{ |
| 655 |
return $this->description; |
| 656 |
} |
| 657 |
|
| 658 |
public function setKey($key) |
| 659 |
{ |
| 660 |
$this->key = $key; |
| 661 |
} |
| 662 |
|
| 663 |
public function getKey() |
| 664 |
{ |
| 665 |
return $this->key; |
| 666 |
} |
| 667 |
} |
| 668 |
|
| 669 |
class Analytify_Google_Service_Cloudmonitoring_MetricDescriptorTypeDescriptor extends Analytify_Google_Model |
| 670 |
{ |
| 671 |
public $metricType; |
| 672 |
public $valueType; |
| 673 |
|
| 674 |
public function setMetricType($metricType) |
| 675 |
{ |
| 676 |
$this->metricType = $metricType; |
| 677 |
} |
| 678 |
|
| 679 |
public function getMetricType() |
| 680 |
{ |
| 681 |
return $this->metricType; |
| 682 |
} |
| 683 |
|
| 684 |
public function setValueType($valueType) |
| 685 |
{ |
| 686 |
$this->valueType = $valueType; |
| 687 |
} |
| 688 |
|
| 689 |
public function getValueType() |
| 690 |
{ |
| 691 |
return $this->valueType; |
| 692 |
} |
| 693 |
} |
| 694 |
|
| 695 |
class Analytify_Google_Service_Cloudmonitoring_Point extends Analytify_Google_Model |
| 696 |
{ |
| 697 |
public $boolValue; |
| 698 |
protected $distributionValueType = 'Analytify_Google_Service_Cloudmonitoring_PointDistribution'; |
| 699 |
protected $distributionValueDataType = ''; |
| 700 |
public $doubleValue; |
| 701 |
public $end; |
| 702 |
public $int64Value; |
| 703 |
public $start; |
| 704 |
public $stringValue; |
| 705 |
|
| 706 |
public function setBoolValue($boolValue) |
| 707 |
{ |
| 708 |
$this->boolValue = $boolValue; |
| 709 |
} |
| 710 |
|
| 711 |
public function getBoolValue() |
| 712 |
{ |
| 713 |
return $this->boolValue; |
| 714 |
} |
| 715 |
|
| 716 |
public function setDistributionValue(Analytify_Google_Service_Cloudmonitoring_PointDistribution $distributionValue) |
| 717 |
{ |
| 718 |
$this->distributionValue = $distributionValue; |
| 719 |
} |
| 720 |
|
| 721 |
public function getDistributionValue() |
| 722 |
{ |
| 723 |
return $this->distributionValue; |
| 724 |
} |
| 725 |
|
| 726 |
public function setDoubleValue($doubleValue) |
| 727 |
{ |
| 728 |
$this->doubleValue = $doubleValue; |
| 729 |
} |
| 730 |
|
| 731 |
public function getDoubleValue() |
| 732 |
{ |
| 733 |
return $this->doubleValue; |
| 734 |
} |
| 735 |
|
| 736 |
public function setEnd($end) |
| 737 |
{ |
| 738 |
$this->end = $end; |
| 739 |
} |
| 740 |
|
| 741 |
public function getEnd() |
| 742 |
{ |
| 743 |
return $this->end; |
| 744 |
} |
| 745 |
|
| 746 |
public function setInt64Value($int64Value) |
| 747 |
{ |
| 748 |
$this->int64Value = $int64Value; |
| 749 |
} |
| 750 |
|
| 751 |
public function getInt64Value() |
| 752 |
{ |
| 753 |
return $this->int64Value; |
| 754 |
} |
| 755 |
|
| 756 |
public function setStart($start) |
| 757 |
{ |
| 758 |
$this->start = $start; |
| 759 |
} |
| 760 |
|
| 761 |
public function getStart() |
| 762 |
{ |
| 763 |
return $this->start; |
| 764 |
} |
| 765 |
|
| 766 |
public function setStringValue($stringValue) |
| 767 |
{ |
| 768 |
$this->stringValue = $stringValue; |
| 769 |
} |
| 770 |
|
| 771 |
public function getStringValue() |
| 772 |
{ |
| 773 |
return $this->stringValue; |
| 774 |
} |
| 775 |
} |
| 776 |
|
| 777 |
class Analytify_Google_Service_Cloudmonitoring_PointDistribution extends Analytify_Google_Collection |
| 778 |
{ |
| 779 |
protected $bucketsType = 'Analytify_Google_Service_Cloudmonitoring_PointDistributionBucket'; |
| 780 |
protected $bucketsDataType = 'array'; |
| 781 |
protected $overflowBucketType = 'Analytify_Google_Service_Cloudmonitoring_PointDistributionOverflowBucket'; |
| 782 |
protected $overflowBucketDataType = ''; |
| 783 |
protected $underflowBucketType = 'Analytify_Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket'; |
| 784 |
protected $underflowBucketDataType = ''; |
| 785 |
|
| 786 |
public function setBuckets($buckets) |
| 787 |
{ |
| 788 |
$this->buckets = $buckets; |
| 789 |
} |
| 790 |
|
| 791 |
public function getBuckets() |
| 792 |
{ |
| 793 |
return $this->buckets; |
| 794 |
} |
| 795 |
|
| 796 |
public function setOverflowBucket(Analytify_Google_Service_Cloudmonitoring_PointDistributionOverflowBucket $overflowBucket) |
| 797 |
{ |
| 798 |
$this->overflowBucket = $overflowBucket; |
| 799 |
} |
| 800 |
|
| 801 |
public function getOverflowBucket() |
| 802 |
{ |
| 803 |
return $this->overflowBucket; |
| 804 |
} |
| 805 |
|
| 806 |
public function setUnderflowBucket(Analytify_Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket $underflowBucket) |
| 807 |
{ |
| 808 |
$this->underflowBucket = $underflowBucket; |
| 809 |
} |
| 810 |
|
| 811 |
public function getUnderflowBucket() |
| 812 |
{ |
| 813 |
return $this->underflowBucket; |
| 814 |
} |
| 815 |
} |
| 816 |
|
| 817 |
class Analytify_Google_Service_Cloudmonitoring_PointDistributionBucket extends Analytify_Google_Model |
| 818 |
{ |
| 819 |
public $count; |
| 820 |
public $lowerBound; |
| 821 |
public $upperBound; |
| 822 |
|
| 823 |
public function setCount($count) |
| 824 |
{ |
| 825 |
$this->count = $count; |
| 826 |
} |
| 827 |
|
| 828 |
public function getCount() |
| 829 |
{ |
| 830 |
return $this->count; |
| 831 |
} |
| 832 |
|
| 833 |
public function setLowerBound($lowerBound) |
| 834 |
{ |
| 835 |
$this->lowerBound = $lowerBound; |
| 836 |
} |
| 837 |
|
| 838 |
public function getLowerBound() |
| 839 |
{ |
| 840 |
return $this->lowerBound; |
| 841 |
} |
| 842 |
|
| 843 |
public function setUpperBound($upperBound) |
| 844 |
{ |
| 845 |
$this->upperBound = $upperBound; |
| 846 |
} |
| 847 |
|
| 848 |
public function getUpperBound() |
| 849 |
{ |
| 850 |
return $this->upperBound; |
| 851 |
} |
| 852 |
} |
| 853 |
|
| 854 |
class Analytify_Google_Service_Cloudmonitoring_PointDistributionOverflowBucket extends Analytify_Google_Model |
| 855 |
{ |
| 856 |
public $count; |
| 857 |
public $lowerBound; |
| 858 |
|
| 859 |
public function setCount($count) |
| 860 |
{ |
| 861 |
$this->count = $count; |
| 862 |
} |
| 863 |
|
| 864 |
public function getCount() |
| 865 |
{ |
| 866 |
return $this->count; |
| 867 |
} |
| 868 |
|
| 869 |
public function setLowerBound($lowerBound) |
| 870 |
{ |
| 871 |
$this->lowerBound = $lowerBound; |
| 872 |
} |
| 873 |
|
| 874 |
public function getLowerBound() |
| 875 |
{ |
| 876 |
return $this->lowerBound; |
| 877 |
} |
| 878 |
} |
| 879 |
|
| 880 |
class Analytify_Google_Service_Cloudmonitoring_PointDistributionUnderflowBucket extends Analytify_Google_Model |
| 881 |
{ |
| 882 |
public $count; |
| 883 |
public $upperBound; |
| 884 |
|
| 885 |
public function setCount($count) |
| 886 |
{ |
| 887 |
$this->count = $count; |
| 888 |
} |
| 889 |
|
| 890 |
public function getCount() |
| 891 |
{ |
| 892 |
return $this->count; |
| 893 |
} |
| 894 |
|
| 895 |
public function setUpperBound($upperBound) |
| 896 |
{ |
| 897 |
$this->upperBound = $upperBound; |
| 898 |
} |
| 899 |
|
| 900 |
public function getUpperBound() |
| 901 |
{ |
| 902 |
return $this->upperBound; |
| 903 |
} |
| 904 |
} |
| 905 |
|
| 906 |
class Analytify_Google_Service_Cloudmonitoring_Timeseries extends Analytify_Google_Collection |
| 907 |
{ |
| 908 |
protected $pointsType = 'Analytify_Google_Service_Cloudmonitoring_Point'; |
| 909 |
protected $pointsDataType = 'array'; |
| 910 |
protected $timeseriesDescType = 'Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptor'; |
| 911 |
protected $timeseriesDescDataType = ''; |
| 912 |
|
| 913 |
public function setPoints($points) |
| 914 |
{ |
| 915 |
$this->points = $points; |
| 916 |
} |
| 917 |
|
| 918 |
public function getPoints() |
| 919 |
{ |
| 920 |
return $this->points; |
| 921 |
} |
| 922 |
|
| 923 |
public function setTimeseriesDesc(Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptor $timeseriesDesc) |
| 924 |
{ |
| 925 |
$this->timeseriesDesc = $timeseriesDesc; |
| 926 |
} |
| 927 |
|
| 928 |
public function getTimeseriesDesc() |
| 929 |
{ |
| 930 |
return $this->timeseriesDesc; |
| 931 |
} |
| 932 |
} |
| 933 |
|
| 934 |
class Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptor extends Analytify_Google_Model |
| 935 |
{ |
| 936 |
public $labels; |
| 937 |
public $metric; |
| 938 |
public $project; |
| 939 |
|
| 940 |
public function setLabels($labels) |
| 941 |
{ |
| 942 |
$this->labels = $labels; |
| 943 |
} |
| 944 |
|
| 945 |
public function getLabels() |
| 946 |
{ |
| 947 |
return $this->labels; |
| 948 |
} |
| 949 |
|
| 950 |
public function setMetric($metric) |
| 951 |
{ |
| 952 |
$this->metric = $metric; |
| 953 |
} |
| 954 |
|
| 955 |
public function getMetric() |
| 956 |
{ |
| 957 |
return $this->metric; |
| 958 |
} |
| 959 |
|
| 960 |
public function setProject($project) |
| 961 |
{ |
| 962 |
$this->project = $project; |
| 963 |
} |
| 964 |
|
| 965 |
public function getProject() |
| 966 |
{ |
| 967 |
return $this->project; |
| 968 |
} |
| 969 |
} |
| 970 |
|
| 971 |
class Analytify_Google_Service_Cloudmonitoring_TimeseriesDescriptorLabels extends Analytify_Google_Model |
| 972 |
{ |
| 973 |
|
| 974 |
} |
| 975 |
|