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. If set to a valid TCP port (1-65535), instructs the SIDECAR proxy * to listen on the specified port of localhost (127.0.0.1) address. The * SIDECAR proxy will expect all traffic to be redirected to this port * regardless of its actual ip:port destination. If unset, a port '15001' is * used as the interception port. This is applicable only for sidecar proxy * deployments. * * @param int $interceptionPort */ public function setInterceptionPort($interceptionPort) { $this->interceptionPort = $interceptionPort; } /** * @return int */ public function getInterceptionPort() { return $this->interceptionPort; } /** * Optional. Set of label tags associated with the Mesh resource. * * @param string[] $labels */ public function setLabels($labels) { $this->labels = $labels; } /** * @return string[] */ public function getLabels() { return $this->labels; } /** * Identifier. Name of the Mesh resource. It matches pattern * `projects/locations/meshes/`. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } /** * 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; } /** * 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(Mesh::class, 'Google_Service_NetworkServices_Mesh');