Class: Google::Apis::ConsumersurveysV2::SurveyResults

Inherits:
Object
  • Object
show all
Includes:
Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
Defined in:
generated/google/apis/consumersurveys_v2/classes.rb,
generated/google/apis/consumersurveys_v2/representations.rb,
generated/google/apis/consumersurveys_v2/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Google::Apis::Core::JsonObjectSupport

#to_json

Methods included from Google::Apis::Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ SurveyResults

Returns a new instance of SurveyResults



581
582
583
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 581

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#statusString

Corresponds to the JSON property status

Returns:

  • (String)


574
575
576
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 574

def status
  @status
end

#survey_url_idString

Corresponds to the JSON property surveyUrlId

Returns:

  • (String)


579
580
581
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 579

def survey_url_id
  @survey_url_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



586
587
588
589
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 586

def update!(**args)
  @status = args[:status] if args.key?(:status)
  @survey_url_id = args[:survey_url_id] if args.key?(:survey_url_id)
end