@@ -46,6 +46,24 @@ class CloneContext extends \Google\Collection
4646 * @var string
4747 */
4848 public $ destinationInstanceName ;
49+ /**
50+ * Optional. The fully qualified URI of the VPC network to which the cloned
51+ * instance will be connected via Private Services Access for private IP. For
52+ * example:`projects/my-network-project/global/networks/my-network`. This
53+ * field is only required for cross-project cloning.
54+ *
55+ * @var string
56+ */
57+ public $ destinationNetwork ;
58+ /**
59+ * Optional. The project ID of the destination project where the cloned
60+ * instance will be created. To perform a cross-project clone, this field is
61+ * required. If not specified, the clone is created in the same project as the
62+ * source instance.
63+ *
64+ * @var string
65+ */
66+ public $ destinationProject ;
4967 /**
5068 * This is always `sql#cloneContext`.
5169 *
@@ -162,6 +180,44 @@ public function getDestinationInstanceName()
162180 {
163181 return $ this ->destinationInstanceName ;
164182 }
183+ /**
184+ * Optional. The fully qualified URI of the VPC network to which the cloned
185+ * instance will be connected via Private Services Access for private IP. For
186+ * example:`projects/my-network-project/global/networks/my-network`. This
187+ * field is only required for cross-project cloning.
188+ *
189+ * @param string $destinationNetwork
190+ */
191+ public function setDestinationNetwork ($ destinationNetwork )
192+ {
193+ $ this ->destinationNetwork = $ destinationNetwork ;
194+ }
195+ /**
196+ * @return string
197+ */
198+ public function getDestinationNetwork ()
199+ {
200+ return $ this ->destinationNetwork ;
201+ }
202+ /**
203+ * Optional. The project ID of the destination project where the cloned
204+ * instance will be created. To perform a cross-project clone, this field is
205+ * required. If not specified, the clone is created in the same project as the
206+ * source instance.
207+ *
208+ * @param string $destinationProject
209+ */
210+ public function setDestinationProject ($ destinationProject )
211+ {
212+ $ this ->destinationProject = $ destinationProject ;
213+ }
214+ /**
215+ * @return string
216+ */
217+ public function getDestinationProject ()
218+ {
219+ return $ this ->destinationProject ;
220+ }
165221 /**
166222 * This is always `sql#cloneContext`.
167223 *
0 commit comments