Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ServicesSurveySatisfied

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/searchads360_v23/classes.rb,
lib/google/apis/searchads360_v23/representations.rb,
lib/google/apis/searchads360_v23/representations.rb

Overview

Details about various factors for being satisfied with the lead.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ServicesSurveySatisfied

Returns a new instance of GoogleAdsSearchads360V23ServicesSurveySatisfied.



54860
54861
54862
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54860

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

Instance Attribute Details

#other_reason_commentString

Optional. Provider's free form comments. This field is required when OTHER_SATISFIED_REASON is selected as the reason. Corresponds to the JSON property otherReasonComment

Returns:

  • (String)


54853
54854
54855
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54853

def other_reason_comment
  @other_reason_comment
end

#survey_satisfied_reasonString

Required. Provider's reason for being satisfied with the lead. Corresponds to the JSON property surveySatisfiedReason

Returns:

  • (String)


54858
54859
54860
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54858

def survey_satisfied_reason
  @survey_satisfied_reason
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



54865
54866
54867
54868
# File 'lib/google/apis/searchads360_v23/classes.rb', line 54865

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