【问题标题】:Change the display name of a scheduled query in Google BigQuery在 Google BigQuery 中更改计划查询的显示名称
【发布时间】:2020-01-07 23:00:22
【问题描述】:

我如何编辑预定查询的名称?


【问题讨论】:

    标签: google-cloud-platform google-bigquery


    【解决方案1】:

    通过使用 REST API 方法projects.locations.transferConfigs.patch:

    1. 将name 设置为传输配置的资源名称。转移 配置名称的形式为 projects/{projectId}/locations/{region}/transferConfigs/{configId}。 您可以在计划查询的配置选项卡中找到它 在 Cloud Console 中导航,在 资源名称 旁边。

    2. 将updateMask 设置为displayName。

    3. 在请求正文中设置新的所需名称:

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

      这会将预定查询名称更改为My new scheduled query name;相应地替换此值。

    4. 点击执行并使用您的帐户授权通话。

    【讨论】:

      猜你喜欢
      • 2022-11-23
      • 2020-06-11
      • 1970-01-01
      • 2019-09-08
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2023-02-02
      • 1970-01-01
      相关资源
      最近更新 更多