code: func (g *Cloud) GetRegionAddressByIP(region, ipAddress string) (*compute.Address, error) {
  	ctx, cancel := cloud.ContextWithCallTimeout()
  	defer cancel()
  
  	mc := newAddressMetricContext("list", region)
  	addrs, err := g.c.Addresses().List(ctx, region, filter.Regexp("address", ipAddress))
  
  	mc.Observe(err)
  	if err != nil {
  		return nil, err
  	}
  
  	if len(addrs) > 1 {
  		klog.Warningf("More than one addresses matching the IP %q: %v", ipAddress, addrNames(addrs))
  	}
  	for _, addr := range addrs {
  		if addr.Address == ipAddress {
  			return addr, nil
  		}
  	}
  	return nil, makeGoogleAPINotFoundError(fmt.Sprintf("Address with IP %q was not found in region %q", ipAddress, region))
  }
docs: // GetRegionAddressByIP returns the regional address matching the given IP address.