google_api_surveys v0.3.0 GoogleApi.Surveys.V2.Model.Survey View Source
Representation of an individual survey object.
Attributes
audience
(type:GoogleApi.Surveys.V2.Model.SurveyAudience.t
, default:nil
) - Targeting-criteria message containing demographic informationcost
(type:GoogleApi.Surveys.V2.Model.SurveyCost.t
, default:nil
) - Cost to run the survey and collect the necessary number of responses.customerData
(type:String.t
, default:nil
) - 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.description
(type:String.t
, default:nil
) - Text description of the survey.owners
(type:list(String.t)
, default:nil
) - List of email addresses for survey owners. Must contain at least the address of the user making the API call.questions
(type:list(GoogleApi.Surveys.V2.Model.SurveyQuestion.t)
, default:nil
) - List of questions defining the survey.rejectionReason
(type:GoogleApi.Surveys.V2.Model.SurveyRejection.t
, default:nil
) - Reason for the survey being rejected. Only present if the survey state is rejected.state
(type:String.t
, default:nil
) - State that the survey is in.surveyUrlId
(type:String.t
, default:nil
) - Unique survey ID, that is viewable in the URL of the Survey Creator UItitle
(type:String.t
, default:nil
) - Optional name that will be given to the survey.wantedResponseCount
(type:integer()
, default:nil
) - Number of responses desired for the survey.
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: String.t(),
description: String.t(),
owners: [String.t()],
questions: [GoogleApi.Surveys.V2.Model.SurveyQuestion.t()],
rejectionReason: GoogleApi.Surveys.V2.Model.SurveyRejection.t(),
state: String.t(),
surveyUrlId: String.t(),
title: String.t(),
wantedResponseCount: integer()
}
t() :: %GoogleApi.Surveys.V2.Model.Survey{ audience: GoogleApi.Surveys.V2.Model.SurveyAudience.t(), cost: GoogleApi.Surveys.V2.Model.SurveyCost.t(), customerData: String.t(), description: String.t(), owners: [String.t()], questions: [GoogleApi.Surveys.V2.Model.SurveyQuestion.t()], rejectionReason: GoogleApi.Surveys.V2.Model.SurveyRejection.t(), state: String.t(), surveyUrlId: String.t(), title: String.t(), wantedResponseCount: integer() }
Link to this section Functions
Link to this function
decode(value, options) View Source
Unwrap a decoded JSON object into its complex fields.