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\Apigee;
19
20class GoogleCloudApigeeV1ApiProduct extends \Google\Collection
21{
22  protected $collection_key = 'scopes';
23  /**
24   * @var string[]
25   */
26  public $apiResources;
27  /**
28   * @var string
29   */
30  public $approvalType;
31  protected $attributesType = GoogleCloudApigeeV1Attribute::class;
32  protected $attributesDataType = 'array';
33  /**
34   * @var string
35   */
36  public $createdAt;
37  /**
38   * @var string
39   */
40  public $description;
41  /**
42   * @var string
43   */
44  public $displayName;
45  /**
46   * @var string[]
47   */
48  public $environments;
49  protected $graphqlOperationGroupType = GoogleCloudApigeeV1GraphQLOperationGroup::class;
50  protected $graphqlOperationGroupDataType = '';
51  /**
52   * @var string
53   */
54  public $lastModifiedAt;
55  /**
56   * @var string
57   */
58  public $name;
59  protected $operationGroupType = GoogleCloudApigeeV1OperationGroup::class;
60  protected $operationGroupDataType = '';
61  /**
62   * @var string[]
63   */
64  public $proxies;
65  /**
66   * @var string
67   */
68  public $quota;
69  /**
70   * @var string
71   */
72  public $quotaInterval;
73  /**
74   * @var string
75   */
76  public $quotaTimeUnit;
77  /**
78   * @var string[]
79   */
80  public $scopes;
81
82  /**
83   * @param string[]
84   */
85  public function setApiResources($apiResources)
86  {
87    $this->apiResources = $apiResources;
88  }
89  /**
90   * @return string[]
91   */
92  public function getApiResources()
93  {
94    return $this->apiResources;
95  }
96  /**
97   * @param string
98   */
99  public function setApprovalType($approvalType)
100  {
101    $this->approvalType = $approvalType;
102  }
103  /**
104   * @return string
105   */
106  public function getApprovalType()
107  {
108    return $this->approvalType;
109  }
110  /**
111   * @param GoogleCloudApigeeV1Attribute[]
112   */
113  public function setAttributes($attributes)
114  {
115    $this->attributes = $attributes;
116  }
117  /**
118   * @return GoogleCloudApigeeV1Attribute[]
119   */
120  public function getAttributes()
121  {
122    return $this->attributes;
123  }
124  /**
125   * @param string
126   */
127  public function setCreatedAt($createdAt)
128  {
129    $this->createdAt = $createdAt;
130  }
131  /**
132   * @return string
133   */
134  public function getCreatedAt()
135  {
136    return $this->createdAt;
137  }
138  /**
139   * @param string
140   */
141  public function setDescription($description)
142  {
143    $this->description = $description;
144  }
145  /**
146   * @return string
147   */
148  public function getDescription()
149  {
150    return $this->description;
151  }
152  /**
153   * @param string
154   */
155  public function setDisplayName($displayName)
156  {
157    $this->displayName = $displayName;
158  }
159  /**
160   * @return string
161   */
162  public function getDisplayName()
163  {
164    return $this->displayName;
165  }
166  /**
167   * @param string[]
168   */
169  public function setEnvironments($environments)
170  {
171    $this->environments = $environments;
172  }
173  /**
174   * @return string[]
175   */
176  public function getEnvironments()
177  {
178    return $this->environments;
179  }
180  /**
181   * @param GoogleCloudApigeeV1GraphQLOperationGroup
182   */
183  public function setGraphqlOperationGroup(GoogleCloudApigeeV1GraphQLOperationGroup $graphqlOperationGroup)
184  {
185    $this->graphqlOperationGroup = $graphqlOperationGroup;
186  }
187  /**
188   * @return GoogleCloudApigeeV1GraphQLOperationGroup
189   */
190  public function getGraphqlOperationGroup()
191  {
192    return $this->graphqlOperationGroup;
193  }
194  /**
195   * @param string
196   */
197  public function setLastModifiedAt($lastModifiedAt)
198  {
199    $this->lastModifiedAt = $lastModifiedAt;
200  }
201  /**
202   * @return string
203   */
204  public function getLastModifiedAt()
205  {
206    return $this->lastModifiedAt;
207  }
208  /**
209   * @param string
210   */
211  public function setName($name)
212  {
213    $this->name = $name;
214  }
215  /**
216   * @return string
217   */
218  public function getName()
219  {
220    return $this->name;
221  }
222  /**
223   * @param GoogleCloudApigeeV1OperationGroup
224   */
225  public function setOperationGroup(GoogleCloudApigeeV1OperationGroup $operationGroup)
226  {
227    $this->operationGroup = $operationGroup;
228  }
229  /**
230   * @return GoogleCloudApigeeV1OperationGroup
231   */
232  public function getOperationGroup()
233  {
234    return $this->operationGroup;
235  }
236  /**
237   * @param string[]
238   */
239  public function setProxies($proxies)
240  {
241    $this->proxies = $proxies;
242  }
243  /**
244   * @return string[]
245   */
246  public function getProxies()
247  {
248    return $this->proxies;
249  }
250  /**
251   * @param string
252   */
253  public function setQuota($quota)
254  {
255    $this->quota = $quota;
256  }
257  /**
258   * @return string
259   */
260  public function getQuota()
261  {
262    return $this->quota;
263  }
264  /**
265   * @param string
266   */
267  public function setQuotaInterval($quotaInterval)
268  {
269    $this->quotaInterval = $quotaInterval;
270  }
271  /**
272   * @return string
273   */
274  public function getQuotaInterval()
275  {
276    return $this->quotaInterval;
277  }
278  /**
279   * @param string
280   */
281  public function setQuotaTimeUnit($quotaTimeUnit)
282  {
283    $this->quotaTimeUnit = $quotaTimeUnit;
284  }
285  /**
286   * @return string
287   */
288  public function getQuotaTimeUnit()
289  {
290    return $this->quotaTimeUnit;
291  }
292  /**
293   * @param string[]
294   */
295  public function setScopes($scopes)
296  {
297    $this->scopes = $scopes;
298  }
299  /**
300   * @return string[]
301   */
302  public function getScopes()
303  {
304    return $this->scopes;
305  }
306}
307
308// Adding a class alias for backwards compatibility with the previous class name.
309class_alias(GoogleCloudApigeeV1ApiProduct::class, 'Google_Service_Apigee_GoogleCloudApigeeV1ApiProduct');
310