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\NetworkManagement;
19
20class Step extends \Google\Model
21{
22  protected $abortType = AbortInfo::class;
23  protected $abortDataType = '';
24  /**
25   * @var bool
26   */
27  public $causesDrop;
28  protected $cloudSqlInstanceType = CloudSQLInstanceInfo::class;
29  protected $cloudSqlInstanceDataType = '';
30  protected $deliverType = DeliverInfo::class;
31  protected $deliverDataType = '';
32  /**
33   * @var string
34   */
35  public $description;
36  protected $dropType = DropInfo::class;
37  protected $dropDataType = '';
38  protected $endpointType = EndpointInfo::class;
39  protected $endpointDataType = '';
40  protected $firewallType = FirewallInfo::class;
41  protected $firewallDataType = '';
42  protected $forwardType = ForwardInfo::class;
43  protected $forwardDataType = '';
44  protected $forwardingRuleType = ForwardingRuleInfo::class;
45  protected $forwardingRuleDataType = '';
46  protected $gkeMasterType = GKEMasterInfo::class;
47  protected $gkeMasterDataType = '';
48  protected $instanceType = InstanceInfo::class;
49  protected $instanceDataType = '';
50  protected $loadBalancerType = LoadBalancerInfo::class;
51  protected $loadBalancerDataType = '';
52  protected $networkType = NetworkInfo::class;
53  protected $networkDataType = '';
54  /**
55   * @var string
56   */
57  public $projectId;
58  protected $routeType = RouteInfo::class;
59  protected $routeDataType = '';
60  /**
61   * @var string
62   */
63  public $state;
64  protected $vpnGatewayType = VpnGatewayInfo::class;
65  protected $vpnGatewayDataType = '';
66  protected $vpnTunnelType = VpnTunnelInfo::class;
67  protected $vpnTunnelDataType = '';
68
69  /**
70   * @param AbortInfo
71   */
72  public function setAbort(AbortInfo $abort)
73  {
74    $this->abort = $abort;
75  }
76  /**
77   * @return AbortInfo
78   */
79  public function getAbort()
80  {
81    return $this->abort;
82  }
83  /**
84   * @param bool
85   */
86  public function setCausesDrop($causesDrop)
87  {
88    $this->causesDrop = $causesDrop;
89  }
90  /**
91   * @return bool
92   */
93  public function getCausesDrop()
94  {
95    return $this->causesDrop;
96  }
97  /**
98   * @param CloudSQLInstanceInfo
99   */
100  public function setCloudSqlInstance(CloudSQLInstanceInfo $cloudSqlInstance)
101  {
102    $this->cloudSqlInstance = $cloudSqlInstance;
103  }
104  /**
105   * @return CloudSQLInstanceInfo
106   */
107  public function getCloudSqlInstance()
108  {
109    return $this->cloudSqlInstance;
110  }
111  /**
112   * @param DeliverInfo
113   */
114  public function setDeliver(DeliverInfo $deliver)
115  {
116    $this->deliver = $deliver;
117  }
118  /**
119   * @return DeliverInfo
120   */
121  public function getDeliver()
122  {
123    return $this->deliver;
124  }
125  /**
126   * @param string
127   */
128  public function setDescription($description)
129  {
130    $this->description = $description;
131  }
132  /**
133   * @return string
134   */
135  public function getDescription()
136  {
137    return $this->description;
138  }
139  /**
140   * @param DropInfo
141   */
142  public function setDrop(DropInfo $drop)
143  {
144    $this->drop = $drop;
145  }
146  /**
147   * @return DropInfo
148   */
149  public function getDrop()
150  {
151    return $this->drop;
152  }
153  /**
154   * @param EndpointInfo
155   */
156  public function setEndpoint(EndpointInfo $endpoint)
157  {
158    $this->endpoint = $endpoint;
159  }
160  /**
161   * @return EndpointInfo
162   */
163  public function getEndpoint()
164  {
165    return $this->endpoint;
166  }
167  /**
168   * @param FirewallInfo
169   */
170  public function setFirewall(FirewallInfo $firewall)
171  {
172    $this->firewall = $firewall;
173  }
174  /**
175   * @return FirewallInfo
176   */
177  public function getFirewall()
178  {
179    return $this->firewall;
180  }
181  /**
182   * @param ForwardInfo
183   */
184  public function setForward(ForwardInfo $forward)
185  {
186    $this->forward = $forward;
187  }
188  /**
189   * @return ForwardInfo
190   */
191  public function getForward()
192  {
193    return $this->forward;
194  }
195  /**
196   * @param ForwardingRuleInfo
197   */
198  public function setForwardingRule(ForwardingRuleInfo $forwardingRule)
199  {
200    $this->forwardingRule = $forwardingRule;
201  }
202  /**
203   * @return ForwardingRuleInfo
204   */
205  public function getForwardingRule()
206  {
207    return $this->forwardingRule;
208  }
209  /**
210   * @param GKEMasterInfo
211   */
212  public function setGkeMaster(GKEMasterInfo $gkeMaster)
213  {
214    $this->gkeMaster = $gkeMaster;
215  }
216  /**
217   * @return GKEMasterInfo
218   */
219  public function getGkeMaster()
220  {
221    return $this->gkeMaster;
222  }
223  /**
224   * @param InstanceInfo
225   */
226  public function setInstance(InstanceInfo $instance)
227  {
228    $this->instance = $instance;
229  }
230  /**
231   * @return InstanceInfo
232   */
233  public function getInstance()
234  {
235    return $this->instance;
236  }
237  /**
238   * @param LoadBalancerInfo
239   */
240  public function setLoadBalancer(LoadBalancerInfo $loadBalancer)
241  {
242    $this->loadBalancer = $loadBalancer;
243  }
244  /**
245   * @return LoadBalancerInfo
246   */
247  public function getLoadBalancer()
248  {
249    return $this->loadBalancer;
250  }
251  /**
252   * @param NetworkInfo
253   */
254  public function setNetwork(NetworkInfo $network)
255  {
256    $this->network = $network;
257  }
258  /**
259   * @return NetworkInfo
260   */
261  public function getNetwork()
262  {
263    return $this->network;
264  }
265  /**
266   * @param string
267   */
268  public function setProjectId($projectId)
269  {
270    $this->projectId = $projectId;
271  }
272  /**
273   * @return string
274   */
275  public function getProjectId()
276  {
277    return $this->projectId;
278  }
279  /**
280   * @param RouteInfo
281   */
282  public function setRoute(RouteInfo $route)
283  {
284    $this->route = $route;
285  }
286  /**
287   * @return RouteInfo
288   */
289  public function getRoute()
290  {
291    return $this->route;
292  }
293  /**
294   * @param string
295   */
296  public function setState($state)
297  {
298    $this->state = $state;
299  }
300  /**
301   * @return string
302   */
303  public function getState()
304  {
305    return $this->state;
306  }
307  /**
308   * @param VpnGatewayInfo
309   */
310  public function setVpnGateway(VpnGatewayInfo $vpnGateway)
311  {
312    $this->vpnGateway = $vpnGateway;
313  }
314  /**
315   * @return VpnGatewayInfo
316   */
317  public function getVpnGateway()
318  {
319    return $this->vpnGateway;
320  }
321  /**
322   * @param VpnTunnelInfo
323   */
324  public function setVpnTunnel(VpnTunnelInfo $vpnTunnel)
325  {
326    $this->vpnTunnel = $vpnTunnel;
327  }
328  /**
329   * @return VpnTunnelInfo
330   */
331  public function getVpnTunnel()
332  {
333    return $this->vpnTunnel;
334  }
335}
336
337// Adding a class alias for backwards compatibility with the previous class name.
338class_alias(Step::class, 'Google_Service_NetworkManagement_Step');
339