code: func (lb *loadBalancer) getPublicIPAddress(loadBalancerIP string) error {
  	klog.V(4).Infof("Retrieve load balancer IP details: %v", loadBalancerIP)
  
  	p := lb.Address.NewListPublicIpAddressesParams()
  	p.SetIpaddress(loadBalancerIP)
  	p.SetListall(true)
  
  	if lb.projectID != "" {
  		p.SetProjectid(lb.projectID)
  	}
  
  	l, err := lb.Address.ListPublicIpAddresses(p)
  	if err != nil {
  		return fmt.Errorf("error retrieving IP address: %v", err)
  	}
  
  	if l.Count != 1 {
  		return fmt.Errorf("could not find IP address %v", loadBalancerIP)
  	}
  
  	lb.ipAddr = l.PublicIpAddresses[0].Ipaddress
  	lb.ipAddrID = l.PublicIpAddresses[0].Id
  
  	return nil
  }
docs: // getPublicIPAddressID retrieves the ID of the given IP, and sets the address and it's ID.