Skip to content

Commit 6b04159

Browse files
1 parent 3307dda commit 6b04159

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

src/NetworkServices/Gateway.php

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,14 @@ class Gateway extends \Google\Collection
8080
* @var string[]
8181
*/
8282
public $addresses;
83+
/**
84+
* Optional. If true, the Gateway will listen on all ports. This is mutually
85+
* exclusive with the `ports` field. This field only applies to gateways of
86+
* type 'SECURE_WEB_GATEWAY'.
87+
*
88+
* @var bool
89+
*/
90+
public $allPorts;
8391
/**
8492
* Optional. If true, the gateway will allow traffic from clients outside of
8593
* the region where the gateway is located. This field is configurable only
@@ -239,6 +247,24 @@ public function getAddresses()
239247
{
240248
return $this->addresses;
241249
}
250+
/**
251+
* Optional. If true, the Gateway will listen on all ports. This is mutually
252+
* exclusive with the `ports` field. This field only applies to gateways of
253+
* type 'SECURE_WEB_GATEWAY'.
254+
*
255+
* @param bool $allPorts
256+
*/
257+
public function setAllPorts($allPorts)
258+
{
259+
$this->allPorts = $allPorts;
260+
}
261+
/**
262+
* @return bool
263+
*/
264+
public function getAllPorts()
265+
{
266+
return $this->allPorts;
267+
}
242268
/**
243269
* Optional. If true, the gateway will allow traffic from clients outside of
244270
* the region where the gateway is located. This field is configurable only

0 commit comments

Comments
 (0)