Class: Google::Apis::SurveysV2::SurveyRejection
- Inherits:
- 
      Object
      
        - Object
- Google::Apis::SurveysV2::SurveyRejection
 
- 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
Message representing why the survey was rejected from review, if it was.
Instance Attribute Summary collapse
- 
  
    
      #explanation  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    A human-readable explanation of what was wrong with the survey. 
- 
  
    
      #type  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    Which category of rejection this was. 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SurveyRejection 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    A new instance of SurveyRejection. 
- 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Update properties of this object. 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SurveyRejection
Returns a new instance of SurveyRejection
| 510 511 512 | # File 'generated/google/apis/surveys_v2/classes.rb', line 510 def initialize(**args) update!(**args) end | 
Instance Attribute Details
#explanation ⇒ String
A human-readable explanation of what was wrong with the survey.
Corresponds to the JSON property explanation
| 502 503 504 | # File 'generated/google/apis/surveys_v2/classes.rb', line 502 def explanation @explanation end | 
#type ⇒ String
Which category of rejection this was. See the  Google Surveys Help Center for
additional details on each category.
Corresponds to the JSON property type
| 508 509 510 | # File 'generated/google/apis/surveys_v2/classes.rb', line 508 def type @type end | 
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
| 515 516 517 518 | # File 'generated/google/apis/surveys_v2/classes.rb', line 515 def update!(**args) @explanation = args[:explanation] if args.key?(:explanation) @type = args[:type] if args.key?(:type) end |