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\Connectors;
19
20class ConnectorVersion extends \Google\Collection
21{
22  protected $collection_key = 'roleGrants';
23  protected $authConfigTemplatesType = AuthConfigTemplate::class;
24  protected $authConfigTemplatesDataType = 'array';
25  protected $configVariableTemplatesType = ConfigVariableTemplate::class;
26  protected $configVariableTemplatesDataType = 'array';
27  /**
28   * @var string
29   */
30  public $createTime;
31  /**
32   * @var string
33   */
34  public $displayName;
35  protected $egressControlConfigType = EgressControlConfig::class;
36  protected $egressControlConfigDataType = '';
37  /**
38   * @var string[]
39   */
40  public $labels;
41  /**
42   * @var string
43   */
44  public $launchStage;
45  /**
46   * @var string
47   */
48  public $name;
49  /**
50   * @var string
51   */
52  public $releaseVersion;
53  protected $roleGrantType = RoleGrant::class;
54  protected $roleGrantDataType = '';
55  protected $roleGrantsType = RoleGrant::class;
56  protected $roleGrantsDataType = 'array';
57  protected $supportedRuntimeFeaturesType = SupportedRuntimeFeatures::class;
58  protected $supportedRuntimeFeaturesDataType = '';
59  /**
60   * @var string
61   */
62  public $updateTime;
63
64  /**
65   * @param AuthConfigTemplate[]
66   */
67  public function setAuthConfigTemplates($authConfigTemplates)
68  {
69    $this->authConfigTemplates = $authConfigTemplates;
70  }
71  /**
72   * @return AuthConfigTemplate[]
73   */
74  public function getAuthConfigTemplates()
75  {
76    return $this->authConfigTemplates;
77  }
78  /**
79   * @param ConfigVariableTemplate[]
80   */
81  public function setConfigVariableTemplates($configVariableTemplates)
82  {
83    $this->configVariableTemplates = $configVariableTemplates;
84  }
85  /**
86   * @return ConfigVariableTemplate[]
87   */
88  public function getConfigVariableTemplates()
89  {
90    return $this->configVariableTemplates;
91  }
92  /**
93   * @param string
94   */
95  public function setCreateTime($createTime)
96  {
97    $this->createTime = $createTime;
98  }
99  /**
100   * @return string
101   */
102  public function getCreateTime()
103  {
104    return $this->createTime;
105  }
106  /**
107   * @param string
108   */
109  public function setDisplayName($displayName)
110  {
111    $this->displayName = $displayName;
112  }
113  /**
114   * @return string
115   */
116  public function getDisplayName()
117  {
118    return $this->displayName;
119  }
120  /**
121   * @param EgressControlConfig
122   */
123  public function setEgressControlConfig(EgressControlConfig $egressControlConfig)
124  {
125    $this->egressControlConfig = $egressControlConfig;
126  }
127  /**
128   * @return EgressControlConfig
129   */
130  public function getEgressControlConfig()
131  {
132    return $this->egressControlConfig;
133  }
134  /**
135   * @param string[]
136   */
137  public function setLabels($labels)
138  {
139    $this->labels = $labels;
140  }
141  /**
142   * @return string[]
143   */
144  public function getLabels()
145  {
146    return $this->labels;
147  }
148  /**
149   * @param string
150   */
151  public function setLaunchStage($launchStage)
152  {
153    $this->launchStage = $launchStage;
154  }
155  /**
156   * @return string
157   */
158  public function getLaunchStage()
159  {
160    return $this->launchStage;
161  }
162  /**
163   * @param string
164   */
165  public function setName($name)
166  {
167    $this->name = $name;
168  }
169  /**
170   * @return string
171   */
172  public function getName()
173  {
174    return $this->name;
175  }
176  /**
177   * @param string
178   */
179  public function setReleaseVersion($releaseVersion)
180  {
181    $this->releaseVersion = $releaseVersion;
182  }
183  /**
184   * @return string
185   */
186  public function getReleaseVersion()
187  {
188    return $this->releaseVersion;
189  }
190  /**
191   * @param RoleGrant
192   */
193  public function setRoleGrant(RoleGrant $roleGrant)
194  {
195    $this->roleGrant = $roleGrant;
196  }
197  /**
198   * @return RoleGrant
199   */
200  public function getRoleGrant()
201  {
202    return $this->roleGrant;
203  }
204  /**
205   * @param RoleGrant[]
206   */
207  public function setRoleGrants($roleGrants)
208  {
209    $this->roleGrants = $roleGrants;
210  }
211  /**
212   * @return RoleGrant[]
213   */
214  public function getRoleGrants()
215  {
216    return $this->roleGrants;
217  }
218  /**
219   * @param SupportedRuntimeFeatures
220   */
221  public function setSupportedRuntimeFeatures(SupportedRuntimeFeatures $supportedRuntimeFeatures)
222  {
223    $this->supportedRuntimeFeatures = $supportedRuntimeFeatures;
224  }
225  /**
226   * @return SupportedRuntimeFeatures
227   */
228  public function getSupportedRuntimeFeatures()
229  {
230    return $this->supportedRuntimeFeatures;
231  }
232  /**
233   * @param string
234   */
235  public function setUpdateTime($updateTime)
236  {
237    $this->updateTime = $updateTime;
238  }
239  /**
240   * @return string
241   */
242  public function getUpdateTime()
243  {
244    return $this->updateTime;
245  }
246}
247
248// Adding a class alias for backwards compatibility with the previous class name.
249class_alias(ConnectorVersion::class, 'Google_Service_Connectors_ConnectorVersion');
250