service = $service; } /** * @return string */ public function getService() { return $this->service; } /** * Optional Cloud Run tag represents the "named-revision" to provide * additional fine-grained traffic routing information. * * The tag must be 1-63 characters long, and comply withRFC1035. * * Example value: "revision-0010". * * @param string $tag */ public function setTag($tag) { $this->tag = $tag; } /** * @return string */ public function getTag() { return $this->tag; } /** * An URL mask is one of the main components of the Cloud Function. * * A template to parse and fields from a request URL. URL mask allows for * routing to multiple Run services without having to create multiple network * endpoint groups and backend services. * * For example, request URLs foo1.domain.com/bar1 andfoo1.domain.com/bar2 can * be backed by the same Serverless Network Endpoint Group (NEG) with URL * mask.domain.com/. The URL mask will parse them to { service="bar1", * tag="foo1" } and { service="bar2", tag="foo2" } respectively. * * @param string $urlMask */ public function setUrlMask($urlMask) { $this->urlMask = $urlMask; } /** * @return string */ public function getUrlMask() { return $this->urlMask; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NetworkEndpointGroupCloudRun::class, 'Google_Service_Compute_NetworkEndpointGroupCloudRun');