Class: Google::Apis::Searchads360V23::GoogleAdsSearchads360V23ResourcesQualifyingQuestion

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

Qualifying Questions for Lead Form.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleAdsSearchads360V23ResourcesQualifyingQuestion

Returns a new instance of GoogleAdsSearchads360V23ResourcesQualifyingQuestion.



32644
32645
32646
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32644

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

Instance Attribute Details

#localeString

Output only. The locale of the qualifying question. Corresponds to the JSON property locale

Returns:

  • (String)


32626
32627
32628
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32626

def locale
  @locale
end

#qualifying_question_idFixnum

Output only. The id of the qualifying question. Corresponds to the JSON property qualifyingQuestionId

Returns:

  • (Fixnum)


32631
32632
32633
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32631

def qualifying_question_id
  @qualifying_question_id
end

#resource_nameString

Output only. The resource name of the qualifying question. ' qualifyingQuestions/qualifyingQuestionId' Corresponds to the JSON property resourceName

Returns:

  • (String)


32637
32638
32639
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32637

def resource_name
  @resource_name
end

#textString

Output only. The qualifying question. Corresponds to the JSON property text

Returns:

  • (String)


32642
32643
32644
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32642

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32649
32650
32651
32652
32653
32654
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32649

def update!(**args)
  @locale = args[:locale] if args.key?(:locale)
  @qualifying_question_id = args[:qualifying_question_id] if args.key?(:qualifying_question_id)
  @resource_name = args[:resource_name] if args.key?(:resource_name)
  @text = args[:text] if args.key?(:text)
end