Class FormsResource.CreateRequest
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.
Inheritance
FormsResource.CreateRequest
Inherited Members
Namespace: Google.Apis.Forms.v1
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class FormsResource.CreateRequest : FormsBaseServiceRequest<Form>, IClientServiceRequest<Form>, IClientServiceRequest
Constructors
CreateRequest(IClientService, Form)
Constructs a new Create request.
Declaration
public CreateRequest(IClientService service, Form body)
Parameters
Type | Name | Description |
---|---|---|
IClientService | service | |
Form | body |
Properties
HttpMethod
Gets the HTTP method.
Declaration
public override string HttpMethod { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Forms.v1.Data.Form>.HttpMethod
MethodName
Gets the method name.
Declaration
public override string MethodName { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Forms.v1.Data.Form>.MethodName
RestPath
Gets the REST path.
Declaration
public override string RestPath { get; }
Property Value
Type | Description |
---|---|
string |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Forms.v1.Data.Form>.RestPath
Methods
GetBody()
Returns the body of the request.
Declaration
protected override object GetBody()
Returns
Type | Description |
---|---|
object |
Overrides
Google.Apis.Requests.ClientServiceRequest<Google.Apis.Forms.v1.Data.Form>.GetBody()
InitParameters()
Initializes Create parameter list.
Declaration
protected override void InitParameters()