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\ServiceUsage;
|
---|
19 |
|
---|
20 | class GoogleApiServiceusageV1ServiceConfig extends \Google\Collection
|
---|
21 | {
|
---|
22 | protected $collection_key = 'monitoredResources';
|
---|
23 | protected $apisType = Api::class;
|
---|
24 | protected $apisDataType = 'array';
|
---|
25 | protected $authenticationType = Authentication::class;
|
---|
26 | protected $authenticationDataType = '';
|
---|
27 | protected $documentationType = Documentation::class;
|
---|
28 | protected $documentationDataType = '';
|
---|
29 | protected $endpointsType = Endpoint::class;
|
---|
30 | protected $endpointsDataType = 'array';
|
---|
31 | protected $monitoredResourcesType = MonitoredResourceDescriptor::class;
|
---|
32 | protected $monitoredResourcesDataType = 'array';
|
---|
33 | protected $monitoringType = Monitoring::class;
|
---|
34 | protected $monitoringDataType = '';
|
---|
35 | /**
|
---|
36 | * @var string
|
---|
37 | */
|
---|
38 | public $name;
|
---|
39 | protected $quotaType = Quota::class;
|
---|
40 | protected $quotaDataType = '';
|
---|
41 | /**
|
---|
42 | * @var string
|
---|
43 | */
|
---|
44 | public $title;
|
---|
45 | protected $usageType = Usage::class;
|
---|
46 | protected $usageDataType = '';
|
---|
47 |
|
---|
48 | /**
|
---|
49 | * @param Api[]
|
---|
50 | */
|
---|
51 | public function setApis($apis)
|
---|
52 | {
|
---|
53 | $this->apis = $apis;
|
---|
54 | }
|
---|
55 | /**
|
---|
56 | * @return Api[]
|
---|
57 | */
|
---|
58 | public function getApis()
|
---|
59 | {
|
---|
60 | return $this->apis;
|
---|
61 | }
|
---|
62 | /**
|
---|
63 | * @param Authentication
|
---|
64 | */
|
---|
65 | public function setAuthentication(Authentication $authentication)
|
---|
66 | {
|
---|
67 | $this->authentication = $authentication;
|
---|
68 | }
|
---|
69 | /**
|
---|
70 | * @return Authentication
|
---|
71 | */
|
---|
72 | public function getAuthentication()
|
---|
73 | {
|
---|
74 | return $this->authentication;
|
---|
75 | }
|
---|
76 | /**
|
---|
77 | * @param Documentation
|
---|
78 | */
|
---|
79 | public function setDocumentation(Documentation $documentation)
|
---|
80 | {
|
---|
81 | $this->documentation = $documentation;
|
---|
82 | }
|
---|
83 | /**
|
---|
84 | * @return Documentation
|
---|
85 | */
|
---|
86 | public function getDocumentation()
|
---|
87 | {
|
---|
88 | return $this->documentation;
|
---|
89 | }
|
---|
90 | /**
|
---|
91 | * @param Endpoint[]
|
---|
92 | */
|
---|
93 | public function setEndpoints($endpoints)
|
---|
94 | {
|
---|
95 | $this->endpoints = $endpoints;
|
---|
96 | }
|
---|
97 | /**
|
---|
98 | * @return Endpoint[]
|
---|
99 | */
|
---|
100 | public function getEndpoints()
|
---|
101 | {
|
---|
102 | return $this->endpoints;
|
---|
103 | }
|
---|
104 | /**
|
---|
105 | * @param MonitoredResourceDescriptor[]
|
---|
106 | */
|
---|
107 | public function setMonitoredResources($monitoredResources)
|
---|
108 | {
|
---|
109 | $this->monitoredResources = $monitoredResources;
|
---|
110 | }
|
---|
111 | /**
|
---|
112 | * @return MonitoredResourceDescriptor[]
|
---|
113 | */
|
---|
114 | public function getMonitoredResources()
|
---|
115 | {
|
---|
116 | return $this->monitoredResources;
|
---|
117 | }
|
---|
118 | /**
|
---|
119 | * @param Monitoring
|
---|
120 | */
|
---|
121 | public function setMonitoring(Monitoring $monitoring)
|
---|
122 | {
|
---|
123 | $this->monitoring = $monitoring;
|
---|
124 | }
|
---|
125 | /**
|
---|
126 | * @return Monitoring
|
---|
127 | */
|
---|
128 | public function getMonitoring()
|
---|
129 | {
|
---|
130 | return $this->monitoring;
|
---|
131 | }
|
---|
132 | /**
|
---|
133 | * @param string
|
---|
134 | */
|
---|
135 | public function setName($name)
|
---|
136 | {
|
---|
137 | $this->name = $name;
|
---|
138 | }
|
---|
139 | /**
|
---|
140 | * @return string
|
---|
141 | */
|
---|
142 | public function getName()
|
---|
143 | {
|
---|
144 | return $this->name;
|
---|
145 | }
|
---|
146 | /**
|
---|
147 | * @param Quota
|
---|
148 | */
|
---|
149 | public function setQuota(Quota $quota)
|
---|
150 | {
|
---|
151 | $this->quota = $quota;
|
---|
152 | }
|
---|
153 | /**
|
---|
154 | * @return Quota
|
---|
155 | */
|
---|
156 | public function getQuota()
|
---|
157 | {
|
---|
158 | return $this->quota;
|
---|
159 | }
|
---|
160 | /**
|
---|
161 | * @param string
|
---|
162 | */
|
---|
163 | public function setTitle($title)
|
---|
164 | {
|
---|
165 | $this->title = $title;
|
---|
166 | }
|
---|
167 | /**
|
---|
168 | * @return string
|
---|
169 | */
|
---|
170 | public function getTitle()
|
---|
171 | {
|
---|
172 | return $this->title;
|
---|
173 | }
|
---|
174 | /**
|
---|
175 | * @param Usage
|
---|
176 | */
|
---|
177 | public function setUsage(Usage $usage)
|
---|
178 | {
|
---|
179 | $this->usage = $usage;
|
---|
180 | }
|
---|
181 | /**
|
---|
182 | * @return Usage
|
---|
183 | */
|
---|
184 | public function getUsage()
|
---|
185 | {
|
---|
186 | return $this->usage;
|
---|
187 | }
|
---|
188 | }
|
---|
189 |
|
---|
190 | // Adding a class alias for backwards compatibility with the previous class name.
|
---|
191 | class_alias(GoogleApiServiceusageV1ServiceConfig::class, 'Google_Service_ServiceUsage_GoogleApiServiceusageV1ServiceConfig');
|
---|