network = $network; } /** * @return string */ public function getNetwork() { return $this->network; } /** * Output only. The name of the VPC Network Peering connection that was * created by the service producer. * * @param string $peering */ public function setPeering($peering) { $this->peering = $peering; } /** * @return string */ public function getPeering() { return $this->peering; } /** * The name of one or more allocated IP address ranges for this service * producer of type `PEERING`. Note that invoking CreateConnection method with * a different range when connection is already established will not modify * already provisioned service producer subnetworks. If CreateConnection * method is invoked repeatedly to reconnect when peering connection had been * disconnected on the consumer side, leaving this field empty will restore * previously allocated IP ranges. * * @param string[] $reservedPeeringRanges */ public function setReservedPeeringRanges($reservedPeeringRanges) { $this->reservedPeeringRanges = $reservedPeeringRanges; } /** * @return string[] */ public function getReservedPeeringRanges() { return $this->reservedPeeringRanges; } /** * Output only. The name of the peering service that's associated with this * connection, in the following format: `services/{service name}`. * * @param string $service */ public function setService($service) { $this->service = $service; } /** * @return string */ public function getService() { return $this->service; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(Connection::class, 'Google_Service_ServiceNetworking_Connection');