File tree 5 files changed +150
-0
lines changed
5 files changed +150
-0
lines changed Original file line number Diff line number Diff line change @@ -35,6 +35,10 @@ class ConsumerPscConfig extends \Google\Model
35
35
* @var string
36
36
*/
37
37
public $ producerInstanceId ;
38
+ /**
39
+ * @var string[]
40
+ */
41
+ public $ producerInstanceMetadata ;
38
42
/**
39
43
* @var string
40
44
*/
@@ -104,6 +108,20 @@ public function getProducerInstanceId()
104
108
{
105
109
return $ this ->producerInstanceId ;
106
110
}
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
+ }
107
125
/**
108
126
* @param string
109
127
*/
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ class ConsumerPscConnection extends \Google\Model
46
46
* @var string
47
47
*/
48
48
public $ producerInstanceId ;
49
+ /**
50
+ * @var string[]
51
+ */
52
+ public $ producerInstanceMetadata ;
49
53
/**
50
54
* @var string
51
55
*/
@@ -179,6 +183,20 @@ public function getProducerInstanceId()
179
183
{
180
184
return $ this ->producerInstanceId ;
181
185
}
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
+ }
182
200
/**
183
201
* @param string
184
202
*/
Original file line number Diff line number Diff line change @@ -36,6 +36,8 @@ class InternalRange extends \Google\Collection
36
36
* @var string[]
37
37
*/
38
38
public $ labels ;
39
+ protected $ migrationType = Migration::class;
40
+ protected $ migrationDataType = '' ;
39
41
/**
40
42
* @var string
41
43
*/
@@ -129,6 +131,20 @@ public function getLabels()
129
131
{
130
132
return $ this ->labels ;
131
133
}
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
+ }
132
148
/**
133
149
* @param string
134
150
*/
Original file line number Diff line number Diff line change
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 ' );
Original file line number Diff line number Diff line change @@ -46,6 +46,10 @@ class PscConnection extends \Google\Model
46
46
* @var string
47
47
*/
48
48
public $ producerInstanceId ;
49
+ /**
50
+ * @var string[]
51
+ */
52
+ public $ producerInstanceMetadata ;
49
53
/**
50
54
* @var string
51
55
*/
@@ -54,6 +58,10 @@ class PscConnection extends \Google\Model
54
58
* @var string
55
59
*/
56
60
public $ selectedSubnetwork ;
61
+ /**
62
+ * @var string
63
+ */
64
+ public $ serviceClass ;
57
65
/**
58
66
* @var string
59
67
*/
@@ -171,6 +179,20 @@ public function getProducerInstanceId()
171
179
{
172
180
return $ this ->producerInstanceId ;
173
181
}
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
+ }
174
196
/**
175
197
* @param string
176
198
*/
@@ -199,6 +221,20 @@ public function getSelectedSubnetwork()
199
221
{
200
222
return $ this ->selectedSubnetwork ;
201
223
}
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
+ }
202
238
/**
203
239
* @param string
204
240
*/
You can’t perform that action at this time.
0 commit comments