backendService = $backendService; } /** * @return BackendServiceReference */ public function getBackendService() { return $this->backendService; } /** * URL of the forwarding rule associated with the health state of the network * endpoint. * * @param ForwardingRuleReference $forwardingRule */ public function setForwardingRule(ForwardingRuleReference $forwardingRule) { $this->forwardingRule = $forwardingRule; } /** * @return ForwardingRuleReference */ public function getForwardingRule() { return $this->forwardingRule; } /** * URL of the health check associated with the health state of the network * endpoint. * * @param HealthCheckReference $healthCheck */ public function setHealthCheck(HealthCheckReference $healthCheck) { $this->healthCheck = $healthCheck; } /** * @return HealthCheckReference */ public function getHealthCheck() { return $this->healthCheck; } /** * URL of the health check service associated with the health state of the * network endpoint. * * @param HealthCheckServiceReference $healthCheckService */ public function setHealthCheckService(HealthCheckServiceReference $healthCheckService) { $this->healthCheckService = $healthCheckService; } /** * @return HealthCheckServiceReference */ public function getHealthCheckService() { return $this->healthCheckService; } /** * Health state of the network endpoint determined based on the health checks * configured. * * Accepted values: DRAINING, HEALTHY, UNHEALTHY, UNKNOWN * * @param self::HEALTH_STATE_* $healthState */ public function setHealthState($healthState) { $this->healthState = $healthState; } /** * @return self::HEALTH_STATE_* */ public function getHealthState() { return $this->healthState; } /** * Health state of the ipv6 network endpoint determined based on the health * checks configured. * * Accepted values: DRAINING, HEALTHY, UNHEALTHY, UNKNOWN * * @param self::IPV6_HEALTH_STATE_* $ipv6HealthState */ public function setIpv6HealthState($ipv6HealthState) { $this->ipv6HealthState = $ipv6HealthState; } /** * @return self::IPV6_HEALTH_STATE_* */ public function getIpv6HealthState() { return $this->ipv6HealthState; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(HealthStatusForNetworkEndpoint::class, 'Google_Service_Compute_HealthStatusForNetworkEndpoint');