Skip to content

Commit 9925dde

Browse files
Regenerate compute client
1 parent c9fa9d7 commit 9925dde

File tree

79 files changed

+6523
-23
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

79 files changed

+6523
-23
lines changed

src/Compute.php

Lines changed: 534 additions & 0 deletions
Large diffs are not rendered by default.

src/Compute/AllocationResourceStatus.php

Lines changed: 34 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,43 @@
1919

2020
class AllocationResourceStatus extends \Google\Model
2121
{
22+
/**
23+
* @var int
24+
*/
25+
public $reservationBlockCount;
26+
protected $reservationMaintenanceType = GroupMaintenanceInfo::class;
27+
protected $reservationMaintenanceDataType = '';
2228
protected $specificSkuAllocationType = AllocationResourceStatusSpecificSKUAllocation::class;
2329
protected $specificSkuAllocationDataType = '';
2430

31+
/**
32+
* @param int
33+
*/
34+
public function setReservationBlockCount($reservationBlockCount)
35+
{
36+
$this->reservationBlockCount = $reservationBlockCount;
37+
}
38+
/**
39+
* @return int
40+
*/
41+
public function getReservationBlockCount()
42+
{
43+
return $this->reservationBlockCount;
44+
}
45+
/**
46+
* @param GroupMaintenanceInfo
47+
*/
48+
public function setReservationMaintenance(GroupMaintenanceInfo $reservationMaintenance)
49+
{
50+
$this->reservationMaintenance = $reservationMaintenance;
51+
}
52+
/**
53+
* @return GroupMaintenanceInfo
54+
*/
55+
public function getReservationMaintenance()
56+
{
57+
return $this->reservationMaintenance;
58+
}
2559
/**
2660
* @param AllocationResourceStatusSpecificSKUAllocation
2761
*/

src/Compute/BackendBucket.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class BackendBucket extends \Google\Collection
5858
* @var string
5959
*/
6060
public $kind;
61+
/**
62+
* @var string
63+
*/
64+
public $loadBalancingScheme;
6165
/**
6266
* @var string
6367
*/
@@ -209,6 +213,20 @@ public function getKind()
209213
{
210214
return $this->kind;
211215
}
216+
/**
217+
* @param string
218+
*/
219+
public function setLoadBalancingScheme($loadBalancingScheme)
220+
{
221+
$this->loadBalancingScheme = $loadBalancingScheme;
222+
}
223+
/**
224+
* @return string
225+
*/
226+
public function getLoadBalancingScheme()
227+
{
228+
return $this->loadBalancingScheme;
229+
}
212230
/**
213231
* @param string
214232
*/

src/Compute/BackendService.php

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,14 @@ class BackendService extends \Google\Collection
6666
* @var bool
6767
*/
6868
public $enableCDN;
69+
/**
70+
* @var string
71+
*/
72+
public $externalManagedMigrationState;
73+
/**
74+
* @var float
75+
*/
76+
public $externalManagedMigrationTestingPercentage;
6977
protected $failoverPolicyType = BackendServiceFailoverPolicy::class;
7078
protected $failoverPolicyDataType = '';
7179
/**
@@ -379,6 +387,34 @@ public function getEnableCDN()
379387
{
380388
return $this->enableCDN;
381389
}
390+
/**
391+
* @param string
392+
*/
393+
public function setExternalManagedMigrationState($externalManagedMigrationState)
394+
{
395+
$this->externalManagedMigrationState = $externalManagedMigrationState;
396+
}
397+
/**
398+
* @return string
399+
*/
400+
public function getExternalManagedMigrationState()
401+
{
402+
return $this->externalManagedMigrationState;
403+
}
404+
/**
405+
* @param float
406+
*/
407+
public function setExternalManagedMigrationTestingPercentage($externalManagedMigrationTestingPercentage)
408+
{
409+
$this->externalManagedMigrationTestingPercentage = $externalManagedMigrationTestingPercentage;
410+
}
411+
/**
412+
* @return float
413+
*/
414+
public function getExternalManagedMigrationTestingPercentage()
415+
{
416+
return $this->externalManagedMigrationTestingPercentage;
417+
}
382418
/**
383419
* @param BackendServiceFailoverPolicy
384420
*/

src/Compute/BackendServiceHAPolicy.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ class BackendServiceHAPolicy extends \Google\Model
2323
* @var string
2424
*/
2525
public $fastIPMove;
26+
protected $leaderType = BackendServiceHAPolicyLeader::class;
27+
protected $leaderDataType = '';
2628

2729
/**
2830
* @param string
@@ -38,6 +40,20 @@ public function getFastIPMove()
3840
{
3941
return $this->fastIPMove;
4042
}
43+
/**
44+
* @param BackendServiceHAPolicyLeader
45+
*/
46+
public function setLeader(BackendServiceHAPolicyLeader $leader)
47+
{
48+
$this->leader = $leader;
49+
}
50+
/**
51+
* @return BackendServiceHAPolicyLeader
52+
*/
53+
public function getLeader()
54+
{
55+
return $this->leader;
56+
}
4157
}
4258

4359
// Adding a class alias for backwards compatibility with the previous class name.
Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
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 BackendServiceHAPolicyLeader extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $backendGroup;
26+
protected $networkEndpointType = BackendServiceHAPolicyLeaderNetworkEndpoint::class;
27+
protected $networkEndpointDataType = '';
28+
29+
/**
30+
* @param string
31+
*/
32+
public function setBackendGroup($backendGroup)
33+
{
34+
$this->backendGroup = $backendGroup;
35+
}
36+
/**
37+
* @return string
38+
*/
39+
public function getBackendGroup()
40+
{
41+
return $this->backendGroup;
42+
}
43+
/**
44+
* @param BackendServiceHAPolicyLeaderNetworkEndpoint
45+
*/
46+
public function setNetworkEndpoint(BackendServiceHAPolicyLeaderNetworkEndpoint $networkEndpoint)
47+
{
48+
$this->networkEndpoint = $networkEndpoint;
49+
}
50+
/**
51+
* @return BackendServiceHAPolicyLeaderNetworkEndpoint
52+
*/
53+
public function getNetworkEndpoint()
54+
{
55+
return $this->networkEndpoint;
56+
}
57+
}
58+
59+
// Adding a class alias for backwards compatibility with the previous class name.
60+
class_alias(BackendServiceHAPolicyLeader::class, 'Google_Service_Compute_BackendServiceHAPolicyLeader');
Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 BackendServiceHAPolicyLeaderNetworkEndpoint extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $instance;
26+
27+
/**
28+
* @param string
29+
*/
30+
public function setInstance($instance)
31+
{
32+
$this->instance = $instance;
33+
}
34+
/**
35+
* @return string
36+
*/
37+
public function getInstance()
38+
{
39+
return $this->instance;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(BackendServiceHAPolicyLeaderNetworkEndpoint::class, 'Google_Service_Compute_BackendServiceHAPolicyLeaderNetworkEndpoint');

src/Compute/CacheInvalidationRule.php

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,13 @@
1717

1818
namespace Google\Service\Compute;
1919

20-
class CacheInvalidationRule extends \Google\Model
20+
class CacheInvalidationRule extends \Google\Collection
2121
{
22+
protected $collection_key = 'cacheTags';
23+
/**
24+
* @var string[]
25+
*/
26+
public $cacheTags;
2227
/**
2328
* @var string
2429
*/
@@ -28,6 +33,20 @@ class CacheInvalidationRule extends \Google\Model
2833
*/
2934
public $path;
3035

36+
/**
37+
* @param string[]
38+
*/
39+
public function setCacheTags($cacheTags)
40+
{
41+
$this->cacheTags = $cacheTags;
42+
}
43+
/**
44+
* @return string[]
45+
*/
46+
public function getCacheTags()
47+
{
48+
return $this->cacheTags;
49+
}
3150
/**
3251
* @param string
3352
*/

src/Compute/Firewall.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,8 @@ class Firewall extends \Google\Collection
6262
* @var string
6363
*/
6464
public $network;
65+
protected $paramsType = FirewallParams::class;
66+
protected $paramsDataType = '';
6567
/**
6668
* @var int
6769
*/
@@ -259,6 +261,20 @@ public function getNetwork()
259261
{
260262
return $this->network;
261263
}
264+
/**
265+
* @param FirewallParams
266+
*/
267+
public function setParams(FirewallParams $params)
268+
{
269+
$this->params = $params;
270+
}
271+
/**
272+
* @return FirewallParams
273+
*/
274+
public function getParams()
275+
{
276+
return $this->params;
277+
}
262278
/**
263279
* @param int
264280
*/

src/Compute/FirewallParams.php

Lines changed: 44 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
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 FirewallParams extends \Google\Model
21+
{
22+
/**
23+
* @var string[]
24+
*/
25+
public $resourceManagerTags;
26+
27+
/**
28+
* @param string[]
29+
*/
30+
public function setResourceManagerTags($resourceManagerTags)
31+
{
32+
$this->resourceManagerTags = $resourceManagerTags;
33+
}
34+
/**
35+
* @return string[]
36+
*/
37+
public function getResourceManagerTags()
38+
{
39+
return $this->resourceManagerTags;
40+
}
41+
}
42+
43+
// Adding a class alias for backwards compatibility with the previous class name.
44+
class_alias(FirewallParams::class, 'Google_Service_Compute_FirewallParams');

0 commit comments

Comments
 (0)