Show / Hide Table of Contents

Class Question

Any question. The specific type of question is known by its kind.

Inheritance
object
Question
Implements
IDirectResponseSchema
Inherited Members
object.Equals(object)
object.Equals(object, object)
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
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

RatingQuestion

A respondent can choose a rating from a pre-defined set of icons.

Declaration
[JsonProperty("ratingQuestion")]
public virtual RatingQuestion RatingQuestion { get; set; }
Property Value
Type Description
RatingQuestion

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

Implements

IDirectResponseSchema
In this article
Back to top Generated by DocFX