File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff 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
You can’t perform that action at this time.
0 commit comments