source: vendor/google/apiclient-services/src/Networkconnectivity/PscConnection.php@ e3d4e0a

Last change on this file since e3d4e0a was e3d4e0a, checked in by Vlado 222039 <vlado.popovski@…>, 7 days ago

Upload project files

  • Property mode set to 100644
File size: 5.1 KB
Line 
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\Networkconnectivity;
19
20class PscConnection extends \Google\Model
21{
22 /**
23 * @var string
24 */
25 public $consumerAddress;
26 /**
27 * @var string
28 */
29 public $consumerForwardingRule;
30 /**
31 * @var string
32 */
33 public $consumerTargetProject;
34 protected $errorDataType = '';
35 protected $errorInfoType = GoogleRpcErrorInfo::class;
36 protected $errorInfoDataType = '';
37 /**
38 * @var string
39 */
40 public $errorType;
41 /**
42 * @var string
43 */
44 public $gceOperation;
45 /**
46 * @var string
47 */
48 public $ipVersion;
49 /**
50 * @var string
51 */
52 public $producerInstanceId;
53 /**
54 * @var string[]
55 */
56 public $producerInstanceMetadata;
57 /**
58 * @var string
59 */
60 public $pscConnectionId;
61 /**
62 * @var string
63 */
64 public $selectedSubnetwork;
65 /**
66 * @var string
67 */
68 public $serviceClass;
69 /**
70 * @var string
71 */
72 public $state;
73
74 /**
75 * @param string
76 */
77 public function setConsumerAddress($consumerAddress)
78 {
79 $this->consumerAddress = $consumerAddress;
80 }
81 /**
82 * @return string
83 */
84 public function getConsumerAddress()
85 {
86 return $this->consumerAddress;
87 }
88 /**
89 * @param string
90 */
91 public function setConsumerForwardingRule($consumerForwardingRule)
92 {
93 $this->consumerForwardingRule = $consumerForwardingRule;
94 }
95 /**
96 * @return string
97 */
98 public function getConsumerForwardingRule()
99 {
100 return $this->consumerForwardingRule;
101 }
102 /**
103 * @param string
104 */
105 public function setConsumerTargetProject($consumerTargetProject)
106 {
107 $this->consumerTargetProject = $consumerTargetProject;
108 }
109 /**
110 * @return string
111 */
112 public function getConsumerTargetProject()
113 {
114 return $this->consumerTargetProject;
115 }
116 /**
117 * @param GoogleRpcStatus
118 */
119 public function setError(GoogleRpcStatus $error)
120 {
121 $this->error = $error;
122 }
123 /**
124 * @return GoogleRpcStatus
125 */
126 public function getError()
127 {
128 return $this->error;
129 }
130 /**
131 * @param GoogleRpcErrorInfo
132 */
133 public function setErrorInfo(GoogleRpcErrorInfo $errorInfo)
134 {
135 $this->errorInfo = $errorInfo;
136 }
137 /**
138 * @return GoogleRpcErrorInfo
139 */
140 public function getErrorInfo()
141 {
142 return $this->errorInfo;
143 }
144 /**
145 * @param string
146 */
147 public function setErrorType($errorType)
148 {
149 $this->errorType = $errorType;
150 }
151 /**
152 * @return string
153 */
154 public function getErrorType()
155 {
156 return $this->errorType;
157 }
158 /**
159 * @param string
160 */
161 public function setGceOperation($gceOperation)
162 {
163 $this->gceOperation = $gceOperation;
164 }
165 /**
166 * @return string
167 */
168 public function getGceOperation()
169 {
170 return $this->gceOperation;
171 }
172 /**
173 * @param string
174 */
175 public function setIpVersion($ipVersion)
176 {
177 $this->ipVersion = $ipVersion;
178 }
179 /**
180 * @return string
181 */
182 public function getIpVersion()
183 {
184 return $this->ipVersion;
185 }
186 /**
187 * @param string
188 */
189 public function setProducerInstanceId($producerInstanceId)
190 {
191 $this->producerInstanceId = $producerInstanceId;
192 }
193 /**
194 * @return string
195 */
196 public function getProducerInstanceId()
197 {
198 return $this->producerInstanceId;
199 }
200 /**
201 * @param string[]
202 */
203 public function setProducerInstanceMetadata($producerInstanceMetadata)
204 {
205 $this->producerInstanceMetadata = $producerInstanceMetadata;
206 }
207 /**
208 * @return string[]
209 */
210 public function getProducerInstanceMetadata()
211 {
212 return $this->producerInstanceMetadata;
213 }
214 /**
215 * @param string
216 */
217 public function setPscConnectionId($pscConnectionId)
218 {
219 $this->pscConnectionId = $pscConnectionId;
220 }
221 /**
222 * @return string
223 */
224 public function getPscConnectionId()
225 {
226 return $this->pscConnectionId;
227 }
228 /**
229 * @param string
230 */
231 public function setSelectedSubnetwork($selectedSubnetwork)
232 {
233 $this->selectedSubnetwork = $selectedSubnetwork;
234 }
235 /**
236 * @return string
237 */
238 public function getSelectedSubnetwork()
239 {
240 return $this->selectedSubnetwork;
241 }
242 /**
243 * @param string
244 */
245 public function setServiceClass($serviceClass)
246 {
247 $this->serviceClass = $serviceClass;
248 }
249 /**
250 * @return string
251 */
252 public function getServiceClass()
253 {
254 return $this->serviceClass;
255 }
256 /**
257 * @param string
258 */
259 public function setState($state)
260 {
261 $this->state = $state;
262 }
263 /**
264 * @return string
265 */
266 public function getState()
267 {
268 return $this->state;
269 }
270}
271
272// Adding a class alias for backwards compatibility with the previous class name.
273class_alias(PscConnection::class, 'Google_Service_Networkconnectivity_PscConnection');
Note: See TracBrowser for help on using the repository browser.