Skip to content

Commit 0a11c96

Browse files
1 parent 9f3ee73 commit 0a11c96

10 files changed

Lines changed: 316 additions & 2 deletions

src/Compute.php

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18436,6 +18436,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1843618436
'type' => 'string',
1843718437
'required' => true,
1843818438
],
18439+
'views' => [
18440+
'location' => 'query',
18441+
'type' => 'string',
18442+
'repeated' => true,
18443+
],
1843918444
],
1844018445
],'getIamPolicy' => [
1844118446
'path' => 'projects/{project}/regions/{region}/subnetworks/{resource}/getIamPolicy',
@@ -18514,6 +18519,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1851418519
'location' => 'query',
1851518520
'type' => 'boolean',
1851618521
],
18522+
'views' => [
18523+
'location' => 'query',
18524+
'type' => 'string',
18525+
'repeated' => true,
18526+
],
1851718527
],
1851818528
],'listUsable' => [
1851918529
'path' => 'projects/{project}/aggregated/subnetworks/listUsable',

src/Compute/InterconnectLocation.php

Lines changed: 19 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
class InterconnectLocation extends \Google\Collection
2121
{
22-
protected $collection_key = 'regionInfos';
22+
protected $collection_key = 'singleRegionProductionCriticalPeerLocations';
2323
/**
2424
* @var string
2525
*/
@@ -82,6 +82,10 @@ class InterconnectLocation extends \Google\Collection
8282
* @var string
8383
*/
8484
public $selfLink;
85+
/**
86+
* @var string[]
87+
*/
88+
public $singleRegionProductionCriticalPeerLocations;
8589
/**
8690
* @var string
8791
*/
@@ -315,6 +319,20 @@ public function getSelfLink()
315319
{
316320
return $this->selfLink;
317321
}
322+
/**
323+
* @param string[]
324+
*/
325+
public function setSingleRegionProductionCriticalPeerLocations($singleRegionProductionCriticalPeerLocations)
326+
{
327+
$this->singleRegionProductionCriticalPeerLocations = $singleRegionProductionCriticalPeerLocations;
328+
}
329+
/**
330+
* @return string[]
331+
*/
332+
public function getSingleRegionProductionCriticalPeerLocations()
333+
{
334+
return $this->singleRegionProductionCriticalPeerLocations;
335+
}
318336
/**
319337
* @param string
320338
*/

src/Compute/InterconnectRemoteLocation.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,10 @@ class InterconnectRemoteLocation extends \Google\Collection
7272
* @var int
7373
*/
7474
public $maxLagSize10Gbps;
75+
/**
76+
* @var int
77+
*/
78+
public $maxLagSize400Gbps;
7579
/**
7680
* @var string
7781
*/
@@ -291,6 +295,20 @@ public function getMaxLagSize10Gbps()
291295
{
292296
return $this->maxLagSize10Gbps;
293297
}
298+
/**
299+
* @param int
300+
*/
301+
public function setMaxLagSize400Gbps($maxLagSize400Gbps)
302+
{
303+
$this->maxLagSize400Gbps = $maxLagSize400Gbps;
304+
}
305+
/**
306+
* @return int
307+
*/
308+
public function getMaxLagSize400Gbps()
309+
{
310+
return $this->maxLagSize400Gbps;
311+
}
294312
/**
295313
* @param string
296314
*/

src/Compute/RequestMirrorPolicy.php

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ class RequestMirrorPolicy extends \Google\Model
2323
* @var string
2424
*/
2525
public $backendService;
26+
public $mirrorPercent;
2627

2728
/**
2829
* @param string
@@ -38,6 +39,14 @@ public function getBackendService()
3839
{
3940
return $this->backendService;
4041
}
42+
public function setMirrorPercent($mirrorPercent)
43+
{
44+
$this->mirrorPercent = $mirrorPercent;
45+
}
46+
public function getMirrorPercent()
47+
{
48+
return $this->mirrorPercent;
49+
}
4150
}
4251

4352
// Adding a class alias for backwards compatibility with the previous class name.

src/Compute/Resource/Projects.php

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,14 @@ public function listXpnHosts($project, ProjectsListXpnHostsRequest $postBody, $o
321321
return $this->call('listXpnHosts', [$params], XpnHostList::class);
322322
}
323323
/**
324-
* Moves a persistent disk from one zone to another. (projects.moveDisk)
324+
* Starting September 29, 2025, you can't use the moveDisk API on new projects.
325+
* To move a disk to a different region or zone, follow the steps in [Change the
326+
* location of a disk](https://{$universe.dns_names.final_documentation_domain}/
327+
* compute/docs/disks/migrate-to-hyperdisk#migrate-to-hd). Projects that already
328+
* use the moveDisk API can continue usage until September 29, 2026. Starting
329+
* November 1, 2025, API responses will include a warning message in the
330+
* response body about the upcoming deprecation. You can skip the message to
331+
* continue using the service without interruption. (projects.moveDisk)
325332
*
326333
* @param string $project Project ID for this request.
327334
* @param DiskMoveRequest $postBody

src/Compute/Resource/Subnetworks.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,6 +182,10 @@ public function expandIpCidrRange($project, $region, $subnetwork, SubnetworksExp
182182
* @param string $region Name of the region scoping this request.
183183
* @param string $subnetwork Name of the Subnetwork resource to return.
184184
* @param array $optParams Optional parameters.
185+
*
186+
* @opt_param string views Defines the extra views returned back in the
187+
* subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data
188+
* is included in the response.
185189
* @return Subnetwork
186190
* @throws \Google\Service\Exception
187191
*/
@@ -299,6 +303,9 @@ public function insert($project, $region, Subnetwork $postBody, $optParams = [])
299303
* false. For example, when partial success behavior is enabled, aggregatedList
300304
* for a single zone scope either returns all resources in the zone or no
301305
* resources, with an error code.
306+
* @opt_param string views Defines the extra views returned back in the
307+
* subnetwork resource. Supported values: - WITH_UTILIZATION: Utilization data
308+
* is included in the response.
302309
* @return SubnetworkList
303310
* @throws \Google\Service\Exception
304311
*/

src/Compute/Subnetwork.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -134,6 +134,8 @@ class Subnetwork extends \Google\Collection
134134
* @var string[]
135135
*/
136136
public $systemReservedInternalIpv6Ranges;
137+
protected $utilizationDetailsType = SubnetworkUtilizationDetails::class;
138+
protected $utilizationDetailsDataType = '';
137139

138140
/**
139141
* @param string
@@ -555,6 +557,20 @@ public function getSystemReservedInternalIpv6Ranges()
555557
{
556558
return $this->systemReservedInternalIpv6Ranges;
557559
}
560+
/**
561+
* @param SubnetworkUtilizationDetails
562+
*/
563+
public function setUtilizationDetails(SubnetworkUtilizationDetails $utilizationDetails)
564+
{
565+
$this->utilizationDetails = $utilizationDetails;
566+
}
567+
/**
568+
* @return SubnetworkUtilizationDetails
569+
*/
570+
public function getUtilizationDetails()
571+
{
572+
return $this->utilizationDetails;
573+
}
558574
}
559575

560576
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 91 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,91 @@
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\Compute;
19+
20+
class SubnetworkUtilizationDetails extends \Google\Collection
21+
{
22+
protected $collection_key = 'ipv4Utilizations';
23+
protected $externalIpv6InstanceUtilizationType = SubnetworkUtilizationDetailsIPV6Utilization::class;
24+
protected $externalIpv6InstanceUtilizationDataType = '';
25+
protected $externalIpv6LbUtilizationType = SubnetworkUtilizationDetailsIPV6Utilization::class;
26+
protected $externalIpv6LbUtilizationDataType = '';
27+
protected $internalIpv6UtilizationType = SubnetworkUtilizationDetailsIPV6Utilization::class;
28+
protected $internalIpv6UtilizationDataType = '';
29+
protected $ipv4UtilizationsType = SubnetworkUtilizationDetailsIPV4Utilization::class;
30+
protected $ipv4UtilizationsDataType = 'array';
31+
32+
/**
33+
* @param SubnetworkUtilizationDetailsIPV6Utilization
34+
*/
35+
public function setExternalIpv6InstanceUtilization(SubnetworkUtilizationDetailsIPV6Utilization $externalIpv6InstanceUtilization)
36+
{
37+
$this->externalIpv6InstanceUtilization = $externalIpv6InstanceUtilization;
38+
}
39+
/**
40+
* @return SubnetworkUtilizationDetailsIPV6Utilization
41+
*/
42+
public function getExternalIpv6InstanceUtilization()
43+
{
44+
return $this->externalIpv6InstanceUtilization;
45+
}
46+
/**
47+
* @param SubnetworkUtilizationDetailsIPV6Utilization
48+
*/
49+
public function setExternalIpv6LbUtilization(SubnetworkUtilizationDetailsIPV6Utilization $externalIpv6LbUtilization)
50+
{
51+
$this->externalIpv6LbUtilization = $externalIpv6LbUtilization;
52+
}
53+
/**
54+
* @return SubnetworkUtilizationDetailsIPV6Utilization
55+
*/
56+
public function getExternalIpv6LbUtilization()
57+
{
58+
return $this->externalIpv6LbUtilization;
59+
}
60+
/**
61+
* @param SubnetworkUtilizationDetailsIPV6Utilization
62+
*/
63+
public function setInternalIpv6Utilization(SubnetworkUtilizationDetailsIPV6Utilization $internalIpv6Utilization)
64+
{
65+
$this->internalIpv6Utilization = $internalIpv6Utilization;
66+
}
67+
/**
68+
* @return SubnetworkUtilizationDetailsIPV6Utilization
69+
*/
70+
public function getInternalIpv6Utilization()
71+
{
72+
return $this->internalIpv6Utilization;
73+
}
74+
/**
75+
* @param SubnetworkUtilizationDetailsIPV4Utilization[]
76+
*/
77+
public function setIpv4Utilizations($ipv4Utilizations)
78+
{
79+
$this->ipv4Utilizations = $ipv4Utilizations;
80+
}
81+
/**
82+
* @return SubnetworkUtilizationDetailsIPV4Utilization[]
83+
*/
84+
public function getIpv4Utilizations()
85+
{
86+
return $this->ipv4Utilizations;
87+
}
88+
}
89+
90+
// Adding a class alias for backwards compatibility with the previous class name.
91+
class_alias(SubnetworkUtilizationDetails::class, 'Google_Service_Compute_SubnetworkUtilizationDetails');
Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
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\Compute;
19+
20+
class SubnetworkUtilizationDetailsIPV4Utilization extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $rangeName;
26+
/**
27+
* @var string
28+
*/
29+
public $totalAllocatedIp;
30+
/**
31+
* @var string
32+
*/
33+
public $totalFreeIp;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setRangeName($rangeName)
39+
{
40+
$this->rangeName = $rangeName;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getRangeName()
46+
{
47+
return $this->rangeName;
48+
}
49+
/**
50+
* @param string
51+
*/
52+
public function setTotalAllocatedIp($totalAllocatedIp)
53+
{
54+
$this->totalAllocatedIp = $totalAllocatedIp;
55+
}
56+
/**
57+
* @return string
58+
*/
59+
public function getTotalAllocatedIp()
60+
{
61+
return $this->totalAllocatedIp;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setTotalFreeIp($totalFreeIp)
67+
{
68+
$this->totalFreeIp = $totalFreeIp;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getTotalFreeIp()
74+
{
75+
return $this->totalFreeIp;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(SubnetworkUtilizationDetailsIPV4Utilization::class, 'Google_Service_Compute_SubnetworkUtilizationDetailsIPV4Utilization');

0 commit comments

Comments
 (0)