Class FormsResource
The "forms" collection of methods.
Inherited Members
Namespace: Google.Apis.Forms.v1
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class FormsResource
Constructors
FormsResource(IClientService)
Constructs a new resource.
Declaration
public FormsResource(IClientService service)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service |
Properties
Responses
Gets the Responses resource.
Declaration
public virtual FormsResource.ResponsesResource Responses { get; }
Property Value
Type | Description |
---|---|
FormsResource.ResponsesResource |
Watches
Gets the Watches resource.
Declaration
public virtual FormsResource.WatchesResource Watches { get; }
Property Value
Type | Description |
---|---|
FormsResource.WatchesResource |
Methods
BatchUpdate(BatchUpdateFormRequest, string)
Change the form with a batch of updates.
Declaration
public virtual FormsResource.BatchUpdateRequest BatchUpdate(BatchUpdateFormRequest body, string formId)
Parameters
Type | Name | Description |
---|---|---|
BatchUpdateFormRequest | body | The body of the request. |
string | formId | Required. The form ID. |
Returns
Type | Description |
---|---|
FormsResource.BatchUpdateRequest |
Create(Form)
Create a new form using the title given in the provided form message in the request. Important: Only the form.info.title and form.info.document_title fields are copied to the new form. All other fields including the form description, items and settings are disallowed. To create a new form and add items, you must first call forms.create to create an empty form with a title and (optional) document title, and then call forms.update to add the items.
Declaration
public virtual FormsResource.CreateRequest Create(Form body)
Parameters
Type | Name | Description |
---|---|---|
Form | body | The body of the request. |
Returns
Type | Description |
---|---|
FormsResource.CreateRequest |
Get(string)
Get a form.
Declaration
public virtual FormsResource.GetRequest Get(string formId)
Parameters
Type | Name | Description |
---|---|---|
string | formId | Required. The form ID. |
Returns
Type | Description |
---|---|
FormsResource.GetRequest |