Skip to content
This repository was archived by the owner on Jul 20, 2023. It is now read-only.

Commit ce683d3

Browse files
author
Benjamin E. Coe
authored
Merge branch 'master' into synth-change
2 parents 8f1ba9d + 6b4680f commit ce683d3

8 files changed

Lines changed: 8 additions & 8 deletions

samples/predict-custom-trained-model.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ async function main(filename, endpointId, project, location = 'us-central1') {
3636

3737
// Specifies the location of the api endpoint
3838
const clientOptions = {
39-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
39+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4040
};
4141

4242
// Instantiates a client

samples/predict-image-classification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ function main(filename, endpointId, project, location = 'us-central1') {
3939

4040
// Specifies the location of the api endpoint
4141
const clientOptions = {
42-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
42+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4343
};
4444

4545
// Instantiates a client

samples/predict-image-object-detection.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function main(filename, endpointId, project, location = 'us-central1') {
3939

4040
// Specifies the location of the api endpoint
4141
const clientOptions = {
42-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
42+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4343
};
4444

4545
// Instantiates a client

samples/predict-tabular-classification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function main(endpointId, project, location = 'us-central1') {
3939

4040
// Specifies the location of the api endpoint
4141
const clientOptions = {
42-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
42+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4343
};
4444

4545
// Instantiates a client

samples/predict-tabular-regression.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ async function main(endpointId, project, location = 'us-central1') {
3939

4040
// Specifies the location of the api endpoint
4141
const clientOptions = {
42-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
42+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4343
};
4444

4545
// Instantiates a client

samples/predict-text-classification.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function main(text, endpointId, project, location) {
3838

3939
// Specifies the location of the api endpoint
4040
const clientOptions = {
41-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
41+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4242
};
4343

4444
// Instantiates a client

samples/predict-text-entity-extraction.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function main(text, endpointId, project, location = 'us-central1') {
3838

3939
// Specifies the location of the api endpoint
4040
const clientOptions = {
41-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
41+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4242
};
4343

4444
// Instantiates a client

samples/predict-text-sentiment-analysis.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ async function main(text, endpointId, project, location = 'us-central1') {
3838

3939
// Specifies the location of the api endpoint
4040
const clientOptions = {
41-
apiEndpoint: 'us-central1-prediction-aiplatform.googleapis.com',
41+
apiEndpoint: 'us-central1-aiplatform.googleapis.com',
4242
};
4343

4444
// Instantiates a client

0 commit comments

Comments
 (0)