[ Index ]

PHP Cross Reference of moodle-2.8

title

Body

[close]

/lib/google/Google/Service/ -> CloudMonitoring.php (source)

   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-monitoring/" target="_blank">Documentation</a>
  28   * </p>
  29   *
  30   * @author Google, Inc.
  31   */
  32  class Google_Service_CloudMonitoring extends 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 Google_Client $client
  46     */
  47    public function __construct(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 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 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 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 Google_Service_CloudMonitoring(...);
 197   *   $metricDescriptors = $cloudmonitoringService->metricDescriptors;
 198   *  </code>
 199   */
 200  class Google_Service_CloudMonitoring_MetricDescriptors_Resource extends 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 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), "Google_Service_CloudMonitoring_ListMetricDescriptorsResponse");
 232    }
 233  }
 234  
 235  /**
 236   * The "timeseries" collection of methods.
 237   * Typical usage is:
 238   *  <code>
 239   *   $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
 240   *   $timeseries = $cloudmonitoringService->timeseries;
 241   *  </code>
 242   */
 243  class Google_Service_CloudMonitoring_Timeseries_Resource extends 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 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), "Google_Service_CloudMonitoring_ListTimeseriesResponse");
 302    }
 303  }
 304  
 305  /**
 306   * The "timeseriesDescriptors" collection of methods.
 307   * Typical usage is:
 308   *  <code>
 309   *   $cloudmonitoringService = new Google_Service_CloudMonitoring(...);
 310   *   $timeseriesDescriptors = $cloudmonitoringService->timeseriesDescriptors;
 311   *  </code>
 312   */
 313  class Google_Service_CloudMonitoring_TimeseriesDescriptors_Resource extends 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 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), "Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse");
 373    }
 374  }
 375  
 376  
 377  
 378  
 379  class Google_Service_CloudMonitoring_ListMetricDescriptorsRequest extends 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 Google_Service_CloudMonitoring_ListMetricDescriptorsResponse extends Google_Collection
 395  {
 396    protected $collection_key = 'metrics';
 397    public $kind;
 398    protected $metricsType = 'Google_Service_CloudMonitoring_MetricDescriptor';
 399    protected $metricsDataType = 'array';
 400    public $nextPageToken;
 401  
 402    public function setKind($kind)
 403    {
 404      $this->kind = $kind;
 405    }
 406  
 407    public function getKind()
 408    {
 409      return $this->kind;
 410    }
 411  
 412    public function setMetrics($metrics)
 413    {
 414      $this->metrics = $metrics;
 415    }
 416  
 417    public function getMetrics()
 418    {
 419      return $this->metrics;
 420    }
 421  
 422    public function setNextPageToken($nextPageToken)
 423    {
 424      $this->nextPageToken = $nextPageToken;
 425    }
 426  
 427    public function getNextPageToken()
 428    {
 429      return $this->nextPageToken;
 430    }
 431  }
 432  
 433  class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsRequest extends Google_Model
 434  {
 435    public $kind;
 436  
 437    public function setKind($kind)
 438    {
 439      $this->kind = $kind;
 440    }
 441  
 442    public function getKind()
 443    {
 444      return $this->kind;
 445    }
 446  }
 447  
 448  class Google_Service_CloudMonitoring_ListTimeseriesDescriptorsResponse extends Google_Collection
 449  {
 450    protected $collection_key = 'timeseries';
 451    public $kind;
 452    public $nextPageToken;
 453    public $oldest;
 454    protected $timeseriesType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
 455    protected $timeseriesDataType = 'array';
 456    public $youngest;
 457  
 458    public function setKind($kind)
 459    {
 460      $this->kind = $kind;
 461    }
 462  
 463    public function getKind()
 464    {
 465      return $this->kind;
 466    }
 467  
 468    public function setNextPageToken($nextPageToken)
 469    {
 470      $this->nextPageToken = $nextPageToken;
 471    }
 472  
 473    public function getNextPageToken()
 474    {
 475      return $this->nextPageToken;
 476    }
 477  
 478    public function setOldest($oldest)
 479    {
 480      $this->oldest = $oldest;
 481    }
 482  
 483    public function getOldest()
 484    {
 485      return $this->oldest;
 486    }
 487  
 488    public function setTimeseries($timeseries)
 489    {
 490      $this->timeseries = $timeseries;
 491    }
 492  
 493    public function getTimeseries()
 494    {
 495      return $this->timeseries;
 496    }
 497  
 498    public function setYoungest($youngest)
 499    {
 500      $this->youngest = $youngest;
 501    }
 502  
 503    public function getYoungest()
 504    {
 505      return $this->youngest;
 506    }
 507  }
 508  
 509  class Google_Service_CloudMonitoring_ListTimeseriesRequest extends Google_Model
 510  {
 511    public $kind;
 512  
 513    public function setKind($kind)
 514    {
 515      $this->kind = $kind;
 516    }
 517  
 518    public function getKind()
 519    {
 520      return $this->kind;
 521    }
 522  }
 523  
 524  class Google_Service_CloudMonitoring_ListTimeseriesResponse extends Google_Collection
 525  {
 526    protected $collection_key = 'timeseries';
 527    public $kind;
 528    public $nextPageToken;
 529    public $oldest;
 530    protected $timeseriesType = 'Google_Service_CloudMonitoring_Timeseries';
 531    protected $timeseriesDataType = 'array';
 532    public $youngest;
 533  
 534    public function setKind($kind)
 535    {
 536      $this->kind = $kind;
 537    }
 538  
 539    public function getKind()
 540    {
 541      return $this->kind;
 542    }
 543  
 544    public function setNextPageToken($nextPageToken)
 545    {
 546      $this->nextPageToken = $nextPageToken;
 547    }
 548  
 549    public function getNextPageToken()
 550    {
 551      return $this->nextPageToken;
 552    }
 553  
 554    public function setOldest($oldest)
 555    {
 556      $this->oldest = $oldest;
 557    }
 558  
 559    public function getOldest()
 560    {
 561      return $this->oldest;
 562    }
 563  
 564    public function setTimeseries($timeseries)
 565    {
 566      $this->timeseries = $timeseries;
 567    }
 568  
 569    public function getTimeseries()
 570    {
 571      return $this->timeseries;
 572    }
 573  
 574    public function setYoungest($youngest)
 575    {
 576      $this->youngest = $youngest;
 577    }
 578  
 579    public function getYoungest()
 580    {
 581      return $this->youngest;
 582    }
 583  }
 584  
 585  class Google_Service_CloudMonitoring_MetricDescriptor extends Google_Collection
 586  {
 587    protected $collection_key = 'labels';
 588    public $description;
 589    protected $labelsType = 'Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor';
 590    protected $labelsDataType = 'array';
 591    public $name;
 592    public $project;
 593    protected $typeDescriptorType = 'Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor';
 594    protected $typeDescriptorDataType = '';
 595  
 596    public function setDescription($description)
 597    {
 598      $this->description = $description;
 599    }
 600  
 601    public function getDescription()
 602    {
 603      return $this->description;
 604    }
 605  
 606    public function setLabels($labels)
 607    {
 608      $this->labels = $labels;
 609    }
 610  
 611    public function getLabels()
 612    {
 613      return $this->labels;
 614    }
 615  
 616    public function setName($name)
 617    {
 618      $this->name = $name;
 619    }
 620  
 621    public function getName()
 622    {
 623      return $this->name;
 624    }
 625  
 626    public function setProject($project)
 627    {
 628      $this->project = $project;
 629    }
 630  
 631    public function getProject()
 632    {
 633      return $this->project;
 634    }
 635  
 636    public function setTypeDescriptor(Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor $typeDescriptor)
 637    {
 638      $this->typeDescriptor = $typeDescriptor;
 639    }
 640  
 641    public function getTypeDescriptor()
 642    {
 643      return $this->typeDescriptor;
 644    }
 645  }
 646  
 647  class Google_Service_CloudMonitoring_MetricDescriptorLabelDescriptor extends Google_Model
 648  {
 649    public $description;
 650    public $key;
 651  
 652    public function setDescription($description)
 653    {
 654      $this->description = $description;
 655    }
 656  
 657    public function getDescription()
 658    {
 659      return $this->description;
 660    }
 661  
 662    public function setKey($key)
 663    {
 664      $this->key = $key;
 665    }
 666  
 667    public function getKey()
 668    {
 669      return $this->key;
 670    }
 671  }
 672  
 673  class Google_Service_CloudMonitoring_MetricDescriptorTypeDescriptor extends Google_Model
 674  {
 675    public $metricType;
 676    public $valueType;
 677  
 678    public function setMetricType($metricType)
 679    {
 680      $this->metricType = $metricType;
 681    }
 682  
 683    public function getMetricType()
 684    {
 685      return $this->metricType;
 686    }
 687  
 688    public function setValueType($valueType)
 689    {
 690      $this->valueType = $valueType;
 691    }
 692  
 693    public function getValueType()
 694    {
 695      return $this->valueType;
 696    }
 697  }
 698  
 699  class Google_Service_CloudMonitoring_Point extends Google_Model
 700  {
 701    public $boolValue;
 702    protected $distributionValueType = 'Google_Service_CloudMonitoring_PointDistribution';
 703    protected $distributionValueDataType = '';
 704    public $doubleValue;
 705    public $end;
 706    public $int64Value;
 707    public $start;
 708    public $stringValue;
 709  
 710    public function setBoolValue($boolValue)
 711    {
 712      $this->boolValue = $boolValue;
 713    }
 714  
 715    public function getBoolValue()
 716    {
 717      return $this->boolValue;
 718    }
 719  
 720    public function setDistributionValue(Google_Service_CloudMonitoring_PointDistribution $distributionValue)
 721    {
 722      $this->distributionValue = $distributionValue;
 723    }
 724  
 725    public function getDistributionValue()
 726    {
 727      return $this->distributionValue;
 728    }
 729  
 730    public function setDoubleValue($doubleValue)
 731    {
 732      $this->doubleValue = $doubleValue;
 733    }
 734  
 735    public function getDoubleValue()
 736    {
 737      return $this->doubleValue;
 738    }
 739  
 740    public function setEnd($end)
 741    {
 742      $this->end = $end;
 743    }
 744  
 745    public function getEnd()
 746    {
 747      return $this->end;
 748    }
 749  
 750    public function setInt64Value($int64Value)
 751    {
 752      $this->int64Value = $int64Value;
 753    }
 754  
 755    public function getInt64Value()
 756    {
 757      return $this->int64Value;
 758    }
 759  
 760    public function setStart($start)
 761    {
 762      $this->start = $start;
 763    }
 764  
 765    public function getStart()
 766    {
 767      return $this->start;
 768    }
 769  
 770    public function setStringValue($stringValue)
 771    {
 772      $this->stringValue = $stringValue;
 773    }
 774  
 775    public function getStringValue()
 776    {
 777      return $this->stringValue;
 778    }
 779  }
 780  
 781  class Google_Service_CloudMonitoring_PointDistribution extends Google_Collection
 782  {
 783    protected $collection_key = 'buckets';
 784    protected $bucketsType = 'Google_Service_CloudMonitoring_PointDistributionBucket';
 785    protected $bucketsDataType = 'array';
 786    protected $overflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionOverflowBucket';
 787    protected $overflowBucketDataType = '';
 788    protected $underflowBucketType = 'Google_Service_CloudMonitoring_PointDistributionUnderflowBucket';
 789    protected $underflowBucketDataType = '';
 790  
 791    public function setBuckets($buckets)
 792    {
 793      $this->buckets = $buckets;
 794    }
 795  
 796    public function getBuckets()
 797    {
 798      return $this->buckets;
 799    }
 800  
 801    public function setOverflowBucket(Google_Service_CloudMonitoring_PointDistributionOverflowBucket $overflowBucket)
 802    {
 803      $this->overflowBucket = $overflowBucket;
 804    }
 805  
 806    public function getOverflowBucket()
 807    {
 808      return $this->overflowBucket;
 809    }
 810  
 811    public function setUnderflowBucket(Google_Service_CloudMonitoring_PointDistributionUnderflowBucket $underflowBucket)
 812    {
 813      $this->underflowBucket = $underflowBucket;
 814    }
 815  
 816    public function getUnderflowBucket()
 817    {
 818      return $this->underflowBucket;
 819    }
 820  }
 821  
 822  class Google_Service_CloudMonitoring_PointDistributionBucket extends Google_Model
 823  {
 824    public $count;
 825    public $lowerBound;
 826    public $upperBound;
 827  
 828    public function setCount($count)
 829    {
 830      $this->count = $count;
 831    }
 832  
 833    public function getCount()
 834    {
 835      return $this->count;
 836    }
 837  
 838    public function setLowerBound($lowerBound)
 839    {
 840      $this->lowerBound = $lowerBound;
 841    }
 842  
 843    public function getLowerBound()
 844    {
 845      return $this->lowerBound;
 846    }
 847  
 848    public function setUpperBound($upperBound)
 849    {
 850      $this->upperBound = $upperBound;
 851    }
 852  
 853    public function getUpperBound()
 854    {
 855      return $this->upperBound;
 856    }
 857  }
 858  
 859  class Google_Service_CloudMonitoring_PointDistributionOverflowBucket extends Google_Model
 860  {
 861    public $count;
 862    public $lowerBound;
 863  
 864    public function setCount($count)
 865    {
 866      $this->count = $count;
 867    }
 868  
 869    public function getCount()
 870    {
 871      return $this->count;
 872    }
 873  
 874    public function setLowerBound($lowerBound)
 875    {
 876      $this->lowerBound = $lowerBound;
 877    }
 878  
 879    public function getLowerBound()
 880    {
 881      return $this->lowerBound;
 882    }
 883  }
 884  
 885  class Google_Service_CloudMonitoring_PointDistributionUnderflowBucket extends Google_Model
 886  {
 887    public $count;
 888    public $upperBound;
 889  
 890    public function setCount($count)
 891    {
 892      $this->count = $count;
 893    }
 894  
 895    public function getCount()
 896    {
 897      return $this->count;
 898    }
 899  
 900    public function setUpperBound($upperBound)
 901    {
 902      $this->upperBound = $upperBound;
 903    }
 904  
 905    public function getUpperBound()
 906    {
 907      return $this->upperBound;
 908    }
 909  }
 910  
 911  class Google_Service_CloudMonitoring_Timeseries extends Google_Collection
 912  {
 913    protected $collection_key = 'points';
 914    protected $pointsType = 'Google_Service_CloudMonitoring_Point';
 915    protected $pointsDataType = 'array';
 916    protected $timeseriesDescType = 'Google_Service_CloudMonitoring_TimeseriesDescriptor';
 917    protected $timeseriesDescDataType = '';
 918  
 919    public function setPoints($points)
 920    {
 921      $this->points = $points;
 922    }
 923  
 924    public function getPoints()
 925    {
 926      return $this->points;
 927    }
 928  
 929    public function setTimeseriesDesc(Google_Service_CloudMonitoring_TimeseriesDescriptor $timeseriesDesc)
 930    {
 931      $this->timeseriesDesc = $timeseriesDesc;
 932    }
 933  
 934    public function getTimeseriesDesc()
 935    {
 936      return $this->timeseriesDesc;
 937    }
 938  }
 939  
 940  class Google_Service_CloudMonitoring_TimeseriesDescriptor extends Google_Model
 941  {
 942    public $labels;
 943    public $metric;
 944    public $project;
 945  
 946    public function setLabels($labels)
 947    {
 948      $this->labels = $labels;
 949    }
 950  
 951    public function getLabels()
 952    {
 953      return $this->labels;
 954    }
 955  
 956    public function setMetric($metric)
 957    {
 958      $this->metric = $metric;
 959    }
 960  
 961    public function getMetric()
 962    {
 963      return $this->metric;
 964    }
 965  
 966    public function setProject($project)
 967    {
 968      $this->project = $project;
 969    }
 970  
 971    public function getProject()
 972    {
 973      return $this->project;
 974    }
 975  }
 976  
 977  class Google_Service_CloudMonitoring_TimeseriesDescriptorLabels extends Google_Model
 978  {
 979  
 980  }


Generated: Fri Nov 28 20:29:05 2014 Cross-referenced by PHPXref 0.7.1