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\Baremetalsolution;
19
20class ProvisioningConfig extends \Google\Collection
21{
22  protected $collection_key = 'volumes';
23  /**
24   * @var string
25   */
26  public $cloudConsoleUri;
27  /**
28   * @var string
29   */
30  public $email;
31  /**
32   * @var string
33   */
34  public $handoverServiceAccount;
35  protected $instancesType = InstanceConfig::class;
36  protected $instancesDataType = 'array';
37  /**
38   * @var string
39   */
40  public $location;
41  /**
42   * @var string
43   */
44  public $name;
45  protected $networksType = NetworkConfig::class;
46  protected $networksDataType = 'array';
47  /**
48   * @var string
49   */
50  public $state;
51  /**
52   * @var string
53   */
54  public $ticketId;
55  /**
56   * @var string
57   */
58  public $updateTime;
59  protected $volumesType = VolumeConfig::class;
60  protected $volumesDataType = 'array';
61
62  /**
63   * @param string
64   */
65  public function setCloudConsoleUri($cloudConsoleUri)
66  {
67    $this->cloudConsoleUri = $cloudConsoleUri;
68  }
69  /**
70   * @return string
71   */
72  public function getCloudConsoleUri()
73  {
74    return $this->cloudConsoleUri;
75  }
76  /**
77   * @param string
78   */
79  public function setEmail($email)
80  {
81    $this->email = $email;
82  }
83  /**
84   * @return string
85   */
86  public function getEmail()
87  {
88    return $this->email;
89  }
90  /**
91   * @param string
92   */
93  public function setHandoverServiceAccount($handoverServiceAccount)
94  {
95    $this->handoverServiceAccount = $handoverServiceAccount;
96  }
97  /**
98   * @return string
99   */
100  public function getHandoverServiceAccount()
101  {
102    return $this->handoverServiceAccount;
103  }
104  /**
105   * @param InstanceConfig[]
106   */
107  public function setInstances($instances)
108  {
109    $this->instances = $instances;
110  }
111  /**
112   * @return InstanceConfig[]
113   */
114  public function getInstances()
115  {
116    return $this->instances;
117  }
118  /**
119   * @param string
120   */
121  public function setLocation($location)
122  {
123    $this->location = $location;
124  }
125  /**
126   * @return string
127   */
128  public function getLocation()
129  {
130    return $this->location;
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 NetworkConfig[]
148   */
149  public function setNetworks($networks)
150  {
151    $this->networks = $networks;
152  }
153  /**
154   * @return NetworkConfig[]
155   */
156  public function getNetworks()
157  {
158    return $this->networks;
159  }
160  /**
161   * @param string
162   */
163  public function setState($state)
164  {
165    $this->state = $state;
166  }
167  /**
168   * @return string
169   */
170  public function getState()
171  {
172    return $this->state;
173  }
174  /**
175   * @param string
176   */
177  public function setTicketId($ticketId)
178  {
179    $this->ticketId = $ticketId;
180  }
181  /**
182   * @return string
183   */
184  public function getTicketId()
185  {
186    return $this->ticketId;
187  }
188  /**
189   * @param string
190   */
191  public function setUpdateTime($updateTime)
192  {
193    $this->updateTime = $updateTime;
194  }
195  /**
196   * @return string
197   */
198  public function getUpdateTime()
199  {
200    return $this->updateTime;
201  }
202  /**
203   * @param VolumeConfig[]
204   */
205  public function setVolumes($volumes)
206  {
207    $this->volumes = $volumes;
208  }
209  /**
210   * @return VolumeConfig[]
211   */
212  public function getVolumes()
213  {
214    return $this->volumes;
215  }
216}
217
218// Adding a class alias for backwards compatibility with the previous class name.
219class_alias(ProvisioningConfig::class, 'Google_Service_Baremetalsolution_ProvisioningConfig');
220