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_Apigee_GoogleCloudApigeeV1Query extends Google_Collection 19{ 20 protected $collection_key = 'metrics'; 21 public $csvDelimiter; 22 public $dimensions; 23 public $envgroupHostname; 24 public $filter; 25 public $groupByTimeUnit; 26 public $limit; 27 protected $metricsType = 'Google_Service_Apigee_GoogleCloudApigeeV1QueryMetric'; 28 protected $metricsDataType = 'array'; 29 public $name; 30 public $outputFormat; 31 public $reportDefinitionId; 32 public $timeRange; 33 34 public function setCsvDelimiter($csvDelimiter) 35 { 36 $this->csvDelimiter = $csvDelimiter; 37 } 38 public function getCsvDelimiter() 39 { 40 return $this->csvDelimiter; 41 } 42 public function setDimensions($dimensions) 43 { 44 $this->dimensions = $dimensions; 45 } 46 public function getDimensions() 47 { 48 return $this->dimensions; 49 } 50 public function setEnvgroupHostname($envgroupHostname) 51 { 52 $this->envgroupHostname = $envgroupHostname; 53 } 54 public function getEnvgroupHostname() 55 { 56 return $this->envgroupHostname; 57 } 58 public function setFilter($filter) 59 { 60 $this->filter = $filter; 61 } 62 public function getFilter() 63 { 64 return $this->filter; 65 } 66 public function setGroupByTimeUnit($groupByTimeUnit) 67 { 68 $this->groupByTimeUnit = $groupByTimeUnit; 69 } 70 public function getGroupByTimeUnit() 71 { 72 return $this->groupByTimeUnit; 73 } 74 public function setLimit($limit) 75 { 76 $this->limit = $limit; 77 } 78 public function getLimit() 79 { 80 return $this->limit; 81 } 82 /** 83 * @param Google_Service_Apigee_GoogleCloudApigeeV1QueryMetric[] 84 */ 85 public function setMetrics($metrics) 86 { 87 $this->metrics = $metrics; 88 } 89 /** 90 * @return Google_Service_Apigee_GoogleCloudApigeeV1QueryMetric[] 91 */ 92 public function getMetrics() 93 { 94 return $this->metrics; 95 } 96 public function setName($name) 97 { 98 $this->name = $name; 99 } 100 public function getName() 101 { 102 return $this->name; 103 } 104 public function setOutputFormat($outputFormat) 105 { 106 $this->outputFormat = $outputFormat; 107 } 108 public function getOutputFormat() 109 { 110 return $this->outputFormat; 111 } 112 public function setReportDefinitionId($reportDefinitionId) 113 { 114 $this->reportDefinitionId = $reportDefinitionId; 115 } 116 public function getReportDefinitionId() 117 { 118 return $this->reportDefinitionId; 119 } 120 public function setTimeRange($timeRange) 121 { 122 $this->timeRange = $timeRange; 123 } 124 public function getTimeRange() 125 { 126 return $this->timeRange; 127 } 128} 129