Как я могу обновить привязку аккаунта к группам? - PullRequest
0 голосов
/ 27 мая 2019

Я хочу обновить информацию об аккаунте, связывающую действие в Google, с gactions или https://actions.googleapis.com/v2/.

Когда я выполняю gaction, это только обновляет информацию о действии, но манифест и связь с аккаунтом не обновляются.

Это 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"
}
...