Skip to content

Commit 88ee170

Browse files
1 parent 3051579 commit 88ee170

File tree

5 files changed

+150
-0
lines changed

5 files changed

+150
-0
lines changed

src/Networkconnectivity/ConsumerPscConfig.php

+18
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,10 @@ class ConsumerPscConfig extends \Google\Model
3535
* @var string
3636
*/
3737
public $producerInstanceId;
38+
/**
39+
* @var string[]
40+
*/
41+
public $producerInstanceMetadata;
3842
/**
3943
* @var string
4044
*/
@@ -104,6 +108,20 @@ public function getProducerInstanceId()
104108
{
105109
return $this->producerInstanceId;
106110
}
111+
/**
112+
* @param string[]
113+
*/
114+
public function setProducerInstanceMetadata($producerInstanceMetadata)
115+
{
116+
$this->producerInstanceMetadata = $producerInstanceMetadata;
117+
}
118+
/**
119+
* @return string[]
120+
*/
121+
public function getProducerInstanceMetadata()
122+
{
123+
return $this->producerInstanceMetadata;
124+
}
107125
/**
108126
* @param string
109127
*/

src/Networkconnectivity/ConsumerPscConnection.php

+18
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ class ConsumerPscConnection extends \Google\Model
4646
* @var string
4747
*/
4848
public $producerInstanceId;
49+
/**
50+
* @var string[]
51+
*/
52+
public $producerInstanceMetadata;
4953
/**
5054
* @var string
5155
*/
@@ -179,6 +183,20 @@ public function getProducerInstanceId()
179183
{
180184
return $this->producerInstanceId;
181185
}
186+
/**
187+
* @param string[]
188+
*/
189+
public function setProducerInstanceMetadata($producerInstanceMetadata)
190+
{
191+
$this->producerInstanceMetadata = $producerInstanceMetadata;
192+
}
193+
/**
194+
* @return string[]
195+
*/
196+
public function getProducerInstanceMetadata()
197+
{
198+
return $this->producerInstanceMetadata;
199+
}
182200
/**
183201
* @param string
184202
*/

src/Networkconnectivity/InternalRange.php

+16
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,8 @@ class InternalRange extends \Google\Collection
3636
* @var string[]
3737
*/
3838
public $labels;
39+
protected $migrationType = Migration::class;
40+
protected $migrationDataType = '';
3941
/**
4042
* @var string
4143
*/
@@ -129,6 +131,20 @@ public function getLabels()
129131
{
130132
return $this->labels;
131133
}
134+
/**
135+
* @param Migration
136+
*/
137+
public function setMigration(Migration $migration)
138+
{
139+
$this->migration = $migration;
140+
}
141+
/**
142+
* @return Migration
143+
*/
144+
public function getMigration()
145+
{
146+
return $this->migration;
147+
}
132148
/**
133149
* @param string
134150
*/

src/Networkconnectivity/Migration.php

+62
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,62 @@
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+
18+
namespace Google\Service\Networkconnectivity;
19+
20+
class Migration extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $source;
26+
/**
27+
* @var string
28+
*/
29+
public $target;
30+
31+
/**
32+
* @param string
33+
*/
34+
public function setSource($source)
35+
{
36+
$this->source = $source;
37+
}
38+
/**
39+
* @return string
40+
*/
41+
public function getSource()
42+
{
43+
return $this->source;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setTarget($target)
49+
{
50+
$this->target = $target;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getTarget()
56+
{
57+
return $this->target;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(Migration::class, 'Google_Service_Networkconnectivity_Migration');

src/Networkconnectivity/PscConnection.php

+36
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,10 @@ class PscConnection extends \Google\Model
4646
* @var string
4747
*/
4848
public $producerInstanceId;
49+
/**
50+
* @var string[]
51+
*/
52+
public $producerInstanceMetadata;
4953
/**
5054
* @var string
5155
*/
@@ -54,6 +58,10 @@ class PscConnection extends \Google\Model
5458
* @var string
5559
*/
5660
public $selectedSubnetwork;
61+
/**
62+
* @var string
63+
*/
64+
public $serviceClass;
5765
/**
5866
* @var string
5967
*/
@@ -171,6 +179,20 @@ public function getProducerInstanceId()
171179
{
172180
return $this->producerInstanceId;
173181
}
182+
/**
183+
* @param string[]
184+
*/
185+
public function setProducerInstanceMetadata($producerInstanceMetadata)
186+
{
187+
$this->producerInstanceMetadata = $producerInstanceMetadata;
188+
}
189+
/**
190+
* @return string[]
191+
*/
192+
public function getProducerInstanceMetadata()
193+
{
194+
return $this->producerInstanceMetadata;
195+
}
174196
/**
175197
* @param string
176198
*/
@@ -199,6 +221,20 @@ public function getSelectedSubnetwork()
199221
{
200222
return $this->selectedSubnetwork;
201223
}
224+
/**
225+
* @param string
226+
*/
227+
public function setServiceClass($serviceClass)
228+
{
229+
$this->serviceClass = $serviceClass;
230+
}
231+
/**
232+
* @return string
233+
*/
234+
public function getServiceClass()
235+
{
236+
return $this->serviceClass;
237+
}
202238
/**
203239
* @param string
204240
*/

0 commit comments

Comments
 (0)