Skip to content

Commit 10d096a

Browse files
authored
Merge pull request #659 from watson-developer-cloud/update-gateway-url
Update gateway urls [skip ci]
2 parents 3c4ce0b + cffb9ef commit 10d096a

13 files changed

+19
-19
lines changed

Examples/ExampleAssistantV2.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class ExampleAssistantV2 : MonoBehaviour
3434
[Tooltip("The IAM apikey.")]
3535
[SerializeField]
3636
private string iamApikey;
37-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/assistant/api\"")]
37+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.assistant.watson.cloud.ibm.com\"")]
3838
[SerializeField]
3939
private string serviceUrl;
4040
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]

Examples/ExampleDiscoveryV1.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExampleDiscoveryV1 : MonoBehaviour
1515
[Tooltip("The IAM apikey.")]
1616
[SerializeField]
1717
private string iamApikey;
18-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/discovery/api\"")]
18+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.discovery.watson.cloud.ibm.com\"")]
1919
[SerializeField]
2020
private string serviceUrl;
2121
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]
@@ -89,4 +89,4 @@ private IEnumerator ExampleListEnvironments()
8989
while (listEnvironmentsResponse == null)
9090
yield return null;
9191
}
92-
}
92+
}

Examples/ExampleDiscoveryV2.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExampleDiscoveryV2 : MonoBehaviour
1515
[Tooltip("The Bearer Token.")]
1616
[SerializeField]
1717
private string bearerToken;
18-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/discovery/api\"")]
18+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.discovery.watson.cloud.ibm.com\"")]
1919
[SerializeField]
2020
private string serviceUrl;
2121
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]
@@ -81,4 +81,4 @@ private IEnumerator ExampleListCollections()
8181
while (listCollectionsResponse == null)
8282
yield return null;
8383
}
84-
}
84+
}

Examples/ExampleLanguageTranslatorV3.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public class ExampleLanguageTranslatorV3 : MonoBehaviour
1515
[Tooltip("The IAM apikey.")]
1616
[SerializeField]
1717
private string iamApikey;
18-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/discovery/api\"")]
18+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.language-translator.watson.cloud.ibm.com\"")]
1919
[SerializeField]
2020
private string serviceUrl;
2121
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]
@@ -71,4 +71,4 @@ private IEnumerator ExampleListModels()
7171
while (listModelsResponse == null)
7272
yield return null;
7373
}
74-
}
74+
}

Examples/ExampleNaturalLanguageClassifierV1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ExampleNaturalLanguageClassifierV1 : MonoBehaviour
3535
[Tooltip("The IAM apikey.")]
3636
[SerializeField]
3737
private string iamApikey;
38-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/natural-language-understanding/api\"")]
38+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.natural-language-classifier.watson.cloud.ibm.com\"")]
3939
[SerializeField]
4040
private string serviceUrl;
4141
#endregion

Examples/ExampleNaturalLanguageUnderstandingV1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@ public class ExampleNaturalLanguageUnderstandingV1 : MonoBehaviour
3535
[Tooltip("The IAM apikey.")]
3636
[SerializeField]
3737
private string iamApikey;
38-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/natural-language-understanding/api\"")]
38+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.natural-language-understanding.watson.cloud.ibm.com\"")]
3939
[SerializeField]
4040
private string serviceUrl;
4141
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]

Examples/ExampleStreaming.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class ExampleStreaming : MonoBehaviour
3333
{
3434
#region PLEASE SET THESE VARIABLES IN THE INSPECTOR
3535
[Space(10)]
36-
[Tooltip("The service URL (optional). This defaults to \"https://stream.watsonplatform.net/speech-to-text/api\"")]
36+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.speech-to-text.watson.cloud.ibm.com\"")]
3737
[SerializeField]
3838
private string _serviceUrl;
3939
[Tooltip("Text field to display the results of streaming.")]

Examples/ExampleTextToSpeechV1.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public class ExampleTextToSpeechV1 : MonoBehaviour
3636
[Tooltip("The IAM apikey.")]
3737
[SerializeField]
3838
private string iamApikey;
39-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/text-to-speech/api\"")]
39+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.text-to-speech.watson.cloud.ibm.com\"")]
4040
[SerializeField]
4141
private string serviceUrl;
4242
private TextToSpeechService service;

Examples/ExampleTextToSpeechV1.unity

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ MonoBehaviour:
151151
m_Name:
152152
m_EditorClassIdentifier:
153153
iamApikey:
154-
serviceUrl: https://stream.watsonplatform.net/text-to-speech/api
154+
serviceUrl: https://api.us-south.text-to-speech.watson.cloud.ibm.com
155155
textInput: {fileID: 1552819768}
156156
--- !u!224 &275913467
157157
RectTransform:

Examples/ExampleToneAnalyzerV3.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ public class ExampleToneAnalyzerV3 : MonoBehaviour
3434
[Tooltip("The IAM apikey.")]
3535
[SerializeField]
3636
private string iamApikey;
37-
[Tooltip("The service URL (optional). This defaults to \"https://gateway.watsonplatform.net/assistant/api\"")]
37+
[Tooltip("The service URL (optional). This defaults to \"https://api.us-south.tone-analyzer.watson.cloud.ibm.com\"")]
3838
[SerializeField]
3939
private string serviceUrl;
4040
[Tooltip("The version date with which you would like to use the service in the form YYYY-MM-DD.")]

0 commit comments

Comments
 (0)