consumerNetwork = $consumerNetwork; } /** * @return string */ public function getConsumerNetwork() { return $this->consumerNetwork; } /** * The url of a connected endpoint. * * @param string $endpoint */ public function setEndpoint($endpoint) { $this->endpoint = $endpoint; } /** * @return string */ public function getEndpoint() { return $this->endpoint; } /** * NAT IPs of the connected PSC endpoint and those of other endpoints * propagated from it. * * @param string[] $natIps */ public function setNatIps($natIps) { $this->natIps = $natIps; } /** * @return string[] */ public function getNatIps() { return $this->natIps; } /** * The number of consumer Network Connectivity Center spokes that the * connected Private Service Connect endpoint has propagated to. * * @param string $propagatedConnectionCount */ public function setPropagatedConnectionCount($propagatedConnectionCount) { $this->propagatedConnectionCount = $propagatedConnectionCount; } /** * @return string */ public function getPropagatedConnectionCount() { return $this->propagatedConnectionCount; } /** * The PSC connection id of the connected endpoint. * * @param string $pscConnectionId */ public function setPscConnectionId($pscConnectionId) { $this->pscConnectionId = $pscConnectionId; } /** * @return string */ public function getPscConnectionId() { return $this->pscConnectionId; } /** * The status of a connected endpoint to this service attachment. * * Accepted values: ACCEPTED, CLOSED, NEEDS_ATTENTION, PENDING, REJECTED, * STATUS_UNSPECIFIED * * @param self::STATUS_* $status */ public function setStatus($status) { $this->status = $status; } /** * @return self::STATUS_* */ public function getStatus() { return $this->status; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(ServiceAttachmentConnectedEndpoint::class, 'Google_Service_Compute_ServiceAttachmentConnectedEndpoint');