code: func NewInstanceMetadataService(metadataURL string) (*InstanceMetadataService, error) {
  	ims := &InstanceMetadataService{
  		metadataURL: metadataURL,
  	}
  
  	imsCache, err := newTimedcache(metadataCacheTTL, ims.getInstanceMetadata)
  	if err != nil {
  		return nil, err
  	}
  
  	ims.imsCache = imsCache
  	return ims, nil
  }
docs: // NewInstanceMetadataService creates an instance of the InstanceMetadataService accessor object.