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
535 536 537 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 535 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
528 529 530 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 528 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
533 534 535 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 533 def survey_url_id @survey_url_id end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
540 541 542 543 |
# File 'generated/google/apis/surveys_v2/classes.rb', line 540 def update!(**args) @status = args[:status] if args.key?(:status) @survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id) end |