'How to assign a spreadsheet with Google Forms API?

Good afternoon, I am using the Google Forms API. I wanted to know if it is possible to edit the link of a google form that refers to the spreadsheet where the results are stored.?

JSON representation

{
  "formId": string,
  "info": {
    object (Info)
  },
  "settings": {
    object (FormSettings)
  },
  "items": [
    {
      object (Item)
    }
  ],
  "revisionId": string,
  "responderUri": string,
  "linkedSheetId": string
}

linkedSheetId -> string

Output only. The ID of the linked Google Sheet which is accumulating responses from this Form (if such a Sheet exists).

Although the linkedSheetId field appears, a link or id of a spreadsheet cannot be assigned



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source