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.



32746
32747
32748
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32746

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)


32728
32729
32730
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32728

def locale
  @locale
end

#qualifying_question_idFixnum

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

Returns:

  • (Fixnum)


32733
32734
32735
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32733

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)


32739
32740
32741
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32739

def resource_name
  @resource_name
end

#textString

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

Returns:

  • (String)


32744
32745
32746
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32744

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



32751
32752
32753
32754
32755
32756
# File 'lib/google/apis/searchads360_v23/classes.rb', line 32751

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