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\Apigateway;
19
20class ApigatewayApiConfig extends \Google\Collection
21{
22  protected $collection_key = 'openapiDocuments';
23  /**
24   * @var string
25   */
26  public $createTime;
27  /**
28   * @var string
29   */
30  public $displayName;
31  /**
32   * @var string
33   */
34  public $gatewayServiceAccount;
35  protected $grpcServicesType = ApigatewayApiConfigGrpcServiceDefinition::class;
36  protected $grpcServicesDataType = 'array';
37  /**
38   * @var string[]
39   */
40  public $labels;
41  protected $managedServiceConfigsType = ApigatewayApiConfigFile::class;
42  protected $managedServiceConfigsDataType = 'array';
43  /**
44   * @var string
45   */
46  public $name;
47  protected $openapiDocumentsType = ApigatewayApiConfigOpenApiDocument::class;
48  protected $openapiDocumentsDataType = 'array';
49  /**
50   * @var string
51   */
52  public $serviceConfigId;
53  /**
54   * @var string
55   */
56  public $state;
57  /**
58   * @var string
59   */
60  public $updateTime;
61
62  /**
63   * @param string
64   */
65  public function setCreateTime($createTime)
66  {
67    $this->createTime = $createTime;
68  }
69  /**
70   * @return string
71   */
72  public function getCreateTime()
73  {
74    return $this->createTime;
75  }
76  /**
77   * @param string
78   */
79  public function setDisplayName($displayName)
80  {
81    $this->displayName = $displayName;
82  }
83  /**
84   * @return string
85   */
86  public function getDisplayName()
87  {
88    return $this->displayName;
89  }
90  /**
91   * @param string
92   */
93  public function setGatewayServiceAccount($gatewayServiceAccount)
94  {
95    $this->gatewayServiceAccount = $gatewayServiceAccount;
96  }
97  /**
98   * @return string
99   */
100  public function getGatewayServiceAccount()
101  {
102    return $this->gatewayServiceAccount;
103  }
104  /**
105   * @param ApigatewayApiConfigGrpcServiceDefinition[]
106   */
107  public function setGrpcServices($grpcServices)
108  {
109    $this->grpcServices = $grpcServices;
110  }
111  /**
112   * @return ApigatewayApiConfigGrpcServiceDefinition[]
113   */
114  public function getGrpcServices()
115  {
116    return $this->grpcServices;
117  }
118  /**
119   * @param string[]
120   */
121  public function setLabels($labels)
122  {
123    $this->labels = $labels;
124  }
125  /**
126   * @return string[]
127   */
128  public function getLabels()
129  {
130    return $this->labels;
131  }
132  /**
133   * @param ApigatewayApiConfigFile[]
134   */
135  public function setManagedServiceConfigs($managedServiceConfigs)
136  {
137    $this->managedServiceConfigs = $managedServiceConfigs;
138  }
139  /**
140   * @return ApigatewayApiConfigFile[]
141   */
142  public function getManagedServiceConfigs()
143  {
144    return $this->managedServiceConfigs;
145  }
146  /**
147   * @param string
148   */
149  public function setName($name)
150  {
151    $this->name = $name;
152  }
153  /**
154   * @return string
155   */
156  public function getName()
157  {
158    return $this->name;
159  }
160  /**
161   * @param ApigatewayApiConfigOpenApiDocument[]
162   */
163  public function setOpenapiDocuments($openapiDocuments)
164  {
165    $this->openapiDocuments = $openapiDocuments;
166  }
167  /**
168   * @return ApigatewayApiConfigOpenApiDocument[]
169   */
170  public function getOpenapiDocuments()
171  {
172    return $this->openapiDocuments;
173  }
174  /**
175   * @param string
176   */
177  public function setServiceConfigId($serviceConfigId)
178  {
179    $this->serviceConfigId = $serviceConfigId;
180  }
181  /**
182   * @return string
183   */
184  public function getServiceConfigId()
185  {
186    return $this->serviceConfigId;
187  }
188  /**
189   * @param string
190   */
191  public function setState($state)
192  {
193    $this->state = $state;
194  }
195  /**
196   * @return string
197   */
198  public function getState()
199  {
200    return $this->state;
201  }
202  /**
203   * @param string
204   */
205  public function setUpdateTime($updateTime)
206  {
207    $this->updateTime = $updateTime;
208  }
209  /**
210   * @return string
211   */
212  public function getUpdateTime()
213  {
214    return $this->updateTime;
215  }
216}
217
218// Adding a class alias for backwards compatibility with the previous class name.
219class_alias(ApigatewayApiConfig::class, 'Google_Service_Apigateway_ApigatewayApiConfig');
220