interfaceIndex = $interfaceIndex; } /** * @deprecated * @return int */ public function getInterfaceIndex() { return $this->interfaceIndex; } /** * List of logical network interfaces within a logical interface. * * @param LogicalNetworkInterface[] $logicalNetworkInterfaces */ public function setLogicalNetworkInterfaces($logicalNetworkInterfaces) { $this->logicalNetworkInterfaces = $logicalNetworkInterfaces; } /** * @return LogicalNetworkInterface[] */ public function getLogicalNetworkInterfaces() { return $this->logicalNetworkInterfaces; } /** * Interface name. This is of syntax or and forms part of the network template * name. * * @param string $name */ public function setName($name) { $this->name = $name; } /** * @return string */ public function getName() { return $this->name; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(GoogleCloudBaremetalsolutionV2LogicalInterface::class, 'Google_Service_Baremetalsolution_GoogleCloudBaremetalsolutionV2LogicalInterface');