Class: Google::Apis::SurveysV2::SurveyResults
- Inherits:
-
Object
- Object
- Google::Apis::SurveysV2::SurveyResults
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/surveys_v2/classes.rb,
generated/google/apis/surveys_v2/representations.rb,
generated/google/apis/surveys_v2/representations.rb
Overview
Reference to the current results for a given survey.
Instance Attribute Summary collapse
-
#status ⇒ String
Human readable string describing the status of the request.
-
#survey_url_id ⇒ String
External survey ID as viewable by survey owners in the editor view.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurveyResults
constructor
A new instance of SurveyResults.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveyResults
Returns a new instance of SurveyResults
639 640 641 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 639 def initialize(**args) update!(**args) end |
Instance Attribute Details
#status ⇒ String
Human readable string describing the status of the request.
Corresponds to the JSON property status
632 633 634 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 632 def status @status end |
#survey_url_id ⇒ String
External survey ID as viewable by survey owners in the editor view.
Corresponds to the JSON property surveyUrlId
637 638 639 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 637 def survey_url_id @survey_url_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
644 645 646 647 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 644 def update!(**args) @status = args[:status] if args.key?(:status) @survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id) end |