connector = $connector; } /** * @return string */ public function getConnector() { return $this->connector; } /** * Optional. Traffic VPC egress settings. If not provided, it defaults to * PRIVATE_RANGES_ONLY. * * Accepted values: VPC_EGRESS_UNSPECIFIED, ALL_TRAFFIC, PRIVATE_RANGES_ONLY * * @param self::EGRESS_* $egress */ public function setEgress($egress) { $this->egress = $egress; } /** * @return self::EGRESS_* */ public function getEgress() { return $this->egress; } /** * Optional. Direct VPC egress settings. Currently only single network * interface is supported. * * @param GoogleCloudRunV2NetworkInterface[] $networkInterfaces */ public function setNetworkInterfaces($networkInterfaces) { $this->networkInterfaces = $networkInterfaces; } /** * @return GoogleCloudRunV2NetworkInterface[] */ public function getNetworkInterfaces() { return $this->networkInterfaces; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudRunV2VpcAccess::class, 'Google_Service_CloudRun_GoogleCloudRunV2VpcAccess');