ipAddress = $ipAddress; } /** * @return string */ public function getIpAddress() { return $this->ipAddress; } /** * The IPv6 address assigned to the producer instance network interface. This * is only assigned when the stack types of both the instance network * interface and the consumer subnet are IPv4_IPv6. * * @param string $ipv6Address */ public function setIpv6Address($ipv6Address) { $this->ipv6Address = $ipv6Address; } /** * @return string */ public function getIpv6Address() { return $this->ipv6Address; } /** * The project id or number of the interface to which the IP was assigned. * * @param string $projectIdOrNum */ public function setProjectIdOrNum($projectIdOrNum) { $this->projectIdOrNum = $projectIdOrNum; } /** * @return string */ public function getProjectIdOrNum() { return $this->projectIdOrNum; } /** * Alias IP ranges from the same subnetwork. * * @param string[] $secondaryIpCidrRanges */ public function setSecondaryIpCidrRanges($secondaryIpCidrRanges) { $this->secondaryIpCidrRanges = $secondaryIpCidrRanges; } /** * @return string[] */ public function getSecondaryIpCidrRanges() { return $this->secondaryIpCidrRanges; } /** * The service class id of the producer service to which the IP was assigned. * * @param string $serviceClassId */ public function setServiceClassId($serviceClassId) { $this->serviceClassId = $serviceClassId; } /** * @return string */ public function getServiceClassId() { return $this->serviceClassId; } /** * The status of a connected endpoint to this network 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; } /** * The subnetwork used to assign the IP to the producer instance network * interface. * * @param string $subnetwork */ public function setSubnetwork($subnetwork) { $this->subnetwork = $subnetwork; } /** * @return string */ public function getSubnetwork() { return $this->subnetwork; } /** * Output only. [Output Only] The CIDR range of the subnet from which the IPv4 * internal IP was allocated from. * * @param string $subnetworkCidrRange */ public function setSubnetworkCidrRange($subnetworkCidrRange) { $this->subnetworkCidrRange = $subnetworkCidrRange; } /** * @return string */ public function getSubnetworkCidrRange() { return $this->subnetworkCidrRange; } } // Adding a class alias for backwards compatibility with the previous class name. class_alias(NetworkAttachmentConnectedEndpoint::class, 'Google_Service_Compute_NetworkAttachmentConnectedEndpoint');