Skip to content
This repository was archived by the owner on Dec 11, 2022. It is now read-only.

Commit ff60e26

Browse files
authored
Add missing locations
Merge pull request #358 from doitintl/OfirCohen/locations
2 parents bf6c8a4 + 925d8fa commit ff60e26

File tree

3 files changed

+30
-12
lines changed

3 files changed

+30
-12
lines changed

src/config_ctrl.ts

Lines changed: 16 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -48,28 +48,38 @@ export class BigQueryConfigCtrl {
4848
{ key: 'gce', value: 'GCE Default Service Account' },
4949
];
5050
this.locations = [
51+
// Multi-regional locations
5152
{ text: 'United States (US)', value: 'US' },
5253
{ text: 'European Union (EU)', value: 'EU' },
54+
{ text: 'Oregon (us-west1)', value: 'us-west1' },
5355
{ text: 'Los Angeles (us-west2)', value: 'us-west2' },
56+
{ text: 'Salt Lake City (us-west3)', value: 'us-west3' },
57+
{ text: 'Las Vegas (us-west4)', value: 'us-west4' },
58+
{ text: 'Iowa (us-central1)', value: 'us-central1' },
59+
{ text: 'South Carolina (us-east1)', value: 'us-east1' },
60+
{ text: 'Northern Virginia (us-east4)', value: 'us-east4' },
5461
{
5562
text: 'Montréal (northamerica-northeast1)',
5663
value: 'northamerica-northeast1',
5764
},
58-
{ text: 'South Carolina (us-east1)', value: 'us-east1' },
59-
{ text: 'Northern Virginia (us-east4)', value: 'us-east4' },
6065
{ text: 'São Paulo (southamerica-east1)', value: 'southamerica-east1' },
66+
// Europe
67+
{ text: 'Belgium (europe-west1)', value: 'europe-west1' },
6168
{ text: 'Finland (europe-north1)', value: 'europe-north1' },
62-
{ text: 'London (europe-west2)', value: 'europe-west2' },
6369
{ text: 'Frankfurt (europe-west3)', value: 'europe-west3' },
70+
{ text: 'London (europe-west2)', value: 'europe-west2' },
71+
{ text: 'Netherlands (europe-west4)', value: 'europe-west4' },
6472
{ text: 'Zürich (europe-west6)', value: 'europe-west6' },
73+
// Asia Pacific
6574
{ text: 'Hong Kong (asia-east2)', value: 'asia-east2' },
75+
{ text: 'Jakarta (asia-southeast2)', value: 'asia-southeast2' },
6676
{ text: 'Mumbai (asia-south1)', value: 'asia-south1' },
6777
{ text: 'Osaka (asia-northeast2)', value: 'asia-northeast2' },
68-
{ text: 'Taiwan (asia-east1)', value: 'asia-east1' },
69-
{ text: 'Tokyo (asia-northeast1)', value: 'asia-northeast1' },
78+
{ text: 'Seoul (asia-northeast3)', value: 'asia-northeast3' },
7079
{ text: 'Singapore (asia-southeast1)', value: 'asia-southeast1' },
7180
{ text: 'Sydney (australia-southeast1)', value: 'australia-southeast1' },
72-
{ text: 'Seoul (asia-northeast3)', value: 'asia-northeast3' },
81+
{ text: 'Taiwan (asia-east1)', value: 'asia-east1' },
82+
{ text: 'Tokyo (asia-northeast1)', value: 'asia-northeast1' },
7383
];
7484
this.queryPriority = [
7585
{ text: 'INTERACTIVE', value: 'INTERACTIVE' },

src/partials/query.editor.html

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,21 +168,28 @@
168168
<datalist id="locationList">
169169
<option value=US>United States (US)</option>
170170
<option value=EU>European Union (EU)</option>
171+
<option value=us-west1>Oregon (us-west1)</option>
171172
<option value=us-west2>Los Angeles (us-west2)</option>
172-
<option value=northamerica-northeast1>Montréal (northamerica-northeast1)</option>
173+
<option value=us-west3>Salt Lake City (us-west3)</option>
174+
<option value=us-west4>Las Vegas (us-west4)</option>
175+
<option value=us-central1>Iowa (us-central1)</option>
173176
<option value=us-east1>South Carolina (us-east1)</option>
174177
<option value=us-east4>Northern Virginia (us-east4)</option>
178+
<option value=northamerica-northeast1>Montréal (northamerica-northeast1)</option>
175179
<option value=southamerica-east1>São Paulo (southamerica-east1)</option>
176180
<option value=europe-north1>Finland (europe-north1)</option>
181+
<option value=europe-west1>Belgium (europe-west1)</option>
177182
<option value=europe-west2>London (europe-west2)</option>
178183
<option value=europe-west3>Frankfurt (europe-west3)</option>
184+
<option value=europe-west4>Netherlands (europe-west4)</option>
179185
<option value=europe-west6>Zürich (europe-west6)</option>
180186
<option value=asia-east2>Hong Kong (asia-east2)</option>
181187
<option value=asia-south1>Mumbai (asia-south1)</option>
182188
<option value=asia-northeast2>Osaka (asia-northeast2)</option>
183189
<option value=asia-east1>Taiwan (asia-east1)</option>
184190
<option value=asia-northeast1>Tokyo (asia-northeast1)</option>
185191
<option value=asia-southeast1>Singapore (asia-southeast1)</option>
192+
<option value=asia-southeast2>Jakarta (asia-southeast2)</option>
186193
<option value=australia-southeast1>Sydney (australia-southeast1)</option>
187194
<option value=asia-northeast3>Seoul (asia-northeast3)</option>
188195
</datalist>

src/query_ctrl.ts

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@ export class BigQueryQueryCtrl extends QueryCtrl {
6464
{ text: 'United States (US)', value: 'US' },
6565
{ text: 'European Union (EU)', value: 'EU' },
6666
// Americas
67-
{ text: 'Las Vegas (us-west4)', value: 'us-west4' },
68-
{ text: 'Los Angeles (us-west2)', value: 'us-west2' },
69-
{ text: 'Montréal (northamerica-northeast1)', value: 'northamerica-northeast1' },
70-
{ text: 'Northern Virginia (us-east4)', value: 'us-east4' },
7167
{ text: 'Oregon (us-west1)', value: 'us-west1' },
68+
{ text: 'Los Angeles (us-west2)', value: 'us-west2' },
7269
{ text: 'Salt Lake City (us-west3)', value: 'us-west3' },
73-
{ text: 'São Paulo (southamerica-east1)', value: 'southamerica-east1' },
70+
{ text: 'Las Vegas (us-west4)', value: 'us-west4' },
71+
{ text: 'Iowa (us-central1)', value: 'us-central1' },
7472
{ text: 'South Carolina (us-east1)', value: 'us-east1' },
73+
{ text: 'Northern Virginia (us-east4)', value: 'us-east4' },
74+
{ text: 'Montréal (northamerica-northeast1)', value: 'northamerica-northeast1' },
75+
{ text: 'São Paulo (southamerica-east1)', value: 'southamerica-east1' },
7576
// Europe
7677
{ text: 'Belgium (europe-west1)', value: 'europe-west1' },
7778
{ text: 'Finland (europe-north1)', value: 'europe-north1' },

0 commit comments

Comments
 (0)