Skip to content

Commit 5eef67e

Browse files
1 parent 9ea0ca4 commit 5eef67e

36 files changed

Lines changed: 916 additions & 13 deletions

src/Compute.php

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2488,6 +2488,21 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
24882488
'type' => 'string',
24892489
],
24902490
],
2491+
],'testIamPermissions' => [
2492+
'path' => 'projects/{project}/global/firewalls/{resource}/testIamPermissions',
2493+
'httpMethod' => 'POST',
2494+
'parameters' => [
2495+
'project' => [
2496+
'location' => 'path',
2497+
'type' => 'string',
2498+
'required' => true,
2499+
],
2500+
'resource' => [
2501+
'location' => 'path',
2502+
'type' => 'string',
2503+
'required' => true,
2504+
],
2505+
],
24912506
],'update' => [
24922507
'path' => 'projects/{project}/global/firewalls/{firewall}',
24932508
'httpMethod' => 'PUT',
@@ -16508,6 +16523,10 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1650816523
'type' => 'string',
1650916524
'required' => true,
1651016525
],
16526+
'view' => [
16527+
'location' => 'query',
16528+
'type' => 'string',
16529+
],
1651116530
],
1651216531
],'getIamPolicy' => [
1651316532
'path' => 'projects/{project}/zones/{zone}/{parentResource}/reservationSubBlocks/{resource}/getIamPolicy',
@@ -19244,6 +19263,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
1924419263
'location' => 'query',
1924519264
'type' => 'string',
1924619265
],
19266+
'views' => [
19267+
'location' => 'query',
19268+
'type' => 'string',
19269+
'repeated' => true,
19270+
],
1924719271
],
1924819272
],'delete' => [
1924919273
'path' => 'projects/{project}/regions/{region}/subnetworks/{subnetwork}',
Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,43 @@
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 AcceleratorTopologiesInfo extends \Google\Collection
21+
{
22+
protected $collection_key = 'acceleratorTopologyInfos';
23+
protected $acceleratorTopologyInfosType = AcceleratorTopologiesInfoAcceleratorTopologyInfo::class;
24+
protected $acceleratorTopologyInfosDataType = 'array';
25+
26+
/**
27+
* @param AcceleratorTopologiesInfoAcceleratorTopologyInfo[]
28+
*/
29+
public function setAcceleratorTopologyInfos($acceleratorTopologyInfos)
30+
{
31+
$this->acceleratorTopologyInfos = $acceleratorTopologyInfos;
32+
}
33+
/**
34+
* @return AcceleratorTopologiesInfoAcceleratorTopologyInfo[]
35+
*/
36+
public function getAcceleratorTopologyInfos()
37+
{
38+
return $this->acceleratorTopologyInfos;
39+
}
40+
}
41+
42+
// Adding a class alias for backwards compatibility with the previous class name.
43+
class_alias(AcceleratorTopologiesInfo::class, 'Google_Service_Compute_AcceleratorTopologiesInfo');
Lines changed: 61 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,61 @@
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 AcceleratorTopologiesInfoAcceleratorTopologyInfo extends \Google\Collection
21+
{
22+
protected $collection_key = 'infoPerTopologyStates';
23+
/**
24+
* @var string
25+
*/
26+
public $acceleratorTopology;
27+
protected $infoPerTopologyStatesType = AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState::class;
28+
protected $infoPerTopologyStatesDataType = 'array';
29+
30+
/**
31+
* @param string
32+
*/
33+
public function setAcceleratorTopology($acceleratorTopology)
34+
{
35+
$this->acceleratorTopology = $acceleratorTopology;
36+
}
37+
/**
38+
* @return string
39+
*/
40+
public function getAcceleratorTopology()
41+
{
42+
return $this->acceleratorTopology;
43+
}
44+
/**
45+
* @param AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState[]
46+
*/
47+
public function setInfoPerTopologyStates($infoPerTopologyStates)
48+
{
49+
$this->infoPerTopologyStates = $infoPerTopologyStates;
50+
}
51+
/**
52+
* @return AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState[]
53+
*/
54+
public function getInfoPerTopologyStates()
55+
{
56+
return $this->infoPerTopologyStates;
57+
}
58+
}
59+
60+
// Adding a class alias for backwards compatibility with the previous class name.
61+
class_alias(AcceleratorTopologiesInfoAcceleratorTopologyInfo::class, 'Google_Service_Compute_AcceleratorTopologiesInfoAcceleratorTopologyInfo');
Lines changed: 62 additions & 0 deletions
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\Compute;
19+
20+
class AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState extends \Google\Model
21+
{
22+
/**
23+
* @var int
24+
*/
25+
public $count;
26+
/**
27+
* @var string
28+
*/
29+
public $state;
30+
31+
/**
32+
* @param int
33+
*/
34+
public function setCount($count)
35+
{
36+
$this->count = $count;
37+
}
38+
/**
39+
* @return int
40+
*/
41+
public function getCount()
42+
{
43+
return $this->count;
44+
}
45+
/**
46+
* @param string
47+
*/
48+
public function setState($state)
49+
{
50+
$this->state = $state;
51+
}
52+
/**
53+
* @return string
54+
*/
55+
public function getState()
56+
{
57+
return $this->state;
58+
}
59+
}
60+
61+
// Adding a class alias for backwards compatibility with the previous class name.
62+
class_alias(AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState::class, 'Google_Service_Compute_AcceleratorTopologiesInfoAcceleratorTopologyInfoInfoPerTopologyState');

src/Compute/FutureReservation.php

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -69,6 +69,10 @@ class FutureReservation extends \Google\Model
6969
* @var string
7070
*/
7171
public $planningStatus;
72+
/**
73+
* @var string
74+
*/
75+
public $reservationMode;
7276
/**
7377
* @var string
7478
*/
@@ -298,6 +302,20 @@ public function getPlanningStatus()
298302
{
299303
return $this->planningStatus;
300304
}
305+
/**
306+
* @param string
307+
*/
308+
public function setReservationMode($reservationMode)
309+
{
310+
$this->reservationMode = $reservationMode;
311+
}
312+
/**
313+
* @return string
314+
*/
315+
public function getReservationMode()
316+
{
317+
return $this->reservationMode;
318+
}
301319
/**
302320
* @param string
303321
*/

src/Compute/GRPCTLSHealthCheck.php

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 GRPCTLSHealthCheck extends \Google\Model
21+
{
22+
/**
23+
* @var string
24+
*/
25+
public $grpcServiceName;
26+
/**
27+
* @var int
28+
*/
29+
public $port;
30+
/**
31+
* @var string
32+
*/
33+
public $portSpecification;
34+
35+
/**
36+
* @param string
37+
*/
38+
public function setGrpcServiceName($grpcServiceName)
39+
{
40+
$this->grpcServiceName = $grpcServiceName;
41+
}
42+
/**
43+
* @return string
44+
*/
45+
public function getGrpcServiceName()
46+
{
47+
return $this->grpcServiceName;
48+
}
49+
/**
50+
* @param int
51+
*/
52+
public function setPort($port)
53+
{
54+
$this->port = $port;
55+
}
56+
/**
57+
* @return int
58+
*/
59+
public function getPort()
60+
{
61+
return $this->port;
62+
}
63+
/**
64+
* @param string
65+
*/
66+
public function setPortSpecification($portSpecification)
67+
{
68+
$this->portSpecification = $portSpecification;
69+
}
70+
/**
71+
* @return string
72+
*/
73+
public function getPortSpecification()
74+
{
75+
return $this->portSpecification;
76+
}
77+
}
78+
79+
// Adding a class alias for backwards compatibility with the previous class name.
80+
class_alias(GRPCTLSHealthCheck::class, 'Google_Service_Compute_GRPCTLSHealthCheck');

src/Compute/HealthCheck.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ class HealthCheck extends \Google\Collection
3434
public $description;
3535
protected $grpcHealthCheckType = GRPCHealthCheck::class;
3636
protected $grpcHealthCheckDataType = '';
37+
protected $grpcTlsHealthCheckType = GRPCTLSHealthCheck::class;
38+
protected $grpcTlsHealthCheckDataType = '';
3739
/**
3840
* @var int
3941
*/
@@ -143,6 +145,20 @@ public function getGrpcHealthCheck()
143145
{
144146
return $this->grpcHealthCheck;
145147
}
148+
/**
149+
* @param GRPCTLSHealthCheck
150+
*/
151+
public function setGrpcTlsHealthCheck(GRPCTLSHealthCheck $grpcTlsHealthCheck)
152+
{
153+
$this->grpcTlsHealthCheck = $grpcTlsHealthCheck;
154+
}
155+
/**
156+
* @return GRPCTLSHealthCheck
157+
*/
158+
public function getGrpcTlsHealthCheck()
159+
{
160+
return $this->grpcTlsHealthCheck;
161+
}
146162
/**
147163
* @param int
148164
*/

src/Compute/Interconnect.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,8 @@ class Interconnect extends \Google\Collection
112112
* @var string
113113
*/
114114
public $operationalStatus;
115+
protected $paramsType = InterconnectParams::class;
116+
protected $paramsDataType = '';
115117
/**
116118
* @var string
117119
*/
@@ -503,6 +505,20 @@ public function getOperationalStatus()
503505
{
504506
return $this->operationalStatus;
505507
}
508+
/**
509+
* @param InterconnectParams
510+
*/
511+
public function setParams(InterconnectParams $params)
512+
{
513+
$this->params = $params;
514+
}
515+
/**
516+
* @return InterconnectParams
517+
*/
518+
public function getParams()
519+
{
520+
return $this->params;
521+
}
506522
/**
507523
* @param string
508524
*/

0 commit comments

Comments
 (0)