Update Users-Forms.md

This commit is contained in:
Ross Scroggs
2025-06-20 06:34:41 -07:00
parent 39a17bacb1
commit d9795b3f83

View File

@@ -54,6 +54,12 @@ gam <UserTypeEntity> create form
[(csv [todrive <ToDriveAttribute>*]) | returnidonly]
```
When applicable, both `ispublished` and `isacceptingresponses` must be specified;
the valid combinations are:
* `ispublished true isacceptingresponses true`
* `ispublished true isacceptingresponses false`
* `ispublished false isacceptingresponses false`
`<JSONData>` is a list of form update requests.
* See: https://developers.google.com/forms/api/reference/rest/v1/forms/batchUpdate
@@ -83,6 +89,12 @@ gam <UserTypeEntity> update form <DriveFileEntity>
[ispublished [<Boolean>] isacceptingresponses [<Boolean>]]
```
When applicable, both `ispublished` and `isacceptingresponses` must be specified;
the valid combinations are:
* `ispublished true isacceptingresponses true`
* `ispublished true isacceptingresponses false`
* `ispublished false isacceptingresponses false`
`<JSONData>` is a list of form update requests.
* See: https://developers.google.com/forms/api/reference/rest/v1/forms/batchUpdate