google_api_surveys v0.2.0 GoogleApi.Surveys.V2.Model.Survey View Source
Representation of an individual survey object.
Attributes
- audience (SurveyAudience): Targeting-criteria message containing demographic information Defaults to:
null
. - cost (SurveyCost): Cost to run the survey and collect the necessary number of responses. Defaults to:
null
. - customerData (binary()): Additional information to store on behalf of the API consumer and associate with this question. This binary blob is treated as opaque. This field is limited to 64K bytes. Defaults to:
null
. - description (String.t): Text description of the survey. Defaults to:
null
. - owners ([String.t]): List of email addresses for survey owners. Must contain at least the address of the user making the API call. Defaults to:
null
. - questions ([SurveyQuestion]): List of questions defining the survey. Defaults to:
null
. - rejectionReason (SurveyRejection): Reason for the survey being rejected. Only present if the survey state is rejected. Defaults to:
null
. - state (String.t): State that the survey is in. Defaults to:
null
. - surveyUrlId (String.t): Unique survey ID, that is viewable in the URL of the Survey Creator UI Defaults to:
null
. - title (String.t): Optional name that will be given to the survey. Defaults to:
null
. - wantedResponseCount (integer()): Number of responses desired for the survey. Defaults to:
null
.
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Link to this type
t()
View Source
t()
View Source
t() :: %GoogleApi.Surveys.V2.Model.Survey{
audience: GoogleApi.Surveys.V2.Model.SurveyAudience.t(),
cost: GoogleApi.Surveys.V2.Model.SurveyCost.t(),
customerData: any(),
description: any(),
owners: [any()],
questions: [GoogleApi.Surveys.V2.Model.SurveyQuestion.t()],
rejectionReason: GoogleApi.Surveys.V2.Model.SurveyRejection.t(),
state: any(),
surveyUrlId: any(),
title: any(),
wantedResponseCount: any()
}
t() :: %GoogleApi.Surveys.V2.Model.Survey{ audience: GoogleApi.Surveys.V2.Model.SurveyAudience.t(), cost: GoogleApi.Surveys.V2.Model.SurveyCost.t(), customerData: any(), description: any(), owners: [any()], questions: [GoogleApi.Surveys.V2.Model.SurveyQuestion.t()], rejectionReason: GoogleApi.Surveys.V2.Model.SurveyRejection.t(), state: any(), surveyUrlId: any(), title: any(), wantedResponseCount: any() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.