如何使用gaction更新帐户关联?

时间:2019-05-26 23:32:55

标签: actions-on-google account-linking

我想使用gactions或https://actions.googleapis.com/v2/更新Google上的帐户关联操作信息。

当我执行动作时,这只会更新动作信息,但清单和帐户链接不会更新。

这是action.json:

{
  "manifest": {
    "displayName": "The MSH",
    "invocationName": "The MSH",
    "shortDescription": "Hub domotico per la gestione della casa",
    "longDescription": "Hub domotico per la gestione della casa e di tutti i dispotivi Wi-Fi",
    "companyName": "MSH",
    "contactEmail": "dsfsd.sdfsf.93@gmail.com",
    "sampleInvocation": [
      "Fammi parlare con the MSH",
      "Voglio parlare con the MSH"
    ],
    "introduction": "Puoi usare questo agent per comunicare con tutti i dispositivi collegati",
    "voiceName": "female_1"
  },
  "accountLinking": {
    "clientId": "sdfsf",
    "clientSecret": "retdrtfer",
    "grantType": "AUTH_CODE",
    "authenticationUrl": "https://sdfs.ngrok.io/oauth",
    "accessTokenUrl": "https://sdfs.ngrok.io/token",
    "assertionTypes": [
      "UNKNOWN_ASSERTION_TYPE"
    ]
  },
  "actions": [{
    "name": "actions.devices",
    "deviceControl": {
    },
    "fulfillment": {
      "conversationName": "automation"
    }
  }],
  "conversations": {
    "automation" :
    {
      "name": "automation",
      "url": "https://asdada.ngrok.io/api/home"
    }
  },
  "locale": "it"
}

0 个答案:

没有答案