Class Question
Any question. The specific type of question is known by its kind
.
Implements
Inherited Members
Namespace: Google.Apis.Forms.v1.Data
Assembly: Google.Apis.Forms.v1.dll
Syntax
public class Question : IDirectResponseSchema
Properties
ChoiceQuestion
A respondent can choose from a pre-defined set of options.
Declaration
[JsonProperty("choiceQuestion")]
public virtual ChoiceQuestion ChoiceQuestion { get; set; }
Property Value
Type | Description |
---|---|
ChoiceQuestion |
DateQuestion
A respondent can enter a date.
Declaration
[JsonProperty("dateQuestion")]
public virtual DateQuestion DateQuestion { get; set; }
Property Value
Type | Description |
---|---|
DateQuestion |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
FileUploadQuestion
A respondent can upload one or more files.
Declaration
[JsonProperty("fileUploadQuestion")]
public virtual FileUploadQuestion FileUploadQuestion { get; set; }
Property Value
Type | Description |
---|---|
FileUploadQuestion |
Grading
Grading setup for the question.
Declaration
[JsonProperty("grading")]
public virtual Grading Grading { get; set; }
Property Value
Type | Description |
---|---|
Grading |
QuestionId
Read only. The question ID. On creation, it can be provided but the ID must not be already used in the form. If not provided, a new ID is assigned.
Declaration
[JsonProperty("questionId")]
public virtual string QuestionId { get; set; }
Property Value
Type | Description |
---|---|
string |
Required
Whether the question must be answered in order for a respondent to submit their response.
Declaration
[JsonProperty("required")]
public virtual bool? Required { get; set; }
Property Value
Type | Description |
---|---|
bool? |
RowQuestion
A row of a QuestionGroupItem.
Declaration
[JsonProperty("rowQuestion")]
public virtual RowQuestion RowQuestion { get; set; }
Property Value
Type | Description |
---|---|
RowQuestion |
ScaleQuestion
A respondent can choose a number from a range.
Declaration
[JsonProperty("scaleQuestion")]
public virtual ScaleQuestion ScaleQuestion { get; set; }
Property Value
Type | Description |
---|---|
ScaleQuestion |
TextQuestion
A respondent can enter a free text response.
Declaration
[JsonProperty("textQuestion")]
public virtual TextQuestion TextQuestion { get; set; }
Property Value
Type | Description |
---|---|
TextQuestion |
TimeQuestion
A respondent can enter a time.
Declaration
[JsonProperty("timeQuestion")]
public virtual TimeQuestion TimeQuestion { get; set; }
Property Value
Type | Description |
---|---|
TimeQuestion |