feat: Custom Healthcare API endpoint (#1367)

* Add ability to configure Google Cloud Healthcare API endpoint.

* Fixed bug in script.

* Fixed PR remark.

* Set Healthcare API endpoint in proper place.
This commit is contained in:
mukhlin authored and Danny Brown committed 2020-01-14 10:22:53 -05:00
1 parent df612ca4a0
commit a5d6bc6a51
4 files changed
+30 -10

No files matched your search

@@ -15,7 +15,11 @@ class GoogleCloudApi {
}
get urlBase() {
return `https://healthcare.googleapis.com/v1beta1`;
return this.healthcareApiEndpoint || 'https://healthcare.googleapis.com/v1beta1';
}
set urlBase(url) {
this.healthcareApiEndpoint = url;
}
get urlBaseProject() {