Class: Google::Apis::ConsumersurveysV2::SurveyRejection
- Inherits:
-
Object
- Object
- Google::Apis::ConsumersurveysV2::SurveyRejection
- 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
-
#explanation ⇒ String
Corresponds to the JSON property
explanation
. -
#type ⇒ String
Corresponds to the JSON property
type
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ SurveyRejection
constructor
A new instance of SurveyRejection.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Google::Apis::Core::JsonObjectSupport
Methods included from Google::Apis::Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveyRejection
Returns a new instance of SurveyRejection
556 557 558 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 556 def initialize(**args) update!(**args) end |
Instance Attribute Details
#explanation ⇒ String
Corresponds to the JSON property explanation
549 550 551 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 549 def explanation @explanation end |
#type ⇒ String
Corresponds to the JSON property type
554 555 556 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 554 def type @type end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
561 562 563 564 |
# File 'generated/google/apis/consumersurveys_v2/classes.rb', line 561 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @type = args[:type] if args.key?(:type) end |