Class Form
A Google Forms document. A form is created in Drive, and deleting a form or changing its access protections is done via the Drive API.
Implements
Inherited Members
Namespace: Google.Apis.Forms.v1.Data
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class Form : IDirectResponseSchema
Properties
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FormId
Output only. The form ID.
Declaration
[JsonProperty("formId")]
public virtual string FormId { get; set; }
Property Value
Type | Description |
---|---|
string |
Info
Required. The title and description of the form.
Declaration
[JsonProperty("info")]
public virtual Info Info { get; set; }
Property Value
Type | Description |
---|---|
Info |
Items
Required. A list of the form's items, which can include section headers, questions, embedded media, etc.
Declaration
[JsonProperty("items")]
public virtual IList<Item> Items { get; set; }
Property Value
Type | Description |
---|---|
IList<Item> |
LinkedSheetId
Output only. The ID of the linked Google Sheet which is accumulating responses from this Form (if such a Sheet exists).
Declaration
[JsonProperty("linkedSheetId")]
public virtual string LinkedSheetId { get; set; }
Property Value
Type | Description |
---|---|
string |
ResponderUri
Output only. The form URI to share with responders. This opens a page that allows the user to submit responses but not edit the questions.
Declaration
[JsonProperty("responderUri")]
public virtual string ResponderUri { get; set; }
Property Value
Type | Description |
---|---|
string |
RevisionId
Output only. The revision ID of the form. Used in the WriteControl in update requests to identify the revision on which the changes are based. The format of the revision ID may change over time, so it should be treated opaquely. A returned revision ID is only guaranteed to be valid for 24 hours after it has been returned and cannot be shared across users. If the revision ID is unchanged between calls, then the form has not changed. Conversely, a changed ID (for the same form and user) usually means the form has been updated; however, a changed ID can also be due to internal factors such as ID format changes.
Declaration
[JsonProperty("revisionId")]
public virtual string RevisionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Settings
The form's settings. This must be updated with UpdateSettingsRequest; it is ignored during forms.create
and UpdateFormInfoRequest.
Declaration
[JsonProperty("settings")]
public virtual FormSettings Settings { get; set; }
Property Value
Type | Description |
---|---|
FormSettings |