addresses = $addresses; } /** * @return string[] */ public function getAddresses() { return $this->addresses; } /** * Optional. A fully-qualified Certificates URL reference. The proxy presents * a Certificate (selected based on SNI) when establishing a TLS connection. * This feature only applies to gateways of type 'SECURE_WEB_GATEWAY'. * * @param string[] $certificateUrls */ public function setCertificateUrls($certificateUrls) { $this->certificateUrls = $certificateUrls; } /** * @return string[] */ public function getCertificateUrls() { return $this->certificateUrls; } /** * Output only. The timestamp when the resource was created. * * @param string $createTime */ public function setCreateTime($createTime) { $this->createTime = $createTime; } /** * @return string */ public function getCreateTime() { return $this->createTime; } /** * Optional. A free-text description of the resource. Max length 1024 * characters. * * @param string $description */ public function setDescription($description) { $this->description = $description; } /** * @return string */ public function getDescription() { return $this->description; } /** * Optional. Determines if envoy will insert internal debug headers into * upstream requests. Other Envoy headers may still be injected. By default, * envoy will not insert any debug headers. * * Accepted values: ENVOY_HEADERS_UNSPECIFIED, NONE, DEBUG_HEADERS * * @param self::ENVOY_HEADERS_* $envoyHeaders */ public function setEnvoyHeaders($envoyHeaders) { $this->envoyHeaders = $envoyHeaders; } /** * @return self::ENVOY_HEADERS_* */ public function getEnvoyHeaders() { return $this->envoyHeaders; } /** * Optional. A fully-qualified GatewaySecurityPolicy URL reference. Defines * how a server should apply security policy to inbound (VM to Proxy) * initiated connections. For example: * `projects/locations/gatewaySecurityPolicies/swg-policy`. This policy is * specific to gateways of type 'SECURE_WEB_GATEWAY'. * * @param string $gatewaySecurityPolicy */ public function setGatewaySecurityPolicy($gatewaySecurityPolicy) { $this->gatewaySecurityPolicy = $gatewaySecurityPolicy; } /** * @return string */ public function getGatewaySecurityPolicy() { return $this->gatewaySecurityPolicy; } /** * Optional. The IP Version that will be used by this gateway. Valid options * are IPV4 or IPV6. Default is IPV4. * * Accepted values: IP_VERSION_UNSPECIFIED, IPV4, IPV6 * * @param self::IP_VERSION_* $ipVersion */ public function setIpVersion($ipVersion) { $this->ipVersion = $ipVersion; } /** * @return self::IP_VERSION_* */ public function getIpVersion() { return $this->ipVersion; } /** * Optional. Set of label tags associated with the Gateway resource. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Identifier. Name of the Gateway resource. It matches pattern * `projects/locations/gateways/`. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * Optional. The relative resource name identifying the VPC network that is * using this configuration. For example: * `projects/global/networks/network-1`. Currently, this field is specific to * gateways of type 'SECURE_WEB_GATEWAY'. * * @param string $network */ public function setNetwork($network) { $this->network = $network; } /** * @return string */ public function getNetwork() { return $this->network; } /** * Required. One or more port numbers (1-65535), on which the Gateway will * receive traffic. The proxy binds to the specified ports. Gateways of type * 'SECURE_WEB_GATEWAY' are limited to 5 ports. Gateways of type 'OPEN_MESH' * listen on 0.0.0.0 for IPv4 and :: for IPv6 and support multiple ports. * * @param int[] $ports */ public function setPorts($ports) { $this->ports = $ports; } /** * @return int[] */ public function getPorts() { return $this->ports; } /** * Optional. The routing mode of the Gateway. This field is configurable only * for gateways of type SECURE_WEB_GATEWAY. This field is required for * gateways of type SECURE_WEB_GATEWAY. * * Accepted values: EXPLICIT_ROUTING_MODE, NEXT_HOP_ROUTING_MODE * * @param self::ROUTING_MODE_* $routingMode */ public function setRoutingMode($routingMode) { $this->routingMode = $routingMode; } /** * @return self::ROUTING_MODE_* */ public function getRoutingMode() { return $this->routingMode; } /** * Optional. Scope determines how configuration across multiple Gateway * instances are merged. The configuration for multiple Gateway instances with * the same scope will be merged as presented as a single configuration to the * proxy/load balancer. Max length 64 characters. Scope should start with a * letter and can only have letters, numbers, hyphens. * * @param string $scope */ public function setScope($scope) { $this->scope = $scope; } /** * @return string */ public function getScope() { return $this->scope; } /** * Output only. Server-defined URL of this resource * * @param string $selfLink */ public function setSelfLink($selfLink) { $this->selfLink = $selfLink; } /** * @return string */ public function getSelfLink() { return $this->selfLink; } /** * Optional. A fully-qualified ServerTLSPolicy URL reference. Specifies how * TLS traffic is terminated. If empty, TLS termination is disabled. * * @param string $serverTlsPolicy */ public function setServerTlsPolicy($serverTlsPolicy) { $this->serverTlsPolicy = $serverTlsPolicy; } /** * @return string */ public function getServerTlsPolicy() { return $this->serverTlsPolicy; } /** * Optional. The relative resource name identifying the subnetwork in which * this SWG is allocated. For example: `projects/regions/us- * central1/subnetworks/network-1` Currently, this field is specific to * gateways of type 'SECURE_WEB_GATEWAY". * * @param string $subnetwork */ public function setSubnetwork($subnetwork) { $this->subnetwork = $subnetwork; } /** * @return string */ public function getSubnetwork() { return $this->subnetwork; } /** * Immutable. The type of the customer managed gateway. This field is * required. If unspecified, an error is returned. * * Accepted values: TYPE_UNSPECIFIED, OPEN_MESH, SECURE_WEB_GATEWAY * * @param self::TYPE_* $type */ public function setType($type) { $this->type = $type; } /** * @return self::TYPE_* */ public function getType() { return $this->type; } /** * Output only. The timestamp when the resource was updated. * * @param string $updateTime */ public function setUpdateTime($updateTime) { $this->updateTime = $updateTime; } /** * @return string */ public function getUpdateTime() { return $this->updateTime; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Gateway::class, 'Google_Service_NetworkServices_Gateway');