For this index endpoint, figure out what API Endpoint URL and deployed
index ID should be used to do upserts and queries.
Also sets the apiEndpoint and deployedIndexId property for future use.
determinePublicAPIEndpoint(): Promise<PublicAPIEndpointInfo>