Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Dialogflow] [Reminder] Start using "locations/global" resource location identifier for Dialogflow ES and CX by April 16, 2024 #5151

Open
hffmnn opened this issue Mar 19, 2024 · 4 comments

Comments

@hffmnn
Copy link

hffmnn commented Mar 19, 2024

We got this email from google about the retirement of some regional endpoints/agents:

Hello Google Dialogflow Customer,

We’re writing to remind you that to improve location availability and data residency, we're updating Dialogflow ES and CX endpoints. The us-dialogflow.googleapis.com endpoint and locations/us resource location, which served as aliases for global resources, will be discontinued on April 16, 2024.

Note: Please ignore the details below if you do not use the "location/us" resource location identifier or the us-dialogflow.googleapis.com endpoint for your Dialogflow ES or CX agents.
What do you need to know?

To ensure continued functionality, please follow these steps:

    Change Resource Location: Update all instances of 'locations/us' to 'locations/global'.
    Update Endpoint: Direct your queries to dialogflow.googleapis.com.

If you do not make these changes, you will receive a '400 (invalidargumenterror)' message.
Dialogflow CX Examples

Currently, the same global Dialogflow CX v3 resource is available through the following resource URLs:

    https://dialogflow.googleapis.com/v3/projects/PROJECT/locations/global/agents/AGENT
    https://dialogflow.googleapis.com/v3/projects/PROJECT/locations/us/agents/AGENT
    https://us-dialogflow.googleapis.com/v3/projects/PROJECT/locations/global/agents/AGENT
    https://us-dialogflow.googleapis.com/v3/projects/PROJECT/locations/us/agents/AGENT

Ensure the location retirement doesn't affect your Dialogflow CX agents by using the following URL before April 16, 2024:

    https://dialogflow.googleapis.com/v3/projects/PROJECT/locations/global/agents/AGENT

The change equally applies to Dialogflow CX v3beta1 resources.
Dialogflow ES Examples

Currently, the same global Dialogflow ES v2 resource is available through the following resource URLs:

    https://dialogflow.googleapis.com/v2/projects/PROJECT/locations/global/agents
    https://dialogflow.googleapis.com/v2/projects/PROJECT/locations/us/agents
    https://us-dialogflow.googleapis.com/v2/projects/PROJECT/locations/global/agents
    https://us-dialogflow.googleapis.com/v2/projects/PROJECT/locations/us/agents

Ensure the location retirement doesn't affect your Dialogflow ES agents by using the following URL before April 16, 2024:

    https://dialogflow.googleapis.com/v2/projects/PROJECT/locations/global/agents

The change equally applies to Dialogflow ES v2beta1 resources.
What do you need to do?

    If you are currently using the us-dialogflow.googleapis.com endpoint, you need to replace it with dialogflow.googleapis.com.
    If you are currently using the "locations/us" resource location identifier through endpoints, you will need to replace it with "locations/global".

Alternatively, if you would like to store your data and serve your agent from a region other than global, complete the following steps before April 16, 2024:

...

We are using the @google-cloud/dialogflow package in a rather old version (4.1.0)

My questions are:

  • How to find out which endpoints the Dialogflow SDK is using?
  • Am I correct that, if all our agents are global, we don't have to update anything?

Thanks in advance!

@simonxwhite
Copy link

I'm in exactly the same situation.

@hffmnn Did you manage to figure this out?

@hffmnn
Copy link
Author

hffmnn commented Apr 9, 2024

Hi @simonxwhite

Sorry, no. The only thing we did is updating to the latest version of this package. Fingers crossed that this works out.

@qadirsuh
Copy link

qadirsuh commented May 2, 2024

Any action required on our side? We using

"@google-cloud/dialogflow": "^4.4.0"

Does this affect on our dialogFlow agent?

@harshdushyant
Copy link

Hi I have raised a Thread on Google cloud community pages you guys can also track it here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants