Class: Google::Apis::AndroidpublisherV2::SubscriptionCancelSurveyResult
- Inherits:
 - 
      Object
      
        
- Object
 - Google::Apis::AndroidpublisherV2::SubscriptionCancelSurveyResult
 
 
- Includes:
 - Core::Hashable, Core::JsonObjectSupport
 
- Defined in:
 - generated/google/apis/androidpublisher_v2/classes.rb,
generated/google/apis/androidpublisher_v2/representations.rb,
generated/google/apis/androidpublisher_v2/representations.rb 
Overview
Information provided by the user when they complete the subscription cancellation flow (cancellation reason survey).
Instance Attribute Summary collapse
- 
  
    
      #cancel_survey_reason  ⇒ Fixnum 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The cancellation reason the user chose in the survey.
 - 
  
    
      #user_input_cancel_reason  ⇒ String 
    
    
  
  
  
  
    
    
  
  
  
  
  
  
    
The customized input cancel reason from the user.
 
Instance Method Summary collapse
- 
  
    
      #initialize(**args)  ⇒ SubscriptionCancelSurveyResult 
    
    
  
  
  
    constructor
  
  
  
  
  
  
  
    
A new instance of SubscriptionCancelSurveyResult.
 - 
  
    
      #update!(**args)  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    
Update properties of this object.
 
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ SubscriptionCancelSurveyResult
Returns a new instance of SubscriptionCancelSurveyResult
      1341 1342 1343  | 
    
      # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1341 def initialize(**args) update!(**args) end  | 
  
Instance Attribute Details
#cancel_survey_reason ⇒ Fixnum
The cancellation reason the user chose in the survey. Possible values are:
- Other
 - I don't use this service enough
 - Technical issues
 - Cost-related reasons
 - I found a better app
Corresponds to the JSON property 
cancelSurveyReason 
      1333 1334 1335  | 
    
      # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1333 def cancel_survey_reason @cancel_survey_reason end  | 
  
#user_input_cancel_reason ⇒ String
The customized input cancel reason from the user. Only present when
cancelReason is 0.
Corresponds to the JSON property userInputCancelReason
      1339 1340 1341  | 
    
      # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1339 def user_input_cancel_reason @user_input_cancel_reason end  | 
  
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
      1346 1347 1348 1349  | 
    
      # File 'generated/google/apis/androidpublisher_v2/classes.rb', line 1346 def update!(**args) @cancel_survey_reason = args[:cancel_survey_reason] if args.key?(:cancel_survey_reason) @user_input_cancel_reason = args[:user_input_cancel_reason] if args.key?(:user_input_cancel_reason) end  |