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 |
|
---|
18 | namespace Google\Service\ServiceConsumerManagement;
|
---|
19 |
|
---|
20 | class Service extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'types';
|
---|
23 | protected $apisType = Api::class;
|
---|
24 | protected $apisDataType = 'array';
|
---|
25 | protected $authenticationType = Authentication::class;
|
---|
26 | protected $authenticationDataType = '';
|
---|
27 | protected $backendType = Backend::class;
|
---|
28 | protected $backendDataType = '';
|
---|
29 | protected $billingType = Billing::class;
|
---|
30 | protected $billingDataType = '';
|
---|
31 | /**
|
---|
32 | * @var string
|
---|
33 | */
|
---|
34 | public $configVersion;
|
---|
35 | protected $contextType = Context::class;
|
---|
36 | protected $contextDataType = '';
|
---|
37 | protected $controlType = Control::class;
|
---|
38 | protected $controlDataType = '';
|
---|
39 | protected $customErrorType = CustomError::class;
|
---|
40 | protected $customErrorDataType = '';
|
---|
41 | protected $documentationType = Documentation::class;
|
---|
42 | protected $documentationDataType = '';
|
---|
43 | protected $endpointsType = Endpoint::class;
|
---|
44 | protected $endpointsDataType = 'array';
|
---|
45 | protected $enumsType = Enum::class;
|
---|
46 | protected $enumsDataType = 'array';
|
---|
47 | protected $httpType = Http::class;
|
---|
48 | protected $httpDataType = '';
|
---|
49 | /**
|
---|
50 | * @var string
|
---|
51 | */
|
---|
52 | public $id;
|
---|
53 | protected $loggingType = Logging::class;
|
---|
54 | protected $loggingDataType = '';
|
---|
55 | protected $logsType = LogDescriptor::class;
|
---|
56 | protected $logsDataType = 'array';
|
---|
57 | protected $metricsType = MetricDescriptor::class;
|
---|
58 | protected $metricsDataType = 'array';
|
---|
59 | protected $monitoredResourcesType = MonitoredResourceDescriptor::class;
|
---|
60 | protected $monitoredResourcesDataType = 'array';
|
---|
61 | protected $monitoringType = Monitoring::class;
|
---|
62 | protected $monitoringDataType = '';
|
---|
63 | /**
|
---|
64 | * @var string
|
---|
65 | */
|
---|
66 | public $name;
|
---|
67 | /**
|
---|
68 | * @var string
|
---|
69 | */
|
---|
70 | public $producerProjectId;
|
---|
71 | protected $publishingType = Publishing::class;
|
---|
72 | protected $publishingDataType = '';
|
---|
73 | protected $quotaType = Quota::class;
|
---|
74 | protected $quotaDataType = '';
|
---|
75 | protected $sourceInfoType = SourceInfo::class;
|
---|
76 | protected $sourceInfoDataType = '';
|
---|
77 | protected $systemParametersType = SystemParameters::class;
|
---|
78 | protected $systemParametersDataType = '';
|
---|
79 | protected $systemTypesType = Type::class;
|
---|
80 | protected $systemTypesDataType = 'array';
|
---|
81 | /**
|
---|
82 | * @var string
|
---|
83 | */
|
---|
84 | public $title;
|
---|
85 | protected $typesType = Type::class;
|
---|
86 | protected $typesDataType = 'array';
|
---|
87 | protected $usageType = Usage::class;
|
---|
88 | protected $usageDataType = '';
|
---|
89 |
|
---|
90 | /**
|
---|
91 | * @param Api[]
|
---|
92 | */
|
---|
93 | public function setApis($apis)
|
---|
94 | {
|
---|
95 | $this->apis = $apis;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return Api[]
|
---|
99 | */
|
---|
100 | public function getApis()
|
---|
101 | {
|
---|
102 | return $this->apis;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param Authentication
|
---|
106 | */
|
---|
107 | public function setAuthentication(Authentication $authentication)
|
---|
108 | {
|
---|
109 | $this->authentication = $authentication;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return Authentication
|
---|
113 | */
|
---|
114 | public function getAuthentication()
|
---|
115 | {
|
---|
116 | return $this->authentication;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param Backend
|
---|
120 | */
|
---|
121 | public function setBackend(Backend $backend)
|
---|
122 | {
|
---|
123 | $this->backend = $backend;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return Backend
|
---|
127 | */
|
---|
128 | public function getBackend()
|
---|
129 | {
|
---|
130 | return $this->backend;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param Billing
|
---|
134 | */
|
---|
135 | public function setBilling(Billing $billing)
|
---|
136 | {
|
---|
137 | $this->billing = $billing;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return Billing
|
---|
141 | */
|
---|
142 | public function getBilling()
|
---|
143 | {
|
---|
144 | return $this->billing;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param string
|
---|
148 | */
|
---|
149 | public function setConfigVersion($configVersion)
|
---|
150 | {
|
---|
151 | $this->configVersion = $configVersion;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return string
|
---|
155 | */
|
---|
156 | public function getConfigVersion()
|
---|
157 | {
|
---|
158 | return $this->configVersion;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param Context
|
---|
162 | */
|
---|
163 | public function setContext(Context $context)
|
---|
164 | {
|
---|
165 | $this->context = $context;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return Context
|
---|
169 | */
|
---|
170 | public function getContext()
|
---|
171 | {
|
---|
172 | return $this->context;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param Control
|
---|
176 | */
|
---|
177 | public function setControl(Control $control)
|
---|
178 | {
|
---|
179 | $this->control = $control;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return Control
|
---|
183 | */
|
---|
184 | public function getControl()
|
---|
185 | {
|
---|
186 | return $this->control;
|
---|
187 | }
|
---|
188 | /**
|
---|
189 | * @param CustomError
|
---|
190 | */
|
---|
191 | public function setCustomError(CustomError $customError)
|
---|
192 | {
|
---|
193 | $this->customError = $customError;
|
---|
194 | }
|
---|
195 | /**
|
---|
196 | * @return CustomError
|
---|
197 | */
|
---|
198 | public function getCustomError()
|
---|
199 | {
|
---|
200 | return $this->customError;
|
---|
201 | }
|
---|
202 | /**
|
---|
203 | * @param Documentation
|
---|
204 | */
|
---|
205 | public function setDocumentation(Documentation $documentation)
|
---|
206 | {
|
---|
207 | $this->documentation = $documentation;
|
---|
208 | }
|
---|
209 | /**
|
---|
210 | * @return Documentation
|
---|
211 | */
|
---|
212 | public function getDocumentation()
|
---|
213 | {
|
---|
214 | return $this->documentation;
|
---|
215 | }
|
---|
216 | /**
|
---|
217 | * @param Endpoint[]
|
---|
218 | */
|
---|
219 | public function setEndpoints($endpoints)
|
---|
220 | {
|
---|
221 | $this->endpoints = $endpoints;
|
---|
222 | }
|
---|
223 | /**
|
---|
224 | * @return Endpoint[]
|
---|
225 | */
|
---|
226 | public function getEndpoints()
|
---|
227 | {
|
---|
228 | return $this->endpoints;
|
---|
229 | }
|
---|
230 | /**
|
---|
231 | * @param Enum[]
|
---|
232 | */
|
---|
233 | public function setEnums($enums)
|
---|
234 | {
|
---|
235 | $this->enums = $enums;
|
---|
236 | }
|
---|
237 | /**
|
---|
238 | * @return Enum[]
|
---|
239 | */
|
---|
240 | public function getEnums()
|
---|
241 | {
|
---|
242 | return $this->enums;
|
---|
243 | }
|
---|
244 | /**
|
---|
245 | * @param Http
|
---|
246 | */
|
---|
247 | public function setHttp(Http $http)
|
---|
248 | {
|
---|
249 | $this->http = $http;
|
---|
250 | }
|
---|
251 | /**
|
---|
252 | * @return Http
|
---|
253 | */
|
---|
254 | public function getHttp()
|
---|
255 | {
|
---|
256 | return $this->http;
|
---|
257 | }
|
---|
258 | /**
|
---|
259 | * @param string
|
---|
260 | */
|
---|
261 | public function setId($id)
|
---|
262 | {
|
---|
263 | $this->id = $id;
|
---|
264 | }
|
---|
265 | /**
|
---|
266 | * @return string
|
---|
267 | */
|
---|
268 | public function getId()
|
---|
269 | {
|
---|
270 | return $this->id;
|
---|
271 | }
|
---|
272 | /**
|
---|
273 | * @param Logging
|
---|
274 | */
|
---|
275 | public function setLogging(Logging $logging)
|
---|
276 | {
|
---|
277 | $this->logging = $logging;
|
---|
278 | }
|
---|
279 | /**
|
---|
280 | * @return Logging
|
---|
281 | */
|
---|
282 | public function getLogging()
|
---|
283 | {
|
---|
284 | return $this->logging;
|
---|
285 | }
|
---|
286 | /**
|
---|
287 | * @param LogDescriptor[]
|
---|
288 | */
|
---|
289 | public function setLogs($logs)
|
---|
290 | {
|
---|
291 | $this->logs = $logs;
|
---|
292 | }
|
---|
293 | /**
|
---|
294 | * @return LogDescriptor[]
|
---|
295 | */
|
---|
296 | public function getLogs()
|
---|
297 | {
|
---|
298 | return $this->logs;
|
---|
299 | }
|
---|
300 | /**
|
---|
301 | * @param MetricDescriptor[]
|
---|
302 | */
|
---|
303 | public function setMetrics($metrics)
|
---|
304 | {
|
---|
305 | $this->metrics = $metrics;
|
---|
306 | }
|
---|
307 | /**
|
---|
308 | * @return MetricDescriptor[]
|
---|
309 | */
|
---|
310 | public function getMetrics()
|
---|
311 | {
|
---|
312 | return $this->metrics;
|
---|
313 | }
|
---|
314 | /**
|
---|
315 | * @param MonitoredResourceDescriptor[]
|
---|
316 | */
|
---|
317 | public function setMonitoredResources($monitoredResources)
|
---|
318 | {
|
---|
319 | $this->monitoredResources = $monitoredResources;
|
---|
320 | }
|
---|
321 | /**
|
---|
322 | * @return MonitoredResourceDescriptor[]
|
---|
323 | */
|
---|
324 | public function getMonitoredResources()
|
---|
325 | {
|
---|
326 | return $this->monitoredResources;
|
---|
327 | }
|
---|
328 | /**
|
---|
329 | * @param Monitoring
|
---|
330 | */
|
---|
331 | public function setMonitoring(Monitoring $monitoring)
|
---|
332 | {
|
---|
333 | $this->monitoring = $monitoring;
|
---|
334 | }
|
---|
335 | /**
|
---|
336 | * @return Monitoring
|
---|
337 | */
|
---|
338 | public function getMonitoring()
|
---|
339 | {
|
---|
340 | return $this->monitoring;
|
---|
341 | }
|
---|
342 | /**
|
---|
343 | * @param string
|
---|
344 | */
|
---|
345 | public function setName($name)
|
---|
346 | {
|
---|
347 | $this->name = $name;
|
---|
348 | }
|
---|
349 | /**
|
---|
350 | * @return string
|
---|
351 | */
|
---|
352 | public function getName()
|
---|
353 | {
|
---|
354 | return $this->name;
|
---|
355 | }
|
---|
356 | /**
|
---|
357 | * @param string
|
---|
358 | */
|
---|
359 | public function setProducerProjectId($producerProjectId)
|
---|
360 | {
|
---|
361 | $this->producerProjectId = $producerProjectId;
|
---|
362 | }
|
---|
363 | /**
|
---|
364 | * @return string
|
---|
365 | */
|
---|
366 | public function getProducerProjectId()
|
---|
367 | {
|
---|
368 | return $this->producerProjectId;
|
---|
369 | }
|
---|
370 | /**
|
---|
371 | * @param Publishing
|
---|
372 | */
|
---|
373 | public function setPublishing(Publishing $publishing)
|
---|
374 | {
|
---|
375 | $this->publishing = $publishing;
|
---|
376 | }
|
---|
377 | /**
|
---|
378 | * @return Publishing
|
---|
379 | */
|
---|
380 | public function getPublishing()
|
---|
381 | {
|
---|
382 | return $this->publishing;
|
---|
383 | }
|
---|
384 | /**
|
---|
385 | * @param Quota
|
---|
386 | */
|
---|
387 | public function setQuota(Quota $quota)
|
---|
388 | {
|
---|
389 | $this->quota = $quota;
|
---|
390 | }
|
---|
391 | /**
|
---|
392 | * @return Quota
|
---|
393 | */
|
---|
394 | public function getQuota()
|
---|
395 | {
|
---|
396 | return $this->quota;
|
---|
397 | }
|
---|
398 | /**
|
---|
399 | * @param SourceInfo
|
---|
400 | */
|
---|
401 | public function setSourceInfo(SourceInfo $sourceInfo)
|
---|
402 | {
|
---|
403 | $this->sourceInfo = $sourceInfo;
|
---|
404 | }
|
---|
405 | /**
|
---|
406 | * @return SourceInfo
|
---|
407 | */
|
---|
408 | public function getSourceInfo()
|
---|
409 | {
|
---|
410 | return $this->sourceInfo;
|
---|
411 | }
|
---|
412 | /**
|
---|
413 | * @param SystemParameters
|
---|
414 | */
|
---|
415 | public function setSystemParameters(SystemParameters $systemParameters)
|
---|
416 | {
|
---|
417 | $this->systemParameters = $systemParameters;
|
---|
418 | }
|
---|
419 | /**
|
---|
420 | * @return SystemParameters
|
---|
421 | */
|
---|
422 | public function getSystemParameters()
|
---|
423 | {
|
---|
424 | return $this->systemParameters;
|
---|
425 | }
|
---|
426 | /**
|
---|
427 | * @param Type[]
|
---|
428 | */
|
---|
429 | public function setSystemTypes($systemTypes)
|
---|
430 | {
|
---|
431 | $this->systemTypes = $systemTypes;
|
---|
432 | }
|
---|
433 | /**
|
---|
434 | * @return Type[]
|
---|
435 | */
|
---|
436 | public function getSystemTypes()
|
---|
437 | {
|
---|
438 | return $this->systemTypes;
|
---|
439 | }
|
---|
440 | /**
|
---|
441 | * @param string
|
---|
442 | */
|
---|
443 | public function setTitle($title)
|
---|
444 | {
|
---|
445 | $this->title = $title;
|
---|
446 | }
|
---|
447 | /**
|
---|
448 | * @return string
|
---|
449 | */
|
---|
450 | public function getTitle()
|
---|
451 | {
|
---|
452 | return $this->title;
|
---|
453 | }
|
---|
454 | /**
|
---|
455 | * @param Type[]
|
---|
456 | */
|
---|
457 | public function setTypes($types)
|
---|
458 | {
|
---|
459 | $this->types = $types;
|
---|
460 | }
|
---|
461 | /**
|
---|
462 | * @return Type[]
|
---|
463 | */
|
---|
464 | public function getTypes()
|
---|
465 | {
|
---|
466 | return $this->types;
|
---|
467 | }
|
---|
468 | /**
|
---|
469 | * @param Usage
|
---|
470 | */
|
---|
471 | public function setUsage(Usage $usage)
|
---|
472 | {
|
---|
473 | $this->usage = $usage;
|
---|
474 | }
|
---|
475 | /**
|
---|
476 | * @return Usage
|
---|
477 | */
|
---|
478 | public function getUsage()
|
---|
479 | {
|
---|
480 | return $this->usage;
|
---|
481 | }
|
---|
482 | }
|
---|
483 |
|
---|
484 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
485 | class_alias(Service::class, 'Google_Service_ServiceConsumerManagement_Service');
|
---|