source: vendor/google/apiclient-services/src/Logging/LogMetric.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 4.5 KB
Line 
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\Logging;
19
20class LogMetric extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $bucketName;
26 protected $bucketOptionsType = BucketOptions::class;
27 protected $bucketOptionsDataType = '';
28 /**
29 * @var string
30 */
31 public $createTime;
32 /**
33 * @var string
34 */
35 public $description;
36 /**
37 * @var bool
38 */
39 public $disabled;
40 /**
41 * @var string
42 */
43 public $filter;
44 /**
45 * @var string[]
46 */
47 public $labelExtractors;
48 protected $metricDescriptorType = MetricDescriptor::class;
49 protected $metricDescriptorDataType = '';
50 /**
51 * @var string
52 */
53 public $name;
54 /**
55 * @var string
56 */
57 public $resourceName;
58 /**
59 * @var string
60 */
61 public $updateTime;
62 /**
63 * @var string
64 */
65 public $valueExtractor;
66 /**
67 * @var string
68 */
69 public $version;
70
71 /**
72 * @param string
73 */
74 public function setBucketName($bucketName)
75 {
76 $this->bucketName = $bucketName;
77 }
78 /**
79 * @return string
80 */
81 public function getBucketName()
82 {
83 return $this->bucketName;
84 }
85 /**
86 * @param BucketOptions
87 */
88 public function setBucketOptions(BucketOptions $bucketOptions)
89 {
90 $this->bucketOptions = $bucketOptions;
91 }
92 /**
93 * @return BucketOptions
94 */
95 public function getBucketOptions()
96 {
97 return $this->bucketOptions;
98 }
99 /**
100 * @param string
101 */
102 public function setCreateTime($createTime)
103 {
104 $this->createTime = $createTime;
105 }
106 /**
107 * @return string
108 */
109 public function getCreateTime()
110 {
111 return $this->createTime;
112 }
113 /**
114 * @param string
115 */
116 public function setDescription($description)
117 {
118 $this->description = $description;
119 }
120 /**
121 * @return string
122 */
123 public function getDescription()
124 {
125 return $this->description;
126 }
127 /**
128 * @param bool
129 */
130 public function setDisabled($disabled)
131 {
132 $this->disabled = $disabled;
133 }
134 /**
135 * @return bool
136 */
137 public function getDisabled()
138 {
139 return $this->disabled;
140 }
141 /**
142 * @param string
143 */
144 public function setFilter($filter)
145 {
146 $this->filter = $filter;
147 }
148 /**
149 * @return string
150 */
151 public function getFilter()
152 {
153 return $this->filter;
154 }
155 /**
156 * @param string[]
157 */
158 public function setLabelExtractors($labelExtractors)
159 {
160 $this->labelExtractors = $labelExtractors;
161 }
162 /**
163 * @return string[]
164 */
165 public function getLabelExtractors()
166 {
167 return $this->labelExtractors;
168 }
169 /**
170 * @param MetricDescriptor
171 */
172 public function setMetricDescriptor(MetricDescriptor $metricDescriptor)
173 {
174 $this->metricDescriptor = $metricDescriptor;
175 }
176 /**
177 * @return MetricDescriptor
178 */
179 public function getMetricDescriptor()
180 {
181 return $this->metricDescriptor;
182 }
183 /**
184 * @param string
185 */
186 public function setName($name)
187 {
188 $this->name = $name;
189 }
190 /**
191 * @return string
192 */
193 public function getName()
194 {
195 return $this->name;
196 }
197 /**
198 * @param string
199 */
200 public function setResourceName($resourceName)
201 {
202 $this->resourceName = $resourceName;
203 }
204 /**
205 * @return string
206 */
207 public function getResourceName()
208 {
209 return $this->resourceName;
210 }
211 /**
212 * @param string
213 */
214 public function setUpdateTime($updateTime)
215 {
216 $this->updateTime = $updateTime;
217 }
218 /**
219 * @return string
220 */
221 public function getUpdateTime()
222 {
223 return $this->updateTime;
224 }
225 /**
226 * @param string
227 */
228 public function setValueExtractor($valueExtractor)
229 {
230 $this->valueExtractor = $valueExtractor;
231 }
232 /**
233 * @return string
234 */
235 public function getValueExtractor()
236 {
237 return $this->valueExtractor;
238 }
239 /**
240 * @param string
241 */
242 public function setVersion($version)
243 {
244 $this->version = $version;
245 }
246 /**
247 * @return string
248 */
249 public function getVersion()
250 {
251 return $this->version;
252 }
253}
254
255// Adding a class alias for backwards compatibility with the previous class name.
256class_alias(LogMetric::class, 'Google_Service_Logging_LogMetric');
Note: See TracBrowser for help on using the repository browser.