Change the display name of a scheduled query in Google BigQuery

3.8k Views Asked by At

How can I edit names of scheduled queries?


enter image description here

1

There are 1 best solutions below

0
On BEST ANSWER

By using the REST API method projects.locations.transferConfigs.patch:

  1. Set name to the resource name of the transfer config. Transfer config names have the form of projects/{projectId}/locations/{region}/transferConfigs/{configId}. You can find it at the Configuration tab of the Scheduled query when navigating through the Cloud Console, next to Resource name.

  2. Set updateMask to displayName.

  3. In the Request body set the newly desired name with:

    {
      "displayName": "My new scheduled query name"
    } 
    

    This will change the scheduled query name to My new scheduled query name; replace this value accordingly.

  4. Click Execute and authorize the call with your account.